Home
last modified time | relevance | path

Searched refs:openflags (Results 1 – 3 of 3) sorted by relevance

/arch/um/include/shared/
Dos.h56 struct openflags { struct
67 #define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \ argument
70 static inline struct openflags of_read(struct openflags flags) in of_read()
76 static inline struct openflags of_write(struct openflags flags) in of_write()
82 static inline struct openflags of_rdwr(struct openflags flags) in of_rdwr()
87 static inline struct openflags of_set_rw(struct openflags flags, int r, int w) in of_set_rw()
94 static inline struct openflags of_sync(struct openflags flags) in of_sync()
100 static inline struct openflags of_create(struct openflags flags) in of_create()
106 static inline struct openflags of_trunc(struct openflags flags) in of_trunc()
112 static inline struct openflags of_append(struct openflags flags) in of_append()
[all …]
/arch/um/drivers/
Dubd_kern.c111 #define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 1, .c = 0, \
114 #define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 0, .c = 0, \
117 static struct openflags global_openflags = OPEN_FLAGS;
140 struct openflags boot_openflags;
141 struct openflags openflags; member
168 .openflags = OPEN_FLAGS, \
267 struct openflags flags = global_openflags; in ubd_setup_common()
615 static int open_ubd_file(char *file, struct openflags *openflags, int shared, in open_ubd_file() argument
626 fd = os_open_file(file, *openflags, mode); in open_ubd_file()
630 if (!openflags->w || in open_ubd_file()
[all …]
/arch/um/os-Linux/
Dfile.c151 int os_file_mode(const char *file, struct openflags *mode_out) in os_file_mode()
172 int os_open_file(const char *file, struct openflags flags, int mode) in os_open_file()