openflags         125 arch/um/drivers/ubd_kern.c #define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 1, .c = 0, \
openflags         128 arch/um/drivers/ubd_kern.c #define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 0, .c = 0, \
openflags         131 arch/um/drivers/ubd_kern.c static struct openflags global_openflags = OPEN_FLAGS;
openflags         153 arch/um/drivers/ubd_kern.c 	struct openflags boot_openflags;
openflags         154 arch/um/drivers/ubd_kern.c 	struct openflags openflags;
openflags         179 arch/um/drivers/ubd_kern.c 	.openflags =		OPEN_FLAGS, \
openflags         266 arch/um/drivers/ubd_kern.c 	struct openflags flags = global_openflags;
openflags         669 arch/um/drivers/ubd_kern.c static int open_ubd_file(char *file, struct openflags *openflags, int shared,
openflags         680 arch/um/drivers/ubd_kern.c 	fd = os_open_file(file, *openflags, mode);
openflags         684 arch/um/drivers/ubd_kern.c 		if (!openflags->w ||
openflags         687 arch/um/drivers/ubd_kern.c 		openflags->w = 0;
openflags         688 arch/um/drivers/ubd_kern.c 		fd = os_open_file(file, *openflags, mode);
openflags         696 arch/um/drivers/ubd_kern.c 		err = os_lock_file(fd, openflags->w);
openflags         749 arch/um/drivers/ubd_kern.c 		    struct openflags flags,
openflags         787 arch/um/drivers/ubd_kern.c 	struct openflags flags;
openflags         792 arch/um/drivers/ubd_kern.c 	ubd_dev->openflags = ubd_dev->boot_openflags;
openflags         797 arch/um/drivers/ubd_kern.c 	fd = open_ubd_file(ubd_dev->file, &ubd_dev->openflags, ubd_dev->shared,
openflags         804 arch/um/drivers/ubd_kern.c 					  ubd_dev->openflags, SECTOR_SIZE, PAGE_SIZE,
openflags         838 arch/um/drivers/ubd_kern.c 		flags = ubd_dev->openflags;
openflags        1229 arch/um/drivers/ubd_kern.c 	set_disk_ro(disk, !ubd_dev->openflags.w);
openflags          71 arch/um/include/shared/os.h #define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \
openflags          74 arch/um/include/shared/os.h static inline struct openflags of_read(struct openflags flags)
openflags          80 arch/um/include/shared/os.h static inline struct openflags of_write(struct openflags flags)
openflags          86 arch/um/include/shared/os.h static inline struct openflags of_rdwr(struct openflags flags)
openflags          91 arch/um/include/shared/os.h static inline struct openflags of_set_rw(struct openflags flags, int r, int w)
openflags          98 arch/um/include/shared/os.h static inline struct openflags of_sync(struct openflags flags)
openflags         104 arch/um/include/shared/os.h static inline struct openflags of_create(struct openflags flags)
openflags         110 arch/um/include/shared/os.h static inline struct openflags of_trunc(struct openflags flags)
openflags         116 arch/um/include/shared/os.h static inline struct openflags of_append(struct openflags flags)
openflags         122 arch/um/include/shared/os.h static inline struct openflags of_excl(struct openflags flags)
openflags         128 arch/um/include/shared/os.h static inline struct openflags of_cloexec(struct openflags flags)
openflags         146 arch/um/include/shared/os.h extern int os_open_file(const char *file, struct openflags flags, int mode);
openflags         166 arch/um/include/shared/os.h extern int os_file_mode(const char *file, struct openflags *mode_out);
openflags         155 arch/um/os-Linux/file.c int os_file_mode(const char *file, struct openflags *mode_out)
openflags         176 arch/um/os-Linux/file.c int os_open_file(const char *file, struct openflags flags, int mode)
openflags        2543 fs/nfs/dir.c   static int nfs_open_permission_mask(int openflags)
openflags        2547 fs/nfs/dir.c   	if (openflags & __FMODE_EXEC) {
openflags        2551 fs/nfs/dir.c   		if ((openflags & O_ACCMODE) != O_WRONLY)
openflags        2553 fs/nfs/dir.c   		if ((openflags & O_ACCMODE) != O_RDONLY)
openflags        2560 fs/nfs/dir.c   int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags)
openflags        2562 fs/nfs/dir.c   	return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags));
openflags          32 fs/nfs/nfs4file.c 	unsigned openflags = filp->f_flags;
openflags          47 fs/nfs/nfs4file.c 	err = nfs_check_flags(openflags);
openflags          51 fs/nfs/nfs4file.c 	if ((openflags & O_ACCMODE) == 3)
openflags          55 fs/nfs/nfs4file.c 	openflags &= ~(O_CREAT|O_EXCL);
openflags          66 fs/nfs/nfs4file.c 	if (openflags & O_TRUNC) {
openflags          72 fs/nfs/nfs4file.c 	inode = NFS_PROTO(dir)->open_context(dir, ctx, openflags, &attr, NULL);
openflags        1214 fs/nfs/nfs4proc.c 		fmode_t fmode, int openflags)
openflags        1231 fs/nfs/nfs4proc.c 	if (openflags & O_DIRECT)
openflags        2562 fs/nfs/nfs4proc.c 				int openflags)
openflags        2577 fs/nfs/nfs4proc.c 	if (openflags & __FMODE_EXEC) {
openflags         498 include/linux/nfs_fs.h extern int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags);
openflags         332 init/initramfs.c 			int openflags = O_WRONLY|O_CREAT;
openflags         334 init/initramfs.c 				openflags |= O_TRUNC;
openflags         335 init/initramfs.c 			wfd = ksys_open(collected, openflags, mode);