Lines Matching refs:devfd
130 static int use_pread(void *devfd, off_t loc, void **bufp, int size);
131 static int use_pwrite(void *devfd, off_t loc, void *buf, int size);
138 sbget(int devfd, struct fs **fsp, off_t sblockloc) in sbget() argument
141 return (ffs_sbget(&devfd, fsp, sblockloc, "user", use_pread)); in sbget()
148 use_pread(void *devfd, off_t loc, void **bufp, int size) in use_pread() argument
152 fd = *(int *)devfd; in use_pread()
169 sbput(int devfd, struct fs *fs, int numaltwrite) in sbput() argument
175 if ((error = ffs_sbput(&devfd, fs, fs->fs_sblockactualloc, in sbput()
185 if ((error = ffs_sbput(&devfd, fs, fs->fs_sblockactualloc, in sbput()
201 use_pwrite(void *devfd, off_t loc, void *buf, int size) in use_pwrite() argument
205 fd = *(int *)devfd; in use_pwrite()