Searched refs:openflags (Results 1 – 6 of 6) sorted by relevance
| /linux/arch/um/include/shared/ |
| H A D | os.h | 65 struct openflags { struct 76 #define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \ argument 79 static inline struct openflags of_read(struct openflags flags) in of_read() 85 static inline struct openflags of_write(struct openflags flags) in of_write() 91 static inline struct openflags of_rdwr(struct openflags flags) in of_rdwr() 96 static inline struct openflags of_set_rw(struct openflags flags, int r, int w) in of_set_rw() 103 static inline struct openflags of_sync(struct openflags flags) in of_sync() 109 static inline struct openflags of_create(struct openflags flags) in of_create() 115 static inline struct openflags of_trunc(struct openflags flags) in of_trunc() 121 static inline struct openflags of_append(struct openflags flags) in of_append() [all …]
|
| /linux/arch/um/drivers/ |
| H A D | ubd_kern.c | 123 #define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 1, .c = 0, \ 126 #define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 0, .c = 0, \ 129 static struct openflags global_openflags = OPEN_FLAGS; 151 struct openflags boot_openflags; 152 struct openflags openflags; member 177 .openflags = OPEN_FLAGS, \ 229 struct openflags flags = global_openflags; in ubd_setup_common() 601 static int open_ubd_file(char *file, struct openflags *openflags, int shared, in open_ubd_file() argument 612 fd = os_open_file(file, *openflags, mode); in open_ubd_file() 616 if (!openflags->w || in open_ubd_file() [all …]
|
| /linux/fs/nfs/ |
| H A D | nfs4file.c | 35 unsigned openflags = filp->f_flags; in nfs4_file_open() local 50 err = nfs_check_flags(openflags); in nfs4_file_open() 55 openflags &= ~(O_CREAT|O_EXCL); in nfs4_file_open() 61 flags_to_mode(openflags), filp); in nfs4_file_open() 67 if (openflags & O_TRUNC) { in nfs4_file_open() 73 inode = NFS_PROTO(dir)->open_context(dir, ctx, openflags, &attr, NULL); in nfs4_file_open()
|
| H A D | nfs4proc.c | 1311 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share() argument 1318 if (openflags & O_DIRECT) { in nfs4_map_atomic_open_share() 2171 int openflags = opendata->o_arg.open_flags; in nfs4_open_recover_helper() local 2178 nfs4_map_atomic_open_share(server, fmode, openflags); in nfs4_open_recover_helper()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 144 int os_file_mode(const char *file, struct openflags *mode_out) in os_file_mode() 165 int os_open_file(const char *file, struct openflags flags, int mode) in os_open_file()
|
| /linux/include/linux/ |
| H A D | nfs_fs.h | 588 extern int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags);
|