| /titanic_53/usr/src/boot/lib/libstand/ |
| H A D | stand.h | 91 struct open_file; 103 int (*fo_open)(const char *path, struct open_file *f); 104 int (*fo_close)(struct open_file *f); 105 int (*fo_read)(struct open_file *f, void *buf, 107 int (*fo_write)(struct open_file *f, void *buf, 109 off_t (*fo_seek)(struct open_file *f, off_t offset, int where); 110 int (*fo_stat)(struct open_file *f, struct stat *sb); 111 int (*fo_readdir)(struct open_file *f, struct dirent *d); 143 int (*dv_open)(struct open_file *f, ...); 144 int (*dv_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, 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 | cd9660.c | 63 static int buf_read_file(struct open_file *f, char **buf_p, 65 static int cd9660_open(const char *path, struct open_file *f); 66 static int cd9660_close(struct open_file *f); 67 static int cd9660_read(struct open_file *f, void *buf, size_t size, 69 static int cd9660_write(struct open_file *f, void *buf, size_t size, 71 static off_t cd9660_seek(struct open_file *f, off_t offset, int where); 72 static int cd9660_stat(struct open_file *f, struct stat *sb); 73 static int cd9660_readdir(struct open_file *f, struct dirent *d); 74 static int dirmatch(struct open_file *f, const char *path, 76 static int rrip_check(struct open_file *f, struct iso_directory_record *dp, [all …]
|
| H A D | bzipfs.c | 39 struct open_file { struct 64 static int bzf_open(const char *path, struct open_file *f); argument 65 static int bzf_close(struct open_file *f); 66 static int bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid); 67 static off_t bzf_seek(struct open_file *f, off_t offset, int where); 68 static int bzf_stat(struct open_file *f, struct stat *sb); 149 bzf_open(const char *fname, struct open_file *f) in bzf_open() 218 bzf_close(struct open_file *f) in bzf_close() 229 bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid) in bzf_read() 265 bzf_rewind(struct open_file *f) in bzf_rewind() [all …]
|
| H A D | ufs.c | 85 static int ufs_open(const char *path, struct open_file *f); 86 static int ufs_write(struct open_file *f, void *buf, size_t size, size_t *resid); 87 static int ufs_close(struct open_file *f); 88 static int ufs_read(struct open_file *f, void *buf, size_t size, size_t *resid); 89 static off_t ufs_seek(struct open_file *f, off_t offset, int where); 90 static int ufs_stat(struct open_file *f, struct stat *sb); 91 static int ufs_readdir(struct open_file *f, struct dirent *d); 130 static int read_inode(ino_t, struct open_file *); 131 static int block_map(struct open_file *, ufs2_daddr_t, ufs2_daddr_t *); 132 static int buf_read_file(struct open_file *, char **, size_t *); [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 | gzipfs.c | 47 static int zf_open(const char *path, struct open_file *f); 48 static int zf_close(struct open_file *f); 49 static int zf_read(struct open_file *f, void *buf, size_t size, size_t *resid); 50 static off_t zf_seek(struct open_file *f, off_t offset, int where); 51 static int zf_stat(struct open_file *f, struct stat *sb); 158 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 | ext2fs.c | 97 static int ext2fs_open(const char *path, struct open_file *f); 98 static int ext2fs_close(struct open_file *f); 99 static int ext2fs_read(struct open_file *f, void *buf, 101 static off_t ext2fs_seek(struct open_file *f, off_t offset, int where); 102 static int ext2fs_stat(struct open_file *f, struct stat *sb); 103 static int ext2fs_readdir(struct open_file *f, struct dirent *d); 321 static int read_inode(ino_t inumber, struct open_file *f); 322 static int block_map(struct open_file *f, daddr_t file_block, 324 static int buf_read_file(struct open_file *f, char **buf_p, 326 static int search_directory(char *name, struct open_file *f, [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 *); 93 static int nandfs_read(struct open_file *, void *, size_t, size_t *); 94 static off_t nandfs_seek(struct open_file *, off_t, int); 95 static int nandfs_stat(struct open_file *, struct stat *); 96 static int nandfs_readdir(struct open_file *, struct dirent *); 111 static int ioread(struct open_file *, off_t, void *, u_int); 112 static int nandfs_probe_sectorsize(struct open_file *); 195 nandfs_find_super_block(struct nandfs *fs, struct open_file *f) in nandfs_find_super_block() [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 *); 199 pkg_open(const char *fn, struct open_file *f) in pkg_open() 250 pkg_close(struct open_file *f) in pkg_close() 269 pkg_read(struct open_file *f, void *buf, size_t size, size_t *res) in pkg_read() 331 pkg_seek(struct open_file *f, off_t ofs, int whence) in pkg_seek() [all …]
|
| H A D | dosfs.c | 44 static int dos_open(const char *path, struct open_file *fd); 45 static int dos_close(struct open_file *fd); 46 static int dos_read(struct open_file *fd, void *buf, size_t size, size_t *resid); 47 static off_t dos_seek(struct open_file *fd, off_t offset, int whence); 48 static int dos_stat(struct open_file *fd, struct stat *sb); 49 static int dos_readdir(struct open_file *fd, struct dirent *d); 145 static int ioget(struct open_file *, daddr_t, void *, size_t); 148 dos_read_fatblk(DOS_FS *fs, struct open_file *fd, u_int blknum) in dos_read_fatblk() 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() [all …]
|
| H A D | tftp.c | 64 static int tftp_open(const char *path, struct open_file *f); 65 static int tftp_close(struct open_file *f); 67 static int tftp_read(struct open_file *f, void *buf, size_t size, size_t *resid); 68 static int tftp_write(struct open_file *f, void *buf, size_t size, size_t *resid); 69 static off_t tftp_seek(struct open_file *f, off_t offset, int where); 71 static int tftp_stat(struct open_file *f, struct stat *sb); 418 tftp_open(const char *path, struct open_file *f) in tftp_open() 479 tftp_read(struct open_file *f, void *addr, size_t size, in tftp_read() 550 tftp_close(struct open_file *f) in tftp_close() 567 tftp_write(struct open_file *f __unused, void *start __unused, size_t size __unused, in tftp_write() [all …]
|
| H A D | nfs.c | 125 int nfs_open(const char *path, struct open_file *f); 126 static int nfs_close(struct open_file *f); 127 static int nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid); 128 static int nfs_write(struct open_file *f, void *buf, size_t size, size_t *resid); 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); 463 nfs_open(const char *upath, struct open_file *f) in nfs_open() 648 nfs_close(struct open_file *f) in nfs_close() 667 nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid) in nfs_read() [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()
|
| /titanic_53/usr/src/boot/sys/boot/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() 81 host_write(struct open_file *f, void *start, size_t size, size_t *resid) in host_write() 88 host_seek(struct open_file *f, off_t offset, int where) in host_seek() 95 host_stat(struct open_file *f, struct stat *sb) in host_stat() 111 host_readdir(struct open_file *f, struct dirent *d) in host_readdir() 154 host_dev_open(struct open_file *f, ...) in host_dev_open() 167 host_dev_close(struct open_file *f) in host_dev_close()
|
| H A D | userboot_disk.c | 56 static int userdisk_open(struct open_file *f, ...); 57 static int userdisk_close(struct open_file *f); 58 static int userdisk_ioctl(struct open_file *f, u_long cmd, void *data); 147 userdisk_open(struct open_file *f, ...) in userdisk_open() 164 userdisk_close(struct open_file *f) in userdisk_close() 198 userdisk_ioctl(struct open_file *f, u_long cmd, void *data) in userdisk_ioctl()
|
| /titanic_53/usr/src/boot/sys/boot/ofw/libofw/ |
| H A D | ofw_disk.c | 47 static int ofwd_open(struct open_file *f, ...); 48 static int ofwd_close(struct open_file *f); 49 static int ofwd_ioctl(struct open_file *f, u_long cmd, void *data); 118 ofwd_open(struct open_file *f, ...) in ofwd_open() 143 ofwd_close(struct open_file *f) in ofwd_close() 157 ofwd_ioctl(struct open_file *f __unused, u_long cmd __unused, in ofwd_ioctl()
|
| /titanic_53/usr/src/boot/sys/boot/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 __unused, u_long cmd, void *buf) in umass_disk_ioctl() 165 umass_disk_close(struct open_file *f) in umass_disk_close()
|
| /titanic_53/usr/src/boot/sys/boot/common/ |
| H A D | md.c | 64 static int md_open(struct open_file *, ...); 65 static int md_close(struct open_file *); 122 md_open(struct open_file *f, ...) in md_open() 138 md_close(struct open_file *f) in md_close()
|
| H A D | devopen.c | 36 devopen(struct open_file *f, const char *fname, const char **file) in devopen() 60 devclose(struct open_file *f) in devclose()
|
| H A D | dev_net.c | 77 static int net_open(struct open_file *, ...); 78 static int net_close(struct open_file *); 118 net_open(struct open_file *f, ...) in net_open() 194 net_close(struct open_file *f) in net_close()
|
| /titanic_53/usr/src/boot/sys/boot/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); 177 stor_open(struct open_file *f, ...) in stor_open() 210 stor_close(struct open_file *f) in stor_close() 271 stor_ioctl(struct open_file *f, u_long cmd, void *data) in stor_ioctl()
|
| /titanic_53/usr/src/boot/sys/boot/zfs/ |
| H A D | zfs.c | 52 static int zfs_open(const char *path, struct open_file *f); 53 static int zfs_write(struct open_file *f, void *buf, size_t size, size_t *resid); 54 static int zfs_close(struct open_file *f); 55 static int zfs_read(struct open_file *f, void *buf, size_t size, size_t *resid); 56 static off_t zfs_seek(struct open_file *f, off_t offset, int where); 57 static int zfs_stat(struct open_file *f, struct stat *sb); 58 static int zfs_readdir(struct open_file *f, struct dirent *d); 100 zfs_open(const char *upath, struct open_file *f) in zfs_open() 124 zfs_close(struct open_file *f) in zfs_close() 142 zfs_read(struct open_file *f, void *start, size_t size, size_t *resid /* out */) in zfs_read() [all …]
|
| /titanic_53/usr/src/boot/sys/boot/i386/libi386/ |
| H A D | bioscd.c | 100 static int bc_open(struct open_file *f, ...); 101 static int bc_close(struct open_file *f); 206 bc_open(struct open_file *f, ...) in bc_open() 226 bc_close(struct open_file *f) in bc_close()
|
| /titanic_53/usr/src/boot/sys/boot/i386/libfirewire/ |
| H A D | firewire.c | 70 static int fw_open(struct open_file *f, ...); 71 static int fw_close(struct open_file *f); 176 fw_open(struct open_file *f, ...) in fw_open() 193 fw_close(struct open_file *f) in fw_close()
|