| /freebsd/stand/userboot/userboot/ |
| H A D | host.c | 51 return (CALLBACK(open, upath, &f->f_fsdata)); in host_open() 58 CALLBACK(close, f->f_fsdata); in host_close() 59 f->f_fsdata = (void *)0; in host_close() 71 return (CALLBACK(read, f->f_fsdata, start, size, resid)); in host_read() 78 return (CALLBACK(seek, f->f_fsdata, offset, where)); in host_seek() 85 CALLBACK(stat, f->f_fsdata, sb); in host_stat() 97 rc = CALLBACK(readdir, f->f_fsdata, &fileno, &type, &namelen, in host_readdir()
|
| /freebsd/stand/libsa/ |
| H A D | bzipfs.c | 39 void *f_fsdata; /* file system specific data */ member 212 f->f_fsdata = bzf; in bzf_open() 219 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_close() 230 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_read() 266 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_rewind() 302 f->f_fsdata = bzf_tmp; in bzf_rewind() 310 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_seek() 333 bzf = (struct bz_file *)f->f_fsdata; in bzf_seek() 352 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_stat()
|
| H A D | ufs.c | 161 struct file *fp = (struct file *)f->f_fsdata; in read_inode() 217 struct file *fp = (struct file *)f->f_fsdata; in block_map() 319 struct file *fp = (struct file *)f->f_fsdata; in buf_write_file() 394 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 453 struct file *fp = (struct file *)f->f_fsdata; in search_directory() 518 f->f_fsdata = (void *)fp; in ufs_open() 540 sfp = sbf->f_fsdata; in ufs_open() 726 struct file *fp = (struct file *)f->f_fsdata; in ufs_close() 730 f->f_fsdata = NULL; in ufs_close() 762 struct file *fp = (struct file *)f->f_fsdata; in ufs_read() [all …]
|
| H A D | gzipfs.c | 221 f->f_fsdata = zf; in zf_open() 228 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_close() 239 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_read() 275 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_rewind() 290 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_seek() 328 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_stat()
|
| H A D | splitfs.c | 174 f->f_fsdata = sf; in splitfs_open() 184 sf = (struct split_file *)f->f_fsdata; in splitfs_close() 197 sf = (struct split_file *)f->f_fsdata; in splitfs_read() 240 sf = (struct split_file *)f->f_fsdata; in splitfs_seek() 305 struct split_file *sf = (struct split_file *)f->f_fsdata; in splitfs_stat()
|
| H A D | ext2fs.c | 349 f->f_fsdata = (void *)fp; in ext2fs_open() 558 struct file *fp = (struct file *)f->f_fsdata; in read_inode() 600 struct file *fp = (struct file *)f->f_fsdata; in block_map() 700 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 758 struct file *fp = (struct file *)f->f_fsdata; in search_directory() 794 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_close() 800 f->f_fsdata = NULL; in ext2fs_close() 818 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_read() 849 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_seek() 871 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_stat() [all …]
|
| H A D | cd9660.c | 460 f->f_fsdata = (void *)fp; in cd9660_open() 503 struct file *fp = (struct file *)f->f_fsdata; in cd9660_close() 505 f->f_fsdata = NULL; in cd9660_close() 514 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 549 struct file *fp = (struct file *)f->f_fsdata; in cd9660_read() 578 struct file *fp = (struct file *)f->f_fsdata; in cd9660_readdir() 643 struct file *fp = (struct file *)f->f_fsdata; in cd9660_seek() 664 struct file *fp = (struct file *)f->f_fsdata; in cd9660_stat()
|
| H A D | pkgfs.c | 231 f->f_fsdata = NULL; in pkg_open_follow() 238 f->f_fsdata = tf; in pkg_open_follow() 269 tf = (struct tarfile *)f->f_fsdata; in pkg_close() 292 tf = (struct tarfile *)f->f_fsdata; in pkg_read() 353 tf = (struct tarfile *)f->f_fsdata; in pkg_seek() 407 tf = (struct tarfile *)f->f_fsdata; in pkg_stat() 429 tf = (struct tarfile *)f->f_fsdata; in pkg_readdir()
|
| H A D | nfs.c | 643 f->f_fsdata = (void *)currfd; in nfs_open() 660 struct nfs_iodesc *fp = (struct nfs_iodesc *)f->f_fsdata; in nfs_close() 668 f->f_fsdata = NULL; in nfs_close() 679 struct nfs_iodesc *fp = (struct nfs_iodesc *)f->f_fsdata; in nfs_read() 720 struct nfs_iodesc *d = (struct nfs_iodesc *)f->f_fsdata; in nfs_seek() 748 struct nfs_iodesc *fp = (struct nfs_iodesc *)f->f_fsdata; in nfs_stat() 767 struct nfs_iodesc *fp = (struct nfs_iodesc *)f->f_fsdata; in nfs_readdir()
|
| H A D | tftp.c | 550 f->f_fsdata = tftpfile; in tftp_open() 564 tftpfile = f->f_fsdata; in tftp_read() 653 tftpfile = f->f_fsdata; in tftp_close() 675 tftpfile = f->f_fsdata; in tftp_stat() 712 tftpfile = f->f_fsdata; in tftp_seek() 738 tftpfile = f->f_fsdata; in tftp_preload()
|
| H A D | dosfs.c | 295 df = f->f_fsdata; in dos_mount() 398 fd->f_fsdata = f; in dos_open() 412 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_read() 476 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_seek() 509 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_close() 524 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_stat()
|
| H A D | stand.h | 205 void *f_fsdata; /* file system specific data */ member
|
| /freebsd/stand/kboot/kboot/ |
| H A D | hostfs.c | 92 f->f_fsdata = hf; in hostfs_open() 99 hostfs_file *hf = f->f_fsdata; in hostfs_close() 103 f->f_fsdata = NULL; in hostfs_close() 111 hostfs_file *hf = f->f_fsdata; in hostfs_read() 125 hostfs_file *hf = f->f_fsdata; in hostfs_seek() 156 hostfs_file *hf = f->f_fsdata; in hostfs_stat() 192 hostfs_file *hf = f->f_fsdata; in hostfs_readdir()
|
| /freebsd/stand/efi/libefi/ |
| H A D | efihttp.c | 407 f->f_fsdata = fh; in _efihttp_fs_open() 612 fh = (struct file_efihttp *)f->f_fsdata; in _efihttp_fs_read() 704 fh = (struct file_efihttp *)f->f_fsdata; in efihttp_fs_seek() 748 fh = (struct file_efihttp *)f->f_fsdata; in efihttp_fs_stat() 764 fh = (struct file_efihttp *)f->f_fsdata; in efihttp_fs_readdir()
|
| /freebsd/stand/libsa/zfs/ |
| H A D | zfs.c | 121 f->f_fsdata = fp; in zfs_open() 126 f->f_fsdata = NULL; in zfs_open() 135 struct file *fp = (struct file *)f->f_fsdata; in zfs_close() 138 f->f_fsdata = NULL; in zfs_close() 153 struct file *fp = (struct file *)f->f_fsdata; in zfs_read() 184 struct file *fp = (struct file *)f->f_fsdata; in zfs_seek() 218 struct file *fp = (struct file *)f->f_fsdata; in zfs_stat() 228 struct file *fp = (struct file *)f->f_fsdata; in zfs_readdir()
|