/freebsd-11-stable/stand/libsa/ |
H A D | nullfs.c | 71 int null_open (const char *path, struct open_file *f) 76 int null_close(struct open_file *f) 81 int null_read (struct open_file *f, void *buf, size_t size, size_t *resid) 86 int null_write (struct open_file *f, const void *buf, size_t size, size_t *resid) 91 off_t null_seek (struct open_file *f, off_t offset, int where) 97 int null_stat (struct open_file *f, struct stat *sb) 102 int null_readdir(struct open_file *f, struct dirent *d)
|
H A D | fstat.c | 44 struct open_file *f = &files[fd];
|
H A D | dev.c | 56 struct open_file *f;
|
H A D | bzipfs.c | 40 struct open_file { struct 65 static int bzf_open(const char *path, struct open_file *f); 66 static int bzf_close(struct open_file *f); 67 static int bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid); 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) 219 bzf_close(struct open_file *f) 230 bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid) 266 bzf_rewind(struct open_file * [all...] |
H A D | stand.h | 92 struct open_file; 104 int (*fo_open)(const char *path, struct open_file *f); 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, 110 off_t (*fo_seek)(struct open_file *f, off_t offset, int where); 111 int (*fo_stat)(struct open_file *f, struct stat *sb); 112 int (*fo_readdir)(struct open_file *f, struct dirent *d); 150 int (*dv_open)(struct open_file *f, ...); 151 int (*dv_close)(struct open_file * 175 struct open_file { struct [all...] |
H A D | ioctl.c | 74 struct open_file *f = &files[fd];
|
H A D | readdir.c | 37 struct open_file *f = &files[fd];
|
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) 228 zf_close(struct open_file *f) 239 zf_read(struct open_file *f, void *buf, size_t size, size_t *resid) 275 zf_rewind(struct open_file *f) 290 zf_seek(struct open_file * [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) 181 splitfs_close(struct open_file *f) 193 splitfs_read(struct open_file *f, void *buf, size_t size, size_t *resid) 235 splitfs_seek(struct open_file *f, off_t offset, int where) 304 splitfs_stat(struct open_file * [all...] |
H A D | ufs.c | 86 static int ufs_open(const char *path, struct open_file *f); 87 static int ufs_write(struct open_file *f, const void *buf, size_t size, 89 static int ufs_close(struct open_file *f); 90 static int ufs_read(struct open_file *f, void *buf, size_t size, size_t *resid); 91 static off_t ufs_seek(struct open_file *f, off_t offset, int where); 92 static int ufs_stat(struct open_file *f, struct stat *sb); 93 static int ufs_readdir(struct open_file *f, struct dirent *d); 133 static int read_inode(ino_t, struct open_file *); 134 static int block_map(struct open_file *, ufs2_daddr_t, ufs2_daddr_t *); 135 static int buf_read_file(struct open_file *, cha [all...] |
H A D | open.c | 70 struct open_file files[SOPEN_MAX]; 84 o_rainit(struct open_file *f) 95 struct open_file *f;
|
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); 68 static int cd9660_read(struct open_file *f, void *buf, size_t size, 70 static off_t cd9660_seek(struct open_file *f, off_t offset, int where); 71 static int cd9660_stat(struct open_file *f, struct stat *sb); 72 static int cd9660_readdir(struct open_file *f, struct dirent *d); 73 static int dirmatch(struct open_file *f, const char *path, 75 static int rrip_check(struct open_file *f, struct iso_directory_record *dp, 77 static char *rrip_lookup_name(struct open_file * [all...] |
H A D | write.c | 72 struct open_file *f = &files[fd];
|
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | searchpath.h | 30 FILE *open_file(const char *, char **);
|
/freebsd-11-stable/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, ...) 109 hostdisk_close(struct open_file *f) 118 hostdisk_ioctl(struct open_file *f, u_long cmd, void *data)
|
/freebsd-11-stable/stand/userboot/userboot/ |
H A D | host.c | 48 host_open(const char *upath, struct open_file *f) 58 host_close(struct open_file *f) 71 host_read(struct open_file *f, void *start, size_t size, size_t *resid) 78 host_seek(struct open_file *f, off_t offset, int where) 85 host_stat(struct open_file *f, struct stat *sb) 101 host_readdir(struct open_file *f, struct dirent *d) 144 host_dev_open(struct open_file *f, ...) 157 host_dev_close(struct open_file *f)
|
/freebsd-11-stable/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, ...) 144 ofwd_close(struct open_file *f) 158 ofwd_ioctl(struct open_file *f, u_long cmd, void *data)
|
/freebsd-11-stable/stand/common/ |
H A D | devopen.c | 40 devopen(struct open_file *f, const char *fname, const char **file) 62 * pw if needed), this will attach the geli code to the open_file by 74 devclose(struct open_file *f)
|
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, ...) 139 md_close(struct open_file *f)
|
/freebsd-11-stable/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, ...) 107 beri_cfi_disk_close(struct open_file *f)
|
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, ...) 113 beri_sdcard_disk_close(struct open_file *f)
|
/freebsd-11-stable/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,...) 141 umass_disk_ioctl(struct open_file *f, u_long cmd, void *buf) 175 umass_disk_close(struct open_file *f)
|
/freebsd-11-stable/contrib/groff/src/libs/libgroff/ |
H A D | fontfile.cpp | 62 FILE *font::open_file(const char *nm, char **pathp) function in class:font 66 FILE *fp = font_path.open_file(filename, pathp);
|
/freebsd-11-stable/stand/libsa/geli/ |
H A D | geliboot.h | 65 struct open_file; 85 void geli_probe_and_attach(struct open_file *f);
|
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 *); 52 * disk. Then we manipulate the open_file struct to reference the new 68 * geli_devdesc instances replace the disk_devdesc in an open_file struct when 178 geli_dev_open(struct open_file *f, ...) 190 geli_dev_close(struct open_file *f) 195 * Detach the geli_devdesc from the open_file and reattach the 209 geli_dev_ioctl(struct open_file *f, u_long cmd, void *data) 259 * create a geli_devdesc and store it into the open_file struc [all...] |