usr/src/boot/common/dev_net.c
122
net_open(struct open_file *f, ...)
usr/src/boot/common/dev_net.c
201
net_close(struct open_file *f)
usr/src/boot/common/dev_net.c
81
static int net_open(struct open_file *, ...);
usr/src/boot/common/dev_net.c
82
static int net_close(struct open_file *);
usr/src/boot/common/devopen.c
35
devopen(struct open_file *f, const char *fname, const char **file)
usr/src/boot/common/devopen.c
58
devclose(struct open_file *f)
usr/src/boot/common/md.c
122
md_open(struct open_file *f, ...)
usr/src/boot/common/md.c
138
md_close(struct open_file *f)
usr/src/boot/common/md.c
64
static int md_open(struct open_file *, ...);
usr/src/boot/common/md.c
65
static int md_close(struct open_file *);
usr/src/boot/common/vdisk.c
293
vdisk_open(struct open_file *f, ...)
usr/src/boot/common/vdisk.c
318
vdisk_close(struct open_file *f)
usr/src/boot/common/vdisk.c
337
vdisk_ioctl(struct open_file *f, ulong_t cmd, void *data)
usr/src/boot/common/vdisk.c
40
static int vdisk_open(struct open_file *, ...);
usr/src/boot/common/vdisk.c
41
static int vdisk_close(struct open_file *);
usr/src/boot/common/vdisk.c
42
static int vdisk_ioctl(struct open_file *, ulong_t, void *);
usr/src/boot/efi/libefi/efipart.c
58
static int efipart_open(struct open_file *, ...);
usr/src/boot/efi/libefi/efipart.c
59
static int efipart_close(struct open_file *);
usr/src/boot/efi/libefi/efipart.c
60
static int efipart_ioctl(struct open_file *, unsigned long, void *);
usr/src/boot/efi/libefi/efipart.c
860
efipart_open(struct open_file *f, ...)
usr/src/boot/efi/libefi/efipart.c
914
efipart_close(struct open_file *f)
usr/src/boot/efi/libefi/efipart.c
941
efipart_ioctl(struct open_file *f, unsigned long cmd, void *data)
usr/src/boot/i386/libi386/biosdisk.c
149
static int bd_open(struct open_file *f, ...);
usr/src/boot/i386/libi386/biosdisk.c
150
static int bd_close(struct open_file *f);
usr/src/boot/i386/libi386/biosdisk.c
151
static int bd_ioctl(struct open_file *f, ulong_t cmd, void *data);
usr/src/boot/i386/libi386/biosdisk.c
830
bd_open(struct open_file *f, ...)
usr/src/boot/i386/libi386/biosdisk.c
874
bd_close(struct open_file *f)
usr/src/boot/i386/libi386/biosdisk.c
896
bd_ioctl(struct open_file *f, ulong_t cmd, void *data)
usr/src/boot/libsa/cd9660.c
120
susp_lookup_record(struct open_file *f, const char *identifier,
usr/src/boot/libsa/cd9660.c
165
rrip_lookup_name(struct open_file *f, struct iso_directory_record *dp,
usr/src/boot/libsa/cd9660.c
196
rrip_check(struct open_file *f, struct iso_directory_record *dp, int *lenskip)
usr/src/boot/libsa/cd9660.c
227
dirmatch(struct open_file *f, const char *path, struct iso_directory_record *dp,
usr/src/boot/libsa/cd9660.c
284
cd9660_open(const char *path, struct open_file *f)
usr/src/boot/libsa/cd9660.c
449
cd9660_close(struct open_file *f)
usr/src/boot/libsa/cd9660.c
460
buf_read_file(struct open_file *f, char **buf_p, size_t *size_p)
usr/src/boot/libsa/cd9660.c
495
cd9660_read(struct open_file *f, void *start, size_t size, size_t *resid)
usr/src/boot/libsa/cd9660.c
524
cd9660_readdir(struct open_file *f, struct dirent *d)
usr/src/boot/libsa/cd9660.c
589
cd9660_seek(struct open_file *f, off_t offset, int where)
usr/src/boot/libsa/cd9660.c
610
cd9660_stat(struct open_file *f, struct stat *sb)
usr/src/boot/libsa/cd9660.c
63
static int buf_read_file(struct open_file *f, char **buf_p,
usr/src/boot/libsa/cd9660.c
65
static int cd9660_open(const char *path, struct open_file *f);
usr/src/boot/libsa/cd9660.c
66
static int cd9660_close(struct open_file *f);
usr/src/boot/libsa/cd9660.c
67
static int cd9660_read(struct open_file *f, void *buf, size_t size,
usr/src/boot/libsa/cd9660.c
69
static off_t cd9660_seek(struct open_file *f, off_t offset, int where);
usr/src/boot/libsa/cd9660.c
70
static int cd9660_stat(struct open_file *f, struct stat *sb);
usr/src/boot/libsa/cd9660.c
71
static int cd9660_readdir(struct open_file *f, struct dirent *d);
usr/src/boot/libsa/cd9660.c
72
static int dirmatch(struct open_file *f, const char *path,
usr/src/boot/libsa/cd9660.c
74
static int rrip_check(struct open_file *f, struct iso_directory_record *dp,
usr/src/boot/libsa/cd9660.c
76
static char *rrip_lookup_name(struct open_file *f,
usr/src/boot/libsa/cd9660.c
78
static ISO_SUSP_HEADER *susp_lookup_record(struct open_file *f,
usr/src/boot/libsa/close.c
70
struct open_file *f, *last;
usr/src/boot/libsa/closeall.c
35
struct open_file *f;
usr/src/boot/libsa/dev.c
53
noioctl(struct open_file *f __unused, ulong_t cmd __unused, void *data __unused)
usr/src/boot/libsa/dosfs.c
216
dos_mount(DOS_FS **fsp, struct open_file *fd)
usr/src/boot/libsa/dosfs.c
293
dos_open(const char *path, struct open_file *fd)
usr/src/boot/libsa/dosfs.c
336
dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid)
usr/src/boot/libsa/dosfs.c
402
dos_seek(struct open_file *fd, off_t offset, int whence)
usr/src/boot/libsa/dosfs.c
437
dos_close(struct open_file *fd)
usr/src/boot/libsa/dosfs.c
452
dos_stat(struct open_file *fd, struct stat *sb)
usr/src/boot/libsa/dosfs.c
46
static int dos_open(const char *, struct open_file *);
usr/src/boot/libsa/dosfs.c
47
static int dos_close(struct open_file *);
usr/src/boot/libsa/dosfs.c
48
static int dos_read(struct open_file *, void *, size_t, size_t *);
usr/src/boot/libsa/dosfs.c
484
dos_readdir(struct open_file *fd, struct dirent *d)
usr/src/boot/libsa/dosfs.c
49
static off_t dos_seek(struct open_file *, off_t offset, int);
usr/src/boot/libsa/dosfs.c
50
static int dos_stat(struct open_file *, struct stat *);
usr/src/boot/libsa/dosfs.c
51
static int dos_readdir(struct open_file *, struct dirent *);
usr/src/boot/libsa/dosfs.c
956
struct open_file *fd = fs->fd;
usr/src/boot/libsa/dosfs.h
97
struct open_file *fd; /* file descriptor */
usr/src/boot/libsa/fstat.c
41
struct open_file *f;
usr/src/boot/libsa/gzipfs.c
164
zf_open(const char *fname, struct open_file *f)
usr/src/boot/libsa/gzipfs.c
241
zf_close(struct open_file *f)
usr/src/boot/libsa/gzipfs.c
252
zf_read(struct open_file *f, void *buf, size_t size, size_t *resid)
usr/src/boot/libsa/gzipfs.c
289
zf_rewind(struct open_file *f)
usr/src/boot/libsa/gzipfs.c
304
zf_seek(struct open_file *f, off_t offset, int where)
usr/src/boot/libsa/gzipfs.c
339
zf_stat(struct open_file *f, struct stat *sb)
usr/src/boot/libsa/gzipfs.c
47
static int zf_open(const char *path, struct open_file *f);
usr/src/boot/libsa/gzipfs.c
48
static int zf_close(struct open_file *f);
usr/src/boot/libsa/gzipfs.c
49
static int zf_read(struct open_file *f, void *buf, size_t size, size_t *resid);
usr/src/boot/libsa/gzipfs.c
50
static off_t zf_seek(struct open_file *f, off_t offset, int where);
usr/src/boot/libsa/gzipfs.c
51
static int zf_stat(struct open_file *f, struct stat *sb);
usr/src/boot/libsa/ioctl.c
71
struct open_file *f;
usr/src/boot/libsa/lseek.c
70
struct open_file *f;
usr/src/boot/libsa/nfs.c
125
int nfs_open(const char *path, struct open_file *f);
usr/src/boot/libsa/nfs.c
126
static int nfs_close(struct open_file *f);
usr/src/boot/libsa/nfs.c
127
static int nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
usr/src/boot/libsa/nfs.c
128
static off_t nfs_seek(struct open_file *f, off_t offset, int where);
usr/src/boot/libsa/nfs.c
129
static int nfs_stat(struct open_file *f, struct stat *sb);
usr/src/boot/libsa/nfs.c
130
static int nfs_readdir(struct open_file *f, struct dirent *d);
usr/src/boot/libsa/nfs.c
462
nfs_open(const char *upath, struct open_file *f)
usr/src/boot/libsa/nfs.c
648
nfs_close(struct open_file *f)
usr/src/boot/libsa/nfs.c
667
nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid)
usr/src/boot/libsa/nfs.c
708
nfs_seek(struct open_file *f, off_t offset, int where)
usr/src/boot/libsa/nfs.c
736
nfs_stat(struct open_file *f, struct stat *sb)
usr/src/boot/libsa/nfs.c
755
nfs_readdir(struct open_file *f, struct dirent *d)
usr/src/boot/libsa/nullfs.c
105
null_stat(struct open_file *f __unused, struct stat *sb __unused)
usr/src/boot/libsa/nullfs.c
111
null_readdir(struct open_file *f __unused, struct dirent *d __unused)
usr/src/boot/libsa/nullfs.c
71
null_open(const char *path __unused, struct open_file *f __unused)
usr/src/boot/libsa/nullfs.c
77
null_close(struct open_file *f __unused)
usr/src/boot/libsa/nullfs.c
83
null_read(struct open_file *f __unused, void *buf __unused,
usr/src/boot/libsa/nullfs.c
90
null_write(struct open_file *f __unused, const void *buf __unused,
usr/src/boot/libsa/nullfs.c
97
null_seek(struct open_file *f __unused, off_t offset __unused,
usr/src/boot/libsa/open.c
105
o_gethandle(struct open_file **ptr)
usr/src/boot/libsa/open.c
107
struct open_file *f, *last;
usr/src/boot/libsa/open.c
131
o_rainit(struct open_file *f)
usr/src/boot/libsa/open.c
142
struct open_file *f;
usr/src/boot/libsa/open.c
87
struct open_file *
usr/src/boot/libsa/open.c
90
struct open_file *f;
usr/src/boot/libsa/read.c
71
struct open_file *f;
usr/src/boot/libsa/readdir.c
36
struct open_file *f;
usr/src/boot/libsa/stand.h
108
int (*fo_open)(const char *path, struct open_file *f);
usr/src/boot/libsa/stand.h
109
int (*fo_close)(struct open_file *f);
usr/src/boot/libsa/stand.h
110
int (*fo_read)(struct open_file *f, void *buf,
usr/src/boot/libsa/stand.h
112
int (*fo_write)(struct open_file *f, const void *buf,
usr/src/boot/libsa/stand.h
114
off_t (*fo_seek)(struct open_file *f, off_t offset, int where);
usr/src/boot/libsa/stand.h
115
int (*fo_stat)(struct open_file *f, struct stat *sb);
usr/src/boot/libsa/stand.h
116
int (*fo_readdir)(struct open_file *f, struct dirent *d);
usr/src/boot/libsa/stand.h
149
int (*dv_open)(struct open_file *f, ...);
usr/src/boot/libsa/stand.h
150
int (*dv_close)(struct open_file *f);
usr/src/boot/libsa/stand.h
151
int (*dv_ioctl)(struct open_file *f, ulong_t cmd, void *data);
usr/src/boot/libsa/stand.h
185
TAILQ_ENTRY(open_file) f_link; /* next entry */
usr/src/boot/libsa/stand.h
189
typedef TAILQ_HEAD(file_list, open_file) file_list_t;
usr/src/boot/libsa/stand.h
191
extern struct open_file *fd2open_file(int);
usr/src/boot/libsa/stand.h
386
extern int noioctl(struct open_file *, ulong_t, void *);
usr/src/boot/libsa/stand.h
389
extern int null_open(const char *, struct open_file *);
usr/src/boot/libsa/stand.h
390
extern int null_close(struct open_file *);
usr/src/boot/libsa/stand.h
391
extern int null_read(struct open_file *, void *, size_t, size_t *);
usr/src/boot/libsa/stand.h
392
extern int null_write(struct open_file *, const void *, size_t, size_t *);
usr/src/boot/libsa/stand.h
393
extern off_t null_seek(struct open_file *, off_t, int);
usr/src/boot/libsa/stand.h
394
extern int null_stat(struct open_file *, struct stat *);
usr/src/boot/libsa/stand.h
395
extern int null_readdir(struct open_file *, struct dirent *);
usr/src/boot/libsa/stand.h
406
extern int devopen(struct open_file *, const char *, const char **);
usr/src/boot/libsa/stand.h
407
extern int devclose(struct open_file *f);
usr/src/boot/libsa/stand.h
96
struct open_file;
usr/src/boot/libsa/tftp.c
431
tftp_open(const char *path, struct open_file *f)
usr/src/boot/libsa/tftp.c
499
tftp_read(struct open_file *f, void *addr, size_t size,
usr/src/boot/libsa/tftp.c
582
tftp_close(struct open_file *f)
usr/src/boot/libsa/tftp.c
599
tftp_stat(struct open_file *f, struct stat *sb)
usr/src/boot/libsa/tftp.c
613
tftp_seek(struct open_file *f, off_t offset, int where)
usr/src/boot/libsa/tftp.c
67
static int tftp_open(const char *, struct open_file *);
usr/src/boot/libsa/tftp.c
68
static int tftp_close(struct open_file *);
usr/src/boot/libsa/tftp.c
70
static int tftp_read(struct open_file *, void *, size_t, size_t *);
usr/src/boot/libsa/tftp.c
71
static off_t tftp_seek(struct open_file *, off_t, int);
usr/src/boot/libsa/tftp.c
73
static int tftp_stat(struct open_file *, struct stat *);
usr/src/boot/libsa/ufs.c
134
static int read_inode(ino_t, struct open_file *);
usr/src/boot/libsa/ufs.c
135
static int block_map(struct open_file *, ufs2_daddr_t, ufs2_daddr_t *);
usr/src/boot/libsa/ufs.c
136
static int buf_read_file(struct open_file *, char **, size_t *);
usr/src/boot/libsa/ufs.c
137
static int buf_write_file(struct open_file *, const char *, size_t *);
usr/src/boot/libsa/ufs.c
138
static int search_directory(char *, struct open_file *, ino_t *);
usr/src/boot/libsa/ufs.c
144
read_inode(ino_t inumber, struct open_file *f)
usr/src/boot/libsa/ufs.c
198
block_map(struct open_file *f, ufs2_daddr_t file_block,
usr/src/boot/libsa/ufs.c
301
buf_write_file(struct open_file *f, const char *buf_p, size_t *size_p)
usr/src/boot/libsa/ufs.c
376
buf_read_file(struct open_file *f, char **buf_p, size_t *size_p)
usr/src/boot/libsa/ufs.c
435
search_directory(char *name, struct open_file *f, ino_t *inumber_p)
usr/src/boot/libsa/ufs.c
479
ufs_open(const char *upath, struct open_file *f)
usr/src/boot/libsa/ufs.c
680
ufs_close(struct open_file *f)
usr/src/boot/libsa/ufs.c
705
ufs_read(struct open_file *f, void *start, size_t size, size_t *resid)
usr/src/boot/libsa/ufs.c
743
ufs_write(struct open_file *f, const void *start, size_t size, size_t *resid)
usr/src/boot/libsa/ufs.c
771
ufs_seek(struct open_file *f, off_t offset, int where)
usr/src/boot/libsa/ufs.c
793
ufs_stat(struct open_file *f, struct stat *sb)
usr/src/boot/libsa/ufs.c
806
ufs_readdir(struct open_file *f, struct dirent *d)
usr/src/boot/libsa/ufs.c
85
static int ufs_open(const char *, struct open_file *);
usr/src/boot/libsa/ufs.c
86
static int ufs_write(struct open_file *, const void *, size_t, size_t *);
usr/src/boot/libsa/ufs.c
87
static int ufs_close(struct open_file *);
usr/src/boot/libsa/ufs.c
88
static int ufs_read(struct open_file *, void *, size_t, size_t *);
usr/src/boot/libsa/ufs.c
89
static off_t ufs_seek(struct open_file *, off_t, int);
usr/src/boot/libsa/ufs.c
90
static int ufs_stat(struct open_file *, struct stat *);
usr/src/boot/libsa/ufs.c
91
static int ufs_readdir(struct open_file *, struct dirent *);
usr/src/boot/libsa/write.c
71
struct open_file *f;
usr/src/boot/libsa/zfs/zfs.c
122
zfs_close(struct open_file *f)
usr/src/boot/libsa/zfs/zfs.c
138
zfs_read(struct open_file *f, void *start, size_t size, size_t *resid)
usr/src/boot/libsa/zfs/zfs.c
1491
zfs_dev_open(struct open_file *f, ...)
usr/src/boot/libsa/zfs/zfs.c
1527
zfs_dev_close(struct open_file *f)
usr/src/boot/libsa/zfs/zfs.c
165
zfs_seek(struct open_file *f, off_t offset, int where)
usr/src/boot/libsa/zfs/zfs.c
194
zfs_stat(struct open_file *f, struct stat *sb)
usr/src/boot/libsa/zfs/zfs.c
203
zfs_readdir(struct open_file *f, struct dirent *d)
usr/src/boot/libsa/zfs/zfs.c
54
static int zfs_open(const char *, struct open_file *);
usr/src/boot/libsa/zfs/zfs.c
55
static int zfs_close(struct open_file *);
usr/src/boot/libsa/zfs/zfs.c
56
static int zfs_read(struct open_file *, void *, size_t, size_t *);
usr/src/boot/libsa/zfs/zfs.c
57
static off_t zfs_seek(struct open_file *, off_t, int);
usr/src/boot/libsa/zfs/zfs.c
58
static int zfs_stat(struct open_file *, struct stat *);
usr/src/boot/libsa/zfs/zfs.c
59
static int zfs_readdir(struct open_file *, struct dirent *);
usr/src/boot/libsa/zfs/zfs.c
97
zfs_open(const char *upath, struct open_file *f)
usr/src/cmd/nohup/nohup.c
163
if ((fd = open_file()) < 0)
usr/src/cmd/nohup/nohup.c
170
if (fd < 0 && (fd = open_file()) < 0)