| /openbsd-src/sys/arch/arm64/stand/efiboot/ |
| H A D | efidev.h | 33 int efiopen(struct open_file *, ...); 35 int eficlose(struct open_file *); 36 int efiioctl(struct open_file *, u_long, void *); 38 int esp_open(char *, struct open_file *); 39 int esp_close(struct open_file *); 40 int esp_read(struct open_file *, void *, size_t, size_t *); 41 int esp_write(struct open_file *, void *, size_t, size_t *); 42 off_t esp_seek(struct open_file *, off_t, int); 43 int esp_stat(struct open_file *, struct stat *); 44 int esp_readdir(struct open_file *, char *); [all …]
|
| H A D | efipxe.h | 20 int efitftp_open(char *path, struct open_file *f); 22 int mtftp_open(char *, struct open_file *); 23 int mtftp_close(struct open_file *); 24 int mtftp_read(struct open_file *, void *, size_t, size_t *); 25 int mtftp_write(struct open_file *, void *, size_t, size_t *); 26 off_t mtftp_seek(struct open_file *, off_t, int); 27 int mtftp_stat(struct open_file *, struct stat *); 28 int mtftp_readdir(struct open_file *, char *); 30 int tftpopen(struct open_file *, ...); 31 int tftpclose(struct open_file *); [all …]
|
| /openbsd-src/sys/arch/riscv64/stand/efiboot/ |
| H A D | efipxe.h | 20 int efitftp_open(char *path, struct open_file *f); 22 int mtftp_open(char *, struct open_file *); 23 int mtftp_close(struct open_file *); 24 int mtftp_read(struct open_file *, void *, size_t, size_t *); 25 int mtftp_write(struct open_file *, void *, size_t, size_t *); 26 off_t mtftp_seek(struct open_file *, off_t, int); 27 int mtftp_stat(struct open_file *, struct stat *); 28 int mtftp_readdir(struct open_file *, char *); 30 int tftpopen(struct open_file *, ...); 31 int tftpclose(struct open_file *); [all …]
|
| /openbsd-src/sys/arch/armv7/stand/efiboot/ |
| H A D | efipxe.h | 20 int efitftp_open(char *path, struct open_file *f); 22 int mtftp_open(char *, struct open_file *); 23 int mtftp_close(struct open_file *); 24 int mtftp_read(struct open_file *, void *, size_t, size_t *); 25 int mtftp_write(struct open_file *, void *, size_t, size_t *); 26 off_t mtftp_seek(struct open_file *, off_t, int); 27 int mtftp_stat(struct open_file *, struct stat *); 28 int mtftp_readdir(struct open_file *, char *); 30 int tftpopen(struct open_file *, ...); 31 int tftpclose(struct open_file *); [all …]
|
| /openbsd-src/sys/lib/libsa/ |
| H A D | stand.h | 45 struct open_file; 61 int (*open)(char *path, struct open_file *f); 62 int (*close)(struct open_file *f); 63 int (*read)(struct open_file *f, void *buf, 65 int (*write)(struct open_file *f, void *buf, 67 off_t (*seek)(struct open_file *f, off_t offset, int where); 68 int (*stat)(struct open_file *f, struct stat *sb); 69 int (*readdir)(struct open_file *f, char *); 70 int (*fchmod)(struct open_file *f, mode_t); 87 int (*dv_open)(struct open_file *f, ...); [all …]
|
| H A D | ufs2.h | 32 int ufs2_open(char *, struct open_file *); 33 int ufs2_close(struct open_file *); 34 int ufs2_read(struct open_file *, void *, size_t, size_t *); 35 int ufs2_write(struct open_file *, void *, size_t, size_t *); 36 int ufs2_stat(struct open_file *, struct stat *); 37 int ufs2_readdir(struct open_file *, char *); 38 off_t ufs2_seek(struct open_file *, off_t, int); 39 int ufs2_fchmod(struct open_file *, mode_t);
|
| H A D | ufs.h | 35 int ufs_open(char *path, struct open_file *f); 36 int ufs_close(struct open_file *f); 37 int ufs_read(struct open_file *f, void *buf, 39 int ufs_write(struct open_file *f, void *buf, 41 off_t ufs_seek(struct open_file *f, off_t offset, int where); 42 int ufs_stat(struct open_file *f, struct stat *sb); 43 int ufs_readdir(struct open_file *f, char *name); 44 int ufs_fchmod(struct open_file *f, mode_t mode);
|
| H A D | cd9660.h | 35 int cd9660_open(char *path, struct open_file *f); 36 int cd9660_close(struct open_file *f); 37 int cd9660_read(struct open_file *f, void *buf, 39 int cd9660_write(struct open_file *f, void *buf, 41 off_t cd9660_seek(struct open_file *f, off_t offset, int where); 42 int cd9660_stat(struct open_file *f, struct stat *sb); 43 int cd9660_readdir(struct open_file *f, char *name);
|
| H A D | nfs.h | 33 int nfs_open(char *path, struct open_file *f); 34 int nfs_close(struct open_file *f); 35 int nfs_read(struct open_file *f, void *buf, 37 int nfs_write(struct open_file *f, void *buf, 39 off_t nfs_seek(struct open_file *f, off_t offset, int where); 40 int nfs_stat(struct open_file *f, struct stat *sb); 42 int nfs_readdir(struct open_file *f, char *name);
|
| H A D | nullfs.c | 70 null_open(char *path, struct open_file *f) in null_open() 76 null_close(struct open_file *f) in null_close() 82 null_read(struct open_file *f, void *buf, size_t size, size_t *resid) in null_read() 88 null_write(struct open_file *f, void *buf, size_t size, size_t *resid) in null_write() 94 null_seek(struct open_file *f, off_t offset, int where) in null_seek() 101 null_stat(struct open_file *f, struct stat *sb) in null_stat() 108 null_readdir(struct open_file *f, char *name) in null_readdir()
|
| H A D | tftp.h | 106 int tftp_open(char *, struct open_file *); 107 int tftp_close(struct open_file *); 108 int tftp_read(struct open_file *, void *, size_t, size_t *); 109 int tftp_write(struct open_file *, void *, size_t, size_t *); 110 off_t tftp_seek(struct open_file *, off_t, int); 111 int tftp_stat(struct open_file *, struct stat *); 112 int tftp_readdir(struct open_file *, char *);
|
| H A D | ufs2.c | 97 static int read_inode(ufsino_t, struct open_file *); 98 static int chmod_inode(ufsino_t, struct open_file *, mode_t); 99 static int block_map(struct open_file *, daddr_t, daddr_t *); 100 static int buf_read_file(struct open_file *, char **, size_t *); 101 static int search_directory(char *, struct open_file *, ufsino_t *); 111 read_inode(ufsino_t inumber, struct open_file *f) in read_inode() 160 chmod_inode(ufsino_t inumber, struct open_file *f, mode_t mode) in chmod_inode() 203 block_map(struct open_file *f, daddr_t file_block, daddr_t *disk_block_p) in block_map() 300 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() 358 search_directory(char *name, struct open_file *f, ufsino_t *inumber_p) in search_directory() [all …]
|
| H A D | ufs.c | 98 static int read_inode(ufsino_t, struct open_file *); 99 static int chmod_inode(ufsino_t, struct open_file *, mode_t); 100 static int block_map(struct open_file *, daddr32_t, daddr32_t *); 101 static int buf_read_file(struct open_file *, char **, size_t *); 102 static int search_directory(char *, struct open_file *, ufsino_t *); 112 read_inode(ufsino_t inumber, struct open_file *f) in read_inode() 162 chmod_inode(ufsino_t inumber, struct open_file *f, mode_t mode) in chmod_inode() 207 block_map(struct open_file *f, daddr32_t file_block, daddr32_t *disk_block_p) in block_map() 304 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() 362 search_directory(char *name, struct open_file *f, ufsino_t *inumber_p) in search_directory() [all …]
|
| /openbsd-src/sys/arch/hppa/stand/libsa/ |
| H A D | libsa.h | 42 int ctopen(struct open_file *, ...); 43 int ctclose(struct open_file *); 45 int dkopen(struct open_file *, ...); 46 int dkclose(struct open_file *); 48 int lfopen(struct open_file *, ...); 50 int lfclose(struct open_file *); 63 int lif_open(char *path, struct open_file *f); 64 int lif_close(struct open_file *f); 65 int lif_read(struct open_file *f, void *buf, size_t size, size_t *resid); 66 int lif_write(struct open_file *f, void *buf, size_t size, size_t *resid); [all …]
|
| /openbsd-src/sys/arch/loongson/stand/boot/ |
| H A D | libsa.h | 43 int pmon_ioopen(struct open_file *, ...); 44 int pmon_ioclose(struct open_file *); 50 int rd_ioopen(struct open_file *, ...); 51 int rd_ioclose(struct open_file *); 58 int rdfs_open(char *path, struct open_file *f); 59 int rdfs_close(struct open_file *f); 60 int rdfs_read(struct open_file *f, void *buf, size_t size, size_t *resid); 61 int rdfs_write(struct open_file *f, void *buf, size_t size, size_t *resid); 62 off_t rdfs_seek(struct open_file *f, off_t offset, int where); 63 int rdfs_stat(struct open_file *f, struct stat *sb); [all …]
|
| H A D | rd.c | 39 rd_ioopen(struct open_file *f, ...) in rd_ioopen() 45 rd_ioclose(struct open_file *f) in rd_ioclose() 74 rdfs_open(char *path, struct open_file *f) in rdfs_open() 88 rdfs_close(struct open_file *f) in rdfs_close() 94 rdfs_read(struct open_file *f, void *buf, size_t size, size_t *resid) in rdfs_read() 106 rdfs_write(struct open_file *f, void *buf, size_t size, size_t *resid) in rdfs_write() 112 rdfs_seek(struct open_file *f, off_t offset, int whence) in rdfs_seek() 130 rdfs_stat(struct open_file *f, struct stat *sb) in rdfs_stat() 137 rdfs_readdir(struct open_file *f, char *path) in rdfs_readdir()
|
| /openbsd-src/sys/arch/landisk/stand/xxboot/ |
| H A D | ufs12.h | 35 int ufs12_open(char *path, struct open_file *f); 36 int ufs12_close(struct open_file *f); 37 int ufs12_read(struct open_file *f, void *buf, 39 int ufs12_write(struct open_file *f, void *buf, 41 off_t ufs12_seek(struct open_file *f, off_t offset, int where); 42 int ufs12_stat(struct open_file *f, struct stat *sb); 43 int ufs12_readdir(struct open_file *f, char *name); 44 int ufs12_fchmod(struct open_file *f, mode_t mode);
|
| H A D | boot1.c | 47 int blkdevopen(struct open_file *, ...); 48 int blkdevclose(struct open_file *); 109 blkdevopen(struct open_file *f, ...) in blkdevopen() 114 blkdevclose(struct open_file *f) in blkdevclose() 149 devopen(struct open_file *f, const char *fname, char **file) in devopen()
|
| H A D | ufs12.c | 102 static int read_inode(ufsino_t, struct open_file *); 104 static int chmod_inode(ufsino_t, struct open_file *, mode_t); 106 static int block_map(struct open_file *, daddr_t, daddr_t *); 107 static int buf_read_file(struct open_file *, char **, size_t *); 108 static int search_directory(char *, struct open_file *, ufsino_t *); 118 read_inode(ufsino_t inumber, struct open_file *f) in read_inode() 173 chmod_inode(ufsino_t inumber, struct open_file *f, mode_t mode) 222 block_map(struct open_file *f, daddr_t file_block, daddr_t *disk_block_p) in block_map() 325 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() 391 search_directory(char *name, struct open_file *f, ufsino_t *inumber_p) in search_directory() [all …]
|
| /openbsd-src/sys/arch/macppc/stand/ |
| H A D | hfs.h | 4 int hfs_open(char *, struct open_file *); 5 int hfs_close(struct open_file *); 6 int hfs_read(struct open_file *, void *, size_t, size_t *); 7 int hfs_write(struct open_file *, void *, size_t, size_t *); 8 off_t hfs_seek(struct open_file *, off_t, int); 9 int hfs_stat(struct open_file *, struct stat *); 10 int hfs_readdir(struct open_file *, char *);
|
| H A D | hfs.c | 40 hfs_open(char *path, struct open_file *f) in hfs_open() 62 hfs_close(struct open_file *f) in hfs_close() 69 hfs_read(struct open_file *f, void *start, size_t size, size_t *resid) in hfs_read() 83 hfs_write(struct open_file *f, void *start, size_t size, size_t *resid) in hfs_write() 90 hfs_seek(struct open_file *f, off_t offset, int where) in hfs_seek() 103 hfs_stat(struct open_file *f, struct stat *sb) in hfs_stat() 109 hfs_readdir(struct open_file *f, char *name) in hfs_readdir()
|
| /openbsd-src/sys/arch/amd64/stand/efiboot/ |
| H A D | efipxe.c | 122 tftp_open(char *path, struct open_file *f) in tftp_open() 171 tftp_close(struct open_file *f) in tftp_close() 183 tftp_read(struct open_file *f, void *addr, size_t size, size_t *resid) in tftp_read() 204 tftp_write(struct open_file *f, void *start, size_t size, size_t *resid) in tftp_write() 210 tftp_seek(struct open_file *f, off_t offset, int where) in tftp_seek() 240 tftp_stat(struct open_file *f, struct stat *sb) in tftp_stat() 254 tftp_readdir(struct open_file *f, char *name) in tftp_readdir() 263 tftpopen(struct open_file *f, ...) in tftpopen() 289 tftpclose(struct open_file *f) in tftpclose() 295 tftpioctl(struct open_file *f, u_long cmd, void *data) in tftpioctl()
|
| /openbsd-src/sys/arch/i386/stand/libsa/ |
| H A D | biosdev.h | 43 struct open_file; 49 int biosopen(struct open_file *, ...); 50 int biosclose(struct open_file *); 51 int biosioctl(struct open_file *, u_long, void *);
|
| /openbsd-src/sys/arch/amd64/stand/libsa/ |
| H A D | biosdev.h | 43 struct open_file; 49 int biosopen(struct open_file *, ...); 50 int biosclose(struct open_file *); 51 int biosioctl(struct open_file *, u_long, void *);
|
| H A D | pxe_net.h | 34 int net_open(struct open_file *, ...); 35 int net_close(struct open_file *); 36 int net_ioctl(struct open_file *, u_long, void *);
|