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

12

/illumos-gate/usr/src/boot/lib/libstand/
H A Dtftp.c40 * - socket descriptor (int) at open_file->f_devdata
65 static int tftp_open(const char *path, struct open_file *f);
66 static int tftp_close(struct open_file *f);
68 static int tftp_read(struct open_file *f, void *buf, size_t size, size_t *resid);
69 static int tftp_write(struct open_file *f, void *buf, size_t size, size_t *resid);
70 static off_t tftp_seek(struct open_file *f, off_t offset, int where);
72 static int tftp_stat(struct open_file *f, struct stat *sb);
397 tftp_open(const char *path, struct open_file *f)
460 tftp_read(struct open_file *f, void *addr, size_t size,
531 tftp_close(struct open_file *
[all...]
H A Dnfs.c192 int nfs_open(const char *path, struct open_file *f);
193 static int nfs_close(struct open_file *f);
194 static int nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
195 static int nfs_write(struct open_file *f, void *buf, size_t size, size_t *resid);
196 static off_t nfs_seek(struct open_file *f, off_t offset, int where);
197 static int nfs_stat(struct open_file *f, struct stat *sb);
198 static int nfs_readdir(struct open_file *f, struct dirent *d);
441 nfs_open(const char *upath, struct open_file *f)
633 nfs_close(struct open_file *f)
653 nfs_read(struct open_file *
[all...]
H A Ddosfs.c45 static int dos_open(const char *path, struct open_file *fd);
46 static int dos_close(struct open_file *fd);
47 static int dos_read(struct open_file *fd, void *buf, size_t size, size_t *resid);
48 static off_t dos_seek(struct open_file *fd, off_t offset, int whence);
49 static int dos_stat(struct open_file *fd, struct stat *sb);
50 static int dos_readdir(struct open_file *fd, struct dirent *d);
157 static int ioget(struct open_file *, daddr_t, size_t, void *, u_int);
160 dos_read_fat(DOS_FS *fs, struct open_file *fd)
192 dos_mount(DOS_FS *fs, struct open_file *fd)
254 dos_open(const char *path, struct open_file *f
[all...]
H A Ddosfs.h98 struct open_file *fd; /* file descriptor */
H A Dlseek.c72 struct open_file *f = &files[fd];
H A Dread.c72 struct open_file *f = &files[fd];
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfs.c54 static int zfs_open(const char *path, struct open_file *f);
55 static int zfs_write(struct open_file *f, void *buf, size_t size, size_t *resid);
56 static int zfs_close(struct open_file *f);
57 static int zfs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
58 static off_t zfs_seek(struct open_file *f, off_t offset, int where);
59 static int zfs_stat(struct open_file *f, struct stat *sb);
60 static int zfs_readdir(struct open_file *f, struct dirent *d);
102 zfs_open(const char *upath, struct open_file *f)
126 zfs_close(struct open_file *f)
144 zfs_read(struct open_file *
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defipart.c49 static int efipart_open(struct open_file *, ...);
50 static int efipart_close(struct open_file *);
206 efipart_open(struct open_file *f, ...)
237 efipart_close(struct open_file *f)
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A Dfirewire.c70 static int fw_open(struct open_file *f, ...);
71 static int fw_close(struct open_file *f);
169 fw_open(struct open_file *f, ...)
186 fw_close(struct open_file *f)
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbioscd.c101 static int bc_open(struct open_file *f, ...);
102 static int bc_close(struct open_file *f);
200 bc_open(struct open_file *f, ...)
220 bc_close(struct open_file *f)
H A Dbiosdisk.c107 static int bd_open(struct open_file *f, ...);
108 static int bd_close(struct open_file *f);
109 static int bd_ioctl(struct open_file *f, u_long cmd, void *data);
331 bd_open(struct open_file *f, ...)
351 bd_close(struct open_file *f)
365 bd_ioctl(struct open_file *f, u_long cmd, void *data)
H A Dpxe.c75 static int pxe_open(struct open_file *f, ...);
76 static int pxe_close(struct open_file *f);
256 pxe_open(struct open_file *f, ...)
338 pxe_close(struct open_file *f)
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c78 open_file(void) function
165 if ((fd = open_file()) < 0)
172 if (fd < 0 && (fd = open_file()) < 0)
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm.c284 open_file(char *fname, int flags) function
977 if ((muxfd = open_file(muxctl, oflags)) == -1) {
1159 if ((muxfd = open_file(muxctl, oflags)) != -1) {
1260 if ((muxfd = open_file(muxctl, oflags)) == -1) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c903 open_file() function
1515 device_fd = open_file();
1709 fd = open_file();
1930 fd = open_file();
2067 fd = open_file();
2338 device_fd = open_file();
2523 fd = open_file();
2682 fd = open_file();
2899 fd = open_file();
/illumos-gate/usr/src/boot/sys/boot/uboot/common/
H A Dmain.c333 struct open_file f;

Completed in 119 milliseconds

12