/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 211 f->f_fsdata = bzf; in bzf_open() 218 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_close() 229 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_read() 265 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_rewind() 301 f->f_fsdata = bzf_tmp; in bzf_rewind() 309 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_seek() 332 bzf = (struct bz_file *)f->f_fsdata; in bzf_seek() 351 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_stat()
|
H A D | ufs.c | 163 struct file *fp = (struct file *)f->f_fsdata; in read_inode() 219 struct file *fp = (struct file *)f->f_fsdata; in block_map() 321 struct file *fp = (struct file *)f->f_fsdata; in buf_write_file() 396 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 455 struct file *fp = (struct file *)f->f_fsdata; in search_directory() 520 f->f_fsdata = (void *)fp; in ufs_open() 542 sfp = sbf->f_fsdata; in ufs_open() 728 struct file *fp = (struct file *)f->f_fsdata; in ufs_close() 732 f->f_fsdata = NULL; in ufs_close() 764 struct file *fp = (struct file *)f->f_fsdata; in ufs_read() [all …]
|
H A D | gzipfs.c | 220 f->f_fsdata = zf; in zf_open() 227 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_close() 238 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_read() 274 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_rewind() 289 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_seek() 327 struct z_file *zf = (struct z_file *)f->f_fsdata; in zf_stat()
|
H A D | splitfs.c | 173 f->f_fsdata = sf; in splitfs_open() 183 sf = (struct split_file *)f->f_fsdata; in splitfs_close() 196 sf = (struct split_file *)f->f_fsdata; in splitfs_read() 239 sf = (struct split_file *)f->f_fsdata; in splitfs_seek() 304 struct split_file *sf = (struct split_file *)f->f_fsdata; in splitfs_stat()
|
H A D | ext2fs.c | 348 f->f_fsdata = (void *)fp; in ext2fs_open() 557 struct file *fp = (struct file *)f->f_fsdata; in read_inode() 599 struct file *fp = (struct file *)f->f_fsdata; in block_map() 699 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 757 struct file *fp = (struct file *)f->f_fsdata; in search_directory() 793 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_close() 799 f->f_fsdata = NULL; in ext2fs_close() 817 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_read() 848 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_seek() 870 struct file *fp = (struct file *)f->f_fsdata; in ext2fs_stat() [all …]
|
H A D | cd9660.c | 459 f->f_fsdata = (void *)fp; in cd9660_open() 502 struct file *fp = (struct file *)f->f_fsdata; in cd9660_close() 504 f->f_fsdata = NULL; in cd9660_close() 513 struct file *fp = (struct file *)f->f_fsdata; in buf_read_file() 548 struct file *fp = (struct file *)f->f_fsdata; in cd9660_read() 577 struct file *fp = (struct file *)f->f_fsdata; in cd9660_readdir() 642 struct file *fp = (struct file *)f->f_fsdata; in cd9660_seek() 663 struct file *fp = (struct file *)f->f_fsdata; in cd9660_stat()
|
H A D | pkgfs.c | 233 f->f_fsdata = NULL; in pkg_open_follow() 240 f->f_fsdata = tf; in pkg_open_follow() 271 tf = (struct tarfile *)f->f_fsdata; in pkg_close() 293 tf = (struct tarfile *)f->f_fsdata; in pkg_read() 350 tf = (struct tarfile *)f->f_fsdata; in pkg_seek() 404 tf = (struct tarfile *)f->f_fsdata; in pkg_stat() 426 tf = (struct tarfile *)f->f_fsdata; in pkg_readdir()
|
H A D | tftp.c | 499 f->f_fsdata = tftpfile; in tftp_open() 514 tftpfile = f->f_fsdata; in tftp_read() 607 tftpfile = f->f_fsdata; in tftp_close() 626 tftpfile = f->f_fsdata; in tftp_stat() 640 tftpfile = f->f_fsdata; in tftp_seek() 666 tftpfile = f->f_fsdata; in tftp_preload()
|
H A D | nfs.c | 642 f->f_fsdata = (void *)currfd; in nfs_open() 659 struct nfs_iodesc *fp = (struct nfs_iodesc *)f->f_fsdata; in nfs_close() 667 f->f_fsdata = NULL; in nfs_close() 678 struct nfs_iodesc *fp = (struct nfs_iodesc *)f->f_fsdata; in nfs_read() 719 struct nfs_iodesc *d = (struct nfs_iodesc *)f->f_fsdata; in nfs_seek() 747 struct nfs_iodesc *fp = (struct nfs_iodesc *)f->f_fsdata; in nfs_stat() 766 struct nfs_iodesc *fp = (struct nfs_iodesc *)f->f_fsdata; in nfs_readdir()
|
H A D | dosfs.c | 254 df = f->f_fsdata; in dos_mount() 356 fd->f_fsdata = f; in dos_open() 368 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_read() 428 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_seek() 461 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_close() 476 DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; in dos_stat()
|
H A D | stand.h | 197 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 | 408 f->f_fsdata = fh; in _efihttp_fs_open() 611 fh = (struct file_efihttp *)f->f_fsdata; in _efihttp_fs_read() 703 fh = (struct file_efihttp *)f->f_fsdata; in efihttp_fs_seek() 747 fh = (struct file_efihttp *)f->f_fsdata; in efihttp_fs_stat() 763 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()
|