Home
last modified time | relevance | path

Searched refs:open_file (Results 1 – 25 of 259) sorted by relevance

1234567891011

/netbsd-src/sys/arch/vax/boot/boot/
H A Dvaxstand.h36 (int(*)(struct open_file *, ...))open, \
37 (int(*)(struct open_file *))close, \
38 (int(*)(struct open_file *,u_long, void *))ioctl}
48 int net_devinit(struct open_file *f, struct netif_driver *drv, u_char *eaddr);
52 int raopen(struct open_file *, int, int, int, int),
54 int hpopen(struct open_file *, int, int, int, int),
56 int ctuopen(struct open_file *, int, int, int, int),
58 int tmscpopen(struct open_file *, int, int, int, int),
60 int romopen(struct open_file *, int, int, int, int),
62 romioctl(struct open_file *, u_long, void *);
[all …]
/netbsd-src/sys/lib/libsa/
H A Dstand.h83 struct open_file;
86 extern __compactcall int __CONCAT(fs,_open)(const char *, struct open_file *); \
87 extern __compactcall int __CONCAT(fs,_close)(struct open_file *); \
88 extern __compactcall int __CONCAT(fs,_read)(struct open_file *, void *, \
90 extern __compactcall int __CONCAT(fs,_write)(struct open_file *, void *, \
92 extern __compactcall off_t __CONCAT(fs,_seek)(struct open_file *, off_t, int); \
93 extern __compactcall int __CONCAT(fs,_stat)(struct open_file *, struct stat *)
98 extern __compactcall void __CONCAT(fs,_ls)(struct open_file *, const char *)
112 __compactcall int (*open)(const char *, struct open_file *);
113 __compactcall int (*close)(struct open_file *);
[all …]
H A Dnullfs.c70 null_open(const char *path, struct open_file *f) in null_open()
78 null_close(struct open_file *f) in null_close()
86 null_read(struct open_file *f, void *buf, size_t size, size_t *resid) in null_read()
94 null_write(struct open_file *f, void *buf, size_t size, size_t *resid) in null_write()
103 null_seek(struct open_file *f, off_t offset, int where) in null_seek()
111 null_stat(struct open_file *f, struct stat *sb) in null_stat()
120 null_ls(struct open_file *f, const char *pattern) in null_ls()
H A Dustarfs.c145 static int get_volume(struct open_file *, int);
147 static int real_fs_cylinder_read(struct open_file *, ustoffs, int);
148 static int ustarfs_cylinder_read(struct open_file *, ustoffs, int);
150 static int read512block(struct open_file *, ustoffs, char block[512]);
151 static int init_volzero_sig(struct open_file *);
159 void changedisk_hook(struct open_file *);
189 ustarfs_cylinder_read(struct open_file *f, ustoffs seek2, int forcelabel) in ustarfs_cylinder_read()
202 real_fs_cylinder_read(struct open_file *f, ustoffs seek2, int forcelabel) in real_fs_cylinder_read()
265 get_volume(struct open_file *f, int vn) in get_volume()
319 read512block(struct open_file *f, ustoffs vda, char block[512]) in read512block()
[all …]
/netbsd-src/sys/arch/hppa/stand/common/
H A Dlibsa.h59 int ctopen(struct open_file *, ...);
60 int ctclose(struct open_file *);
62 int dkopen(struct open_file *, ...);
63 int dkclose(struct open_file *);
65 int lfopen(struct open_file *, ...);
67 int lfclose(struct open_file *);
79 int lif_open(const char *, struct open_file *);
80 int lif_close(struct open_file *);
81 int lif_read(struct open_file *, void *, size_t, size_t *);
82 int lif_write(struct open_file *, void *, size_t, size_t *);
[all …]
/netbsd-src/sys/arch/ia64/stand/efi/libefi/
H A Defifsdev.h29 int efifs_dev_open(struct open_file *, ...);
30 int efifs_dev_close(struct open_file *);
33 int efifs_open(const char *, struct open_file *);
34 int efifs_close(struct open_file *);
35 int efifs_read(struct open_file *, void *, size_t, size_t *);
36 int efifs_write(struct open_file *, void *, size_t, size_t *);
37 off_t efifs_seek(struct open_file *, off_t, int );
38 int efifs_stat(struct open_file *, struct stat *);
39 int efifs_readdir(struct open_file *f, struct dirent *d);
/netbsd-src/sys/arch/bebox/stand/boot/
H A Dconf.c38 extern int fdopen(struct open_file *, ...);
39 extern int fdclose(struct open_file *);
42 extern int inopen(struct open_file *, ...);
43 extern int inclose(struct open_file *);
46 extern int sdopen(struct open_file *, ...);
47 extern int sdclose(struct open_file *);
50 extern int wdopen(struct open_file *, ...);
51 extern int wdclose(struct open_file *);
/netbsd-src/sys/arch/hp300/stand/common/
H A Dconf.h35 int netopen(struct open_file *, ...);
36 int netclose(struct open_file *);
41 int ctopen(struct open_file *, ...);
42 int ctclose(struct open_file *);
48 int rdopen(struct open_file *, ...);
49 int rdclose(struct open_file *);
52 int sdopen(struct open_file *, ...);
53 int sdclose(struct open_file *);
H A Drawfs.h8 int rawfs_open(const char *, struct open_file *);
9 int rawfs_close(struct open_file *);
10 int rawfs_read(struct open_file *, void *, u_int, u_int *);
11 int rawfs_write(struct open_file *, void *, u_int, u_int *);
12 off_t rawfs_seek(struct open_file *, off_t, int);
13 int rawfs_stat(struct open_file *, struct stat *);
H A Drawfs.c56 static int rawfs_get_block(struct open_file *);
59 rawfs_open(const char *path, struct open_file *f) in rawfs_open()
81 rawfs_close(struct open_file *f) in rawfs_close()
99 rawfs_read(struct open_file *f, void *start, u_int size, u_int *resid) in rawfs_read()
137 rawfs_write(struct open_file *f, void *start, size_t size, size_t *resid) in rawfs_write()
147 rawfs_seek(struct open_file *f, off_t offset, int where) in rawfs_seek()
157 rawfs_stat(struct open_file *f, struct stat *sb) in rawfs_stat()
177 rawfs_get_block(struct open_file *f) in rawfs_get_block()
/netbsd-src/sys/arch/ia64/stand/ia64/ski/
H A Dconf.c49 extern int skifs_dev_open(struct open_file *, ...);
50 extern int skifs_dev_close(struct open_file *);
52 extern int skifs_open(const char *, struct open_file *);
53 extern int skifs_close(struct open_file *);
54 extern int skifs_read(struct open_file *, void *, size_t, size_t *);
58 extern off_t skifs_seek(struct open_file *, off_t, int);
59 extern int skifs_stat(struct open_file *, struct stat *);
H A Dskifs.c51 skifs_open(const char *path, struct open_file *f) in skifs_open()
72 skifs_close(struct open_file *f) in skifs_close()
79 skifs_read(struct open_file *f, void *buf, size_t size, size_t *resid) in skifs_read()
96 skifs_seek(struct open_file *f, off_t offset, int where) in skifs_seek()
120 skifs_stat(struct open_file *f, struct stat *sb) in skifs_stat()
128 skifs_readdir(struct open_file *f, struct dirent *d) in skifs_readdir()
158 skifs_dev_open(struct open_file *f, ...) in skifs_dev_open()
164 skifs_dev_close(struct open_file *f) in skifs_dev_close()
/netbsd-src/sys/arch/macppc/stand/ofwboot/
H A Dhfs.h3 int hfs_open(const char *, struct open_file *);
4 int hfs_close(struct open_file *);
5 int hfs_read(struct open_file *, void *, size_t, size_t *);
6 int hfs_write(struct open_file *, void *, size_t, size_t *);
7 off_t hfs_seek(struct open_file *, off_t, int);
8 int hfs_stat(struct open_file *, struct stat *);
H A Dhfs.c39 hfs_open(const char *path, struct open_file *f) in hfs_open()
61 hfs_close(struct open_file *f) in hfs_close()
68 hfs_read(struct open_file *f, void *start, size_t size, size_t *resid) in hfs_read()
80 hfs_write(struct open_file *f, void *start, size_t size, size_t *resid) in hfs_write()
87 hfs_seek(struct open_file *f, off_t offset, int where) in hfs_seek()
100 hfs_stat(struct open_file *f, struct stat *sb) in hfs_stat()
/netbsd-src/sys/arch/sun68k/stand/tapeboot/
H A Drawfs.h8 int rawfs_open(const char *, struct open_file *);
9 int rawfs_close(struct open_file *);
10 int rawfs_read(struct open_file *, void *, u_int, u_int *);
11 int rawfs_write(struct open_file *, void *, u_int, u_int *);
12 off_t rawfs_seek(struct open_file *, off_t, int);
13 int rawfs_stat(struct open_file *, struct stat *);
H A Drawfs.c57 static int rawfs_get_block(struct open_file *);
60 rawfs_open(const char *path, struct open_file *f) in rawfs_open()
83 rawfs_close(struct open_file *f) in rawfs_close()
104 rawfs_read(struct open_file *f, void *start, u_int size, u_int *resid) in rawfs_read()
136 rawfs_write(struct open_file *f, void *start, size_t size, size_t *resid) in rawfs_write()
145 rawfs_seek(struct open_file *f, off_t offset, int where) in rawfs_seek()
185 rawfs_stat(struct open_file *f, struct stat *sb) in rawfs_stat()
199 rawfs_get_block(struct open_file *f) in rawfs_get_block()
/netbsd-src/sys/arch/acorn32/stand/lib/
H A Driscosfile.h30 int riscos_open(const char *, struct open_file *);
31 int riscos_read(struct open_file *, void *, size_t, size_t *);
32 int riscos_close(struct open_file *);
33 int riscos_write(struct open_file *, void *, size_t, size_t *);
34 int riscos_stat(struct open_file *, struct stat *);
35 off_t riscos_seek(struct open_file *, off_t, int);
/netbsd-src/sys/arch/hpcmips/stand/libsa/
H A Dwinfs.h38 int win_open(char *path, struct open_file *f);
39 int win_read(struct open_file *f,void *addr,
41 int win_close(struct open_file *f);
42 int win_write(struct open_file *f,void *addr,
44 int win_stat(struct open_file *f, struct stat *sb);
45 off_t win_seek(struct open_file *f, off_t offset, int where);
/netbsd-src/sys/arch/mvme68k/stand/bootst/
H A Drawfs.h8 int rawfs_open(const char *path, struct open_file *f);
9 int rawfs_close(struct open_file *f);
10 int rawfs_read(struct open_file *f, void *buf, u_int size, u_int *resid);
11 int rawfs_write(struct open_file *f, void *buf, u_int size, u_int *resid);
12 off_t rawfs_seek(struct open_file *f, off_t offset, int where);
13 int rawfs_stat(struct open_file *f, struct stat *sb);
H A Drawfs.c55 static int rawfs_get_block(struct open_file *);
57 int rawfs_open(const char *path, struct open_file *f) in rawfs_open()
75 int rawfs_close(struct open_file *f) in rawfs_close()
88 int rawfs_read(struct open_file *f, void *start, u_int size, u_int *resid) in rawfs_read()
125 int rawfs_write(struct open_file *f, void *start, size_t size, size_t *resid) in rawfs_write()
132 off_t rawfs_seek(struct open_file *f, off_t offset, int where) in rawfs_seek()
202 int rawfs_stat(struct open_file *f, struct stat *sb) in rawfs_stat()
215 rawfs_get_block(struct open_file *f) in rawfs_get_block()
/netbsd-src/sys/arch/x68k/stand/libsa/
H A Dlibx68k.h53 int sdopen(struct open_file *, ...);
55 int sdcdclose(struct open_file *);
57 int cdopen(struct open_file *, ...);
61 int fdopen(struct open_file *, ...);
62 int fdclose(struct open_file *);
69 int changedisk_hook(struct open_file *);
/netbsd-src/sys/arch/atari/stand/libsa/
H A Ddiskio.c43 static int rootopen(struct open_file *, ...);
44 static int rootclose(struct open_file *);
45 static int rootioctl(struct open_file *, u_long, void *);
84 devopen (struct open_file *f, const char *fname, char **file) in devopen()
110 rootopen (struct open_file *f, ...) in rootopen()
116 rootclose (struct open_file *f) in rootclose()
122 rootioctl (struct open_file *f, u_long cmd, void *data) in rootioctl()
/netbsd-src/sys/arch/zaurus/stand/zboot/
H A Dpathfs.c34 pathfs_open(const char *path, struct open_file *fd) in pathfs_open()
45 pathfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid) in pathfs_read()
65 pathfs_write(struct open_file *fd, void *vbuf, size_t size, size_t *resid) in pathfs_write()
72 pathfs_seek(struct open_file *fd, off_t offset, int whence) in pathfs_seek()
79 pathfs_close(struct open_file *fd) in pathfs_close()
86 pathfs_stat(struct open_file *fd, struct stat *sb) in pathfs_stat()
110 pathfs_ls(struct open_file *f, const char *pattern) in pathfs_ls()
/netbsd-src/sys/arch/sandpoint/stand/altboot/
H A Dmemfs.c44 mem_open(const char *path, struct open_file *f) in mem_open()
59 mem_close(struct open_file *f) in mem_close()
68 mem_read(struct open_file *f, void *buf, size_t size, size_t *resid) in mem_read()
82 mem_write(struct open_file *f, void *buf, size_t size, size_t *resid) in mem_write()
97 mem_seek(struct open_file *f, off_t offset, int where) in mem_seek()
118 mem_stat(struct open_file *f, struct stat *sb) in mem_stat()
/netbsd-src/sys/arch/newsmips/stand/boot/
H A Ddevopen.c46 int dkopen(struct open_file *, ...);
47 int dkclose(struct open_file *);
50 void changedisk_hook(struct open_file *);
73 devopen(struct open_file *f, const char *fname, char **file) in devopen()
126 dkopen(struct open_file *f, ...) in dkopen()
134 dkclose(struct open_file *f) in dkclose()
168 changedisk_hook(struct open_file *f) in changedisk_hook()

1234567891011