Searched refs:open_file (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/boot/lib/libstand/
H A Dnullfs.c71 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, 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 Ddev.c56 struct open_file *f;
H A Dfstat.c44 struct open_file *f = &files[fd];
H A Dbzipfs.c40 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 Dstand.h91 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 *
175 struct open_file { struct
[all...]
H A Dioctl.c74 struct open_file *f = &files[fd];
H A Dreaddir.c37 struct open_file *f = &files[fd];
H A Dsplitfs.c48 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 Dufs.c86 static int ufs_open(const char *path, struct open_file *f);
87 static int ufs_write(struct open_file *f, void *buf, size_t size, size_t *resid);
88 static int ufs_close(struct open_file *f);
89 static int ufs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
90 static off_t ufs_seek(struct open_file *f, off_t offset, int where);
91 static int ufs_stat(struct open_file *f, struct stat *sb);
92 static int ufs_readdir(struct open_file *f, struct dirent *d);
131 static int read_inode(ino_t, struct open_file *);
132 static int block_map(struct open_file *, ufs2_daddr_t, ufs2_daddr_t *);
133 static int buf_read_file(struct open_file *, cha
[all...]
H A Dcd9660.c63 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 *
[all...]
H A Dopen.c70 struct open_file files[SOPEN_MAX];
84 o_rainit(struct open_file *f)
95 struct open_file *f;
H A Dgzipfs.c48 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)
229 zf_close(struct open_file *f)
240 zf_read(struct open_file *f, void *buf, size_t size, size_t *resid)
276 zf_rewind(struct open_file *f)
291 zf_seek(struct open_file *
[all...]
H A Dclose.c71 struct open_file *f = &files[fd];
H A Dwrite.c75 struct open_file *f = &files[fd];
H A Dnandfs.c71 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 *
[all...]
H A Dext2fs.c97 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 *
[all...]
H A Dpkgfs.c43 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)
250 pkg_close(struct open_file *f)
269 pkg_read(struct open_file *f, void *buf, size_t size, size_t *res)
331 pkg_seek(struct open_file *
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c48 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)
81 host_write(struct open_file *f, void *start, size_t size, size_t *resid)
88 host_seek(struct open_file *f, off_t offset, int where)
95 host_stat(struct open_file *f, struct stat *sb)
111 host_readdir(struct open_file *f, struct dirent *d)
150 host_dev_open(struct open_file *f, ...)
163 host_dev_close(struct open_file *f)
H A Duserboot_disk.c56 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);
140 userdisk_open(struct open_file *f, ...)
157 userdisk_close(struct open_file *f)
190 userdisk_ioctl(struct open_file *f, u_long cmd, void *data)
/illumos-gate/usr/src/boot/sys/boot/common/
H A Ddevopen.c36 devopen(struct open_file *f, const char *fname, const char **file)
54 /* reference the devsw entry from the open_file structure */
60 devclose(struct open_file *f)
H A Dmd.c64 static int md_open(struct open_file *, ...);
65 static int md_close(struct open_file *);
122 md_open(struct open_file *f, ...)
138 md_close(struct open_file *f)
H A Ddev_net.c79 static int net_open(struct open_file *, ...);
80 static int net_close(struct open_file *);
112 net_open(struct open_file *f, ...)
179 net_close(struct open_file *f)
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_disk.c47 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, ...)
143 ofwd_close(struct open_file *f)
157 ofwd_ioctl(struct open_file *f __unused, u_long cmd __unused,
/illumos-gate/usr/src/boot/sys/boot/usb/storage/
H A Dumass_loader.c47 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 *);
123 umass_disk_open(struct open_file *f,...)
140 umass_disk_ioctl(struct open_file *f __unused, u_long cmd, void *buf)
164 umass_disk_close(struct open_file *f)
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Ddisk.c77 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, ...)
210 stor_close(struct open_file *f)
264 stor_ioctl(struct open_file *f, u_long cmd, void *data)

Completed in 89 milliseconds

12