| /freebsd-12.1/stand/libsa/ |
| H A D | stand.h | 92 struct open_file; 105 int (*fo_close)(struct open_file *f); 106 int (*fo_read)(struct open_file *f, void *buf, 108 int (*fo_write)(struct open_file *f, const void *buf, 150 int (*dv_open)(struct open_file *f, ...); 151 int (*dv_close)(struct open_file *f); 175 struct open_file { struct 189 extern struct open_file files[]; argument 381 extern int noioctl(struct open_file *, u_long, void *); 385 extern int null_close(struct open_file *f); [all …]
|
| H A D | nullfs.c | 71 int null_open (const char *path, struct open_file *f) in null_open() 76 int null_close(struct open_file *f) in null_close() 81 int null_read (struct open_file *f, void *buf, size_t size, size_t *resid) in null_read() 86 int null_write (struct open_file *f, const void *buf, size_t size, size_t *resid) in null_write() 91 off_t null_seek (struct open_file *f, off_t offset, int where) in null_seek() 97 int null_stat (struct open_file *f, struct stat *sb) in null_stat() 102 int null_readdir(struct open_file *f, struct dirent *d) in null_readdir()
|
| H A D | ufs.c | 150 struct open_file *f; 206 struct open_file *f; in block_map() 311 struct open_file *f; in buf_write_file() 389 struct open_file *f; in buf_read_file() 452 struct open_file *f; 502 struct open_file *f; 687 struct open_file *f; in ufs_use_sa_read() 705 struct open_file *f; in ufs_close() 731 struct open_file *f; in ufs_read() 773 struct open_file *f; in ufs_write() [all …]
|
| H A D | cd9660.c | 64 static int buf_read_file(struct open_file *f, char **buf_p, 66 static int cd9660_open(const char *path, struct open_file *f); 67 static int cd9660_close(struct open_file *f); 71 static int cd9660_stat(struct open_file *f, struct stat *sb); 73 static int dirmatch(struct open_file *f, const char *path, 77 static char *rrip_lookup_name(struct open_file *f, 284 cd9660_open(const char *path, struct open_file *f) in cd9660_open() 449 cd9660_close(struct open_file *f) in cd9660_close() 524 cd9660_readdir(struct open_file *f, struct dirent *d) in cd9660_readdir() 589 cd9660_seek(struct open_file *f, off_t offset, int where) in cd9660_seek() [all …]
|
| H A D | bzipfs.c | 40 struct open_file { struct 65 static int bzf_open(const char *path, struct open_file *f); argument 66 static int bzf_close(struct open_file *f); 68 static off_t bzf_seek(struct open_file *f, off_t offset, int where); 69 static int bzf_stat(struct open_file *f, struct stat *sb); 150 bzf_open(const char *fname, struct open_file *f) in bzf_open() 219 bzf_close(struct open_file *f) in bzf_close() 266 bzf_rewind(struct open_file *f) in bzf_rewind() 310 bzf_seek(struct open_file *f, off_t offset, int where) in bzf_seek() 349 bzf_stat(struct open_file *f, struct stat *sb) in bzf_stat() [all …]
|
| H A D | gzipfs.c | 48 static int zf_open(const char *path, struct open_file *f); 49 static int zf_close(struct open_file *f); 50 static int zf_read(struct open_file *f, void *buf, size_t size, size_t *resid); 51 static off_t zf_seek(struct open_file *f, off_t offset, int where); 52 static int zf_stat(struct open_file *f, struct stat *sb); 159 zf_open(const char *fname, struct open_file *f) in zf_open() 228 zf_close(struct open_file *f) in zf_close() 239 zf_read(struct open_file *f, void *buf, size_t size, size_t *resid) in zf_read() 275 zf_rewind(struct open_file *f) in zf_rewind() 290 zf_seek(struct open_file *f, off_t offset, int where) in zf_seek() [all …]
|
| H A D | splitfs.c | 48 static int splitfs_open(const char *path, struct open_file *f); 49 static int splitfs_close(struct open_file *f); 50 static int splitfs_read(struct open_file *f, void *buf, size_t size, size_t *resid); 51 static off_t splitfs_seek(struct open_file *f, off_t offset, int where); 52 static int splitfs_stat(struct open_file *f, struct stat *sb); 104 splitfs_open(const char *fname, struct open_file *f) in splitfs_open() 181 splitfs_close(struct open_file *f) in splitfs_close() 193 splitfs_read(struct open_file *f, void *buf, size_t size, size_t *resid) in splitfs_read() 235 splitfs_seek(struct open_file *f, off_t offset, int where) in splitfs_seek() 304 splitfs_stat(struct open_file *f, struct stat *sb) in splitfs_stat()
|
| H A D | ext2fs.c | 98 static int ext2fs_close(struct open_file *f); 99 static int ext2fs_read(struct open_file *f, void *buf, 102 static int ext2fs_stat(struct open_file *f, struct stat *sb); 321 static int read_inode(ino_t inumber, struct open_file *f); 324 static int buf_read_file(struct open_file *f, char **buf_p, 333 ext2fs_open(const char *upath, struct open_file *f) in ext2fs_open() 558 read_inode(ino_t inumber, struct open_file *f) in read_inode() 794 ext2fs_close(struct open_file *f) in ext2fs_close() 848 ext2fs_seek(struct open_file *f, off_t offset, int where) in ext2fs_seek() 870 ext2fs_stat(struct open_file *f, struct stat *sb) in ext2fs_stat() [all …]
|
| H A D | nandfs.c | 71 struct open_file *nf_file; 91 static int nandfs_open(const char *, struct open_file *); 92 static int nandfs_close(struct open_file *); 94 static off_t nandfs_seek(struct open_file *, off_t, int); 112 static int nandfs_probe_sectorsize(struct open_file *); 288 nandfs_mount(struct nandfs *fs, struct open_file *f) in nandfs_mount() 369 nandfs_open(const char *path, struct open_file *f) in nandfs_open() 435 nandfs_close(struct open_file *f) in nandfs_close() 523 nandfs_stat(struct open_file *f, struct stat *sb) in nandfs_stat() 537 nandfs_readdir(struct open_file *f, struct dirent *d) in nandfs_readdir() [all …]
|
| H A D | pkgfs.c | 43 static int pkg_open(const char *, struct open_file *); 44 static int pkg_close(struct open_file *); 45 static int pkg_read(struct open_file *, void *, size_t, size_t *); 46 static off_t pkg_seek(struct open_file *, off_t, int); 47 static int pkg_stat(struct open_file *, struct stat *); 48 static int pkg_readdir(struct open_file *, struct dirent *); 200 pkg_open(const char *fn, struct open_file *f) in pkg_open() 251 pkg_close(struct open_file *f) in pkg_close() 332 pkg_seek(struct open_file *f, off_t ofs, int whence) in pkg_seek() 382 pkg_stat(struct open_file *f, struct stat *sb) in pkg_stat() [all …]
|
| H A D | dosfs.c | 45 static int dos_open(const char *path, struct open_file *fd); 46 static int dos_close(struct open_file *fd); 49 static int dos_stat(struct open_file *fd, struct stat *sb); 50 static int dos_readdir(struct open_file *fd, struct dirent *d); 146 static int ioget(struct open_file *, daddr_t, void *, size_t); 182 dos_mount(DOS_FS *fs, struct open_file *fd) in dos_mount() 235 dos_open(const char *path, struct open_file *fd) in dos_open() 341 dos_seek(struct open_file *fd, off_t offset, int whence) in dos_seek() 376 dos_close(struct open_file *fd) in dos_close() 391 dos_stat(struct open_file *fd, struct stat *sb) in dos_stat() [all …]
|
| H A D | tftp.c | 67 static int tftp_open(const char *, struct open_file *); 68 static int tftp_close(struct open_file *); 70 static int tftp_read(struct open_file *, void *, size_t, size_t *); 71 static off_t tftp_seek(struct open_file *, off_t, int); 73 static int tftp_stat(struct open_file *, struct stat *); 433 tftp_open(const char *path, struct open_file *f) in tftp_open() 495 tftp_read(struct open_file *f, void *addr, size_t size, in tftp_read() 578 tftp_close(struct open_file *f) in tftp_close() 595 tftp_stat(struct open_file *f, struct stat *sb) in tftp_stat() 609 tftp_seek(struct open_file *f, off_t offset, int where) in tftp_seek()
|
| H A D | nfs.c | 126 int nfs_open(const char *path, struct open_file *f); 127 static int nfs_close(struct open_file *f); 129 static off_t nfs_seek(struct open_file *f, off_t offset, int where); 130 static int nfs_stat(struct open_file *f, struct stat *sb); 131 static int nfs_readdir(struct open_file *f, struct dirent *d); 465 nfs_open(const char *upath, struct open_file *f) in nfs_open() 657 nfs_close(struct open_file *f) in nfs_close() 676 nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid) in nfs_read() 717 nfs_seek(struct open_file *f, off_t offset, int where) in nfs_seek() 745 nfs_stat(struct open_file *f, struct stat *sb) in nfs_stat() [all …]
|
| H A D | open.c | 70 struct open_file files[SOPEN_MAX]; 84 o_rainit(struct open_file *f) in o_rainit() 95 struct open_file *f; in open()
|
| /freebsd-12.1/stand/userboot/userboot/ |
| H A D | host.c | 48 host_open(const char *upath, struct open_file *f) in host_open() 58 host_close(struct open_file *f) in host_close() 71 host_read(struct open_file *f, void *start, size_t size, size_t *resid) in host_read() 78 host_seek(struct open_file *f, off_t offset, int where) in host_seek() 85 host_stat(struct open_file *f, struct stat *sb) in host_stat() 101 host_readdir(struct open_file *f, struct dirent *d) in host_readdir() 144 host_dev_open(struct open_file *f, ...) in host_dev_open() 157 host_dev_close(struct open_file *f) in host_dev_close()
|
| H A D | userboot_disk.c | 60 static int userdisk_open(struct open_file *f, ...); 61 static int userdisk_close(struct open_file *f); 62 static int userdisk_ioctl(struct open_file *f, u_long cmd, void *data); 158 userdisk_open(struct open_file *f, ...) in userdisk_open() 177 userdisk_close(struct open_file *f) in userdisk_close() 231 userdisk_ioctl(struct open_file *f, u_long cmd, void *data) in userdisk_ioctl()
|
| /freebsd-12.1/stand/powerpc/kboot/ |
| H A D | hostdisk.c | 37 static int hostdisk_open(struct open_file *f, ...); 38 static int hostdisk_close(struct open_file *f); 39 static int hostdisk_ioctl(struct open_file *f, u_long cmd, void *data); 88 hostdisk_open(struct open_file *f, ...) in hostdisk_open() 109 hostdisk_close(struct open_file *f) in hostdisk_close() 118 hostdisk_ioctl(struct open_file *f, u_long cmd, void *data) in hostdisk_ioctl()
|
| /freebsd-12.1/stand/ofw/libofw/ |
| H A D | ofw_disk.c | 48 static int ofwd_open(struct open_file *f, ...); 49 static int ofwd_close(struct open_file *f); 50 static int ofwd_ioctl(struct open_file *f, u_long cmd, void *data); 119 ofwd_open(struct open_file *f, ...) in ofwd_open() 144 ofwd_close(struct open_file *f) in ofwd_close() 158 ofwd_ioctl(struct open_file *f, u_long cmd, void *data) in ofwd_ioctl()
|
| /freebsd-12.1/stand/usb/storage/ |
| H A D | umass_loader.c | 47 static int umass_disk_open(struct open_file *,...); 48 static int umass_disk_close(struct open_file *); 50 static int umass_disk_ioctl(struct open_file *, u_long, void *); 124 umass_disk_open(struct open_file *f,...) in umass_disk_open() 141 umass_disk_ioctl(struct open_file *f, u_long cmd, void *buf) in umass_disk_ioctl() 175 umass_disk_close(struct open_file *f) in umass_disk_close()
|
| /freebsd-12.1/stand/libsa/geli/ |
| H A D | gelidev.c | 40 static int geli_dev_open(struct open_file *f, ...); 41 static int geli_dev_close(struct open_file *f); 42 static int geli_dev_ioctl(struct open_file *, u_long, void *); 178 geli_dev_open(struct open_file *f, ...) in geli_dev_open() 190 geli_dev_close(struct open_file *f) in geli_dev_close() 209 geli_dev_ioctl(struct open_file *f, u_long cmd, void *data) in geli_dev_ioctl() 265 geli_probe_and_attach(struct open_file *f) in geli_probe_and_attach()
|
| /freebsd-12.1/stand/common/ |
| H A D | md.c | 64 static int md_open(struct open_file *, ...); 65 static int md_close(struct open_file *); 123 md_open(struct open_file *f, ...) in md_open() 139 md_close(struct open_file *f) in md_close()
|
| /freebsd-12.1/stand/mips/beri/loader/ |
| H A D | beri_disk_cfi.c | 45 static int beri_cfi_disk_open(struct open_file *, ...); 46 static int beri_cfi_disk_close(struct open_file *); 92 beri_cfi_disk_open(struct open_file *f, ...) in beri_cfi_disk_open() 107 beri_cfi_disk_close(struct open_file *f) in beri_cfi_disk_close()
|
| H A D | beri_disk_sdcard.c | 45 static int beri_sdcard_disk_open(struct open_file *, ...); 46 static int beri_sdcard_disk_close(struct open_file *); 92 beri_sdcard_disk_open(struct open_file *f, ...) in beri_sdcard_disk_open() 113 beri_sdcard_disk_close(struct open_file *f) in beri_sdcard_disk_close()
|
| /freebsd-12.1/stand/uboot/lib/ |
| H A D | disk.c | 77 static int stor_open(struct open_file *, ...); 78 static int stor_close(struct open_file *); 79 static int stor_ioctl(struct open_file *f, u_long cmd, void *data); 176 stor_open(struct open_file *f, ...) in stor_open() 210 stor_close(struct open_file *f) in stor_close() 275 stor_ioctl(struct open_file *f, u_long cmd, void *data) in stor_ioctl()
|
| /freebsd-12.1/stand/libsa/zfs/ |
| H A D | zfs.c | 56 static int zfs_open(const char *path, struct open_file *f); 57 static int zfs_close(struct open_file *f); 60 static int zfs_stat(struct open_file *f, struct stat *sb); 61 static int zfs_readdir(struct open_file *f, struct dirent *d); 103 zfs_open(const char *upath, struct open_file *f) in zfs_open() 127 zfs_close(struct open_file *f) in zfs_close() 177 zfs_seek(struct open_file *f, off_t offset, int where) in zfs_seek() 209 zfs_stat(struct open_file *f, struct stat *sb) in zfs_stat() 218 zfs_readdir(struct open_file *f, struct dirent *d) in zfs_readdir() 653 zfs_dev_open(struct open_file *f, ...) in zfs_dev_open() [all …]
|