Lines Matching refs:devfd
178 static int use_pread(void *devfd, off_t loc, void **bufp, int size);
179 static int use_pwrite(void *devfd, off_t loc, void *buf, int size);
196 sbget(int devfd, struct fs **fsp, off_t sblockloc, int flags) in sbget() argument
200 error = ffs_sbget(&devfd, fsp, sblockloc, flags, "user", use_pread); in sbget()
212 sbsearch(int devfd, struct fs **fsp, int flags) in sbsearch() argument
216 error = ffs_sbsearch(&devfd, fsp, flags, "user", use_pread); in sbsearch()
225 use_pread(void *devfd, off_t loc, void **bufp, int size) in use_pread() argument
229 fd = *(int *)devfd; in use_pread()
247 sbput(int devfd, struct fs *fs, int numaltwrite) in sbput() argument
253 error = ffs_sbput(&devfd, fs, fs->fs_sblockactualloc, use_pwrite); in sbput()
264 if ((error = ffs_sbput(&devfd, fs, fs->fs_sblockactualloc, in sbput()
283 use_pwrite(void *devfd, off_t loc, void *buf, int size) in use_pwrite() argument
287 fd = *(int *)devfd; in use_pwrite()