Lines Matching defs:rf
42 struct riscosfile *rf;
46 rf = (struct riscosfile *) alloc(sizeof(*rf));
47 if (!rf)
66 osfind_ERROR_IF_ABSENT, path, NULL, &rf->file);
68 dealloc(rf, sizeof(*rf));
71 f->f_fsdata = rf;
79 struct riscosfile *rf;
83 rf = f->f_fsdata;
85 error = xosfind_close(rf->file);
88 dealloc(rf, sizeof(*rf));
96 struct riscosfile *rf;
100 rf = f->f_fsdata;
105 error = xosgbpb_read(rf->file, buf, size, &resid);
116 struct riscosfile *rf;
120 rf = f->f_fsdata;
125 error = xosgbpb_write(rf->file, buf, size, &resid);
136 struct riscosfile *rf;
140 rf = f->f_fsdata;
142 error = xosargs_read_ext(rf->file, &extent);
158 struct riscosfile *rf;
162 rf = f->f_fsdata;
169 error = xosargs_read_ptr(rf->file, &base);
174 error = xosargs_read_ext(rf->file, &base);
183 error = xosargs_set_ptr(rf->file, offset);
186 error = xosargs_read_ptr(rf->file, &result);