| /freebsd-13.1/stand/userboot/userboot/ |
| H A D | host.c | 54 return (CALLBACK(open, upath, &f->f_fsdata)); in host_open() 61 CALLBACK(close, f->f_fsdata); in host_close() 62 f->f_fsdata = (void *)0; in host_close() 74 return (CALLBACK(read, f->f_fsdata, start, size, resid)); in host_read() 81 return (CALLBACK(seek, f->f_fsdata, offset, where)); in host_seek() 88 CALLBACK(stat, f->f_fsdata, sb); in host_stat() 100 rc = CALLBACK(readdir, f->f_fsdata, &fileno, &type, &namelen, in host_readdir()
|
| /freebsd-13.1/stand/libsa/ |
| H A D | bzipfs.c | 42 void *f_fsdata; /* file system specific data */ member 214 f->f_fsdata = bzf; in bzf_open() 221 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_close() 232 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_read() 268 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_rewind() 304 f->f_fsdata = bzf_tmp; in bzf_rewind() 312 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_seek() 335 bzf = (struct bz_file *)f->f_fsdata; in bzf_seek() 354 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_stat()
|
| H A D | ufs.c | 169 struct file *fp = (struct file *)f->f_fsdata; in read_inode() 225 struct file *fp = (struct file *)f->f_fsdata; in block_map() 327 struct file *fp = (struct file *)f->f_fsdata; in buf_write_file() 402 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 461 struct file *fp = (struct file *)f->f_fsdata; in search_directory() 526 f->f_fsdata = (void *)fp; in ufs_open() 548 sfp = sbf->f_fsdata; in ufs_open() 737 struct file *fp = (struct file *)f->f_fsdata; in ufs_close() 741 f->f_fsdata = NULL; in ufs_close() 773 struct file *fp = (struct file *)f->f_fsdata; in ufs_read() [all …]
|
| H A D | gzipfs.c | 223 f->f_fsdata = zf; in zf_open() 230 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_close() 241 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_read() 277 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_rewind() 292 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_seek() 330 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_stat()
|
| H A D | splitfs.c | 176 f->f_fsdata = sf; in splitfs_open() 186 sf = (struct split_file *)f->f_fsdata; in splitfs_close() 199 sf = (struct split_file *)f->f_fsdata; in splitfs_read() 242 sf = (struct split_file *)f->f_fsdata; in splitfs_seek() 307 struct split_file *sf = (struct split_file *)f->f_fsdata; in splitfs_stat()
|
| H A D | ext2fs.c | 351 f->f_fsdata = (void *)fp; in ext2fs_open() 560 struct file *fp = (struct file *)f->f_fsdata; in read_inode() 602 struct file *fp = (struct file *)f->f_fsdata; in block_map() 702 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 760 struct file *fp = (struct file *)f->f_fsdata; in search_directory() 796 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_close() 799 f->f_fsdata = (void *)0; in ext2fs_close() 819 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_read() 850 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_seek() 872 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_stat() [all …]
|
| H A D | cd9660.c | 462 f->f_fsdata = (void *)fp; in cd9660_open() 505 struct file *fp = (struct file *)f->f_fsdata; in cd9660_close() 507 f->f_fsdata = NULL; in cd9660_close() 516 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 551 struct file *fp = (struct file *)f->f_fsdata; in cd9660_read() 580 struct file *fp = (struct file *)f->f_fsdata; in cd9660_readdir() 645 struct file *fp = (struct file *)f->f_fsdata; in cd9660_seek() 666 struct file *fp = (struct file *)f->f_fsdata; in cd9660_stat()
|
| H A D | pkgfs.c | 236 f->f_fsdata = NULL; in pkg_open_follow() 243 f->f_fsdata = tf; in pkg_open_follow() 274 tf = (struct tarfile *)f->f_fsdata; in pkg_close() 296 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 | tftp.c | 500 f->f_fsdata = tftpfile; in tftp_open() 515 tftpfile = f->f_fsdata; in tftp_read() 608 tftpfile = f->f_fsdata; in tftp_close() 627 tftpfile = f->f_fsdata; in tftp_stat() 641 tftpfile = f->f_fsdata; in tftp_seek() 667 tftpfile = f->f_fsdata; in tftp_preload()
|
| 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 | dosfs.c | 258 df = f->f_fsdata; in dos_mount() 360 fd->f_fsdata = f; in dos_open() 372 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_read() 432 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_seek() 465 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_close() 480 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_stat()
|
| H A D | stand.h | 184 void *f_fsdata; /* file system specific data */ member
|
| /freebsd-13.1/stand/efi/libefi/ |
| H A D | efihttp.c | 413 f->f_fsdata = fh; in _efihttp_fs_open() 616 fh = (struct file_efihttp *)f->f_fsdata; in _efihttp_fs_read() 708 fh = (struct file_efihttp *)f->f_fsdata; in efihttp_fs_seek() 752 fh = (struct file_efihttp *)f->f_fsdata; in efihttp_fs_stat() 768 fh = (struct file_efihttp *)f->f_fsdata; in efihttp_fs_readdir()
|
| /freebsd-13.1/stand/libsa/zfs/ |
| H A D | zfs.c | 122 f->f_fsdata = fp; in zfs_open() 127 f->f_fsdata = NULL; in zfs_open() 136 struct file *fp = (struct file *)f->f_fsdata; in zfs_close() 139 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() 217 struct file *fp = (struct file *)f->f_fsdata; in zfs_stat() 226 struct file *fp = (struct file *)f->f_fsdata; in zfs_readdir()
|