Symbol: openflags
arch/um/drivers/ubd_kern.c
123
#define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 1, .c = 0, \
arch/um/drivers/ubd_kern.c
126
#define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 0, .c = 0, \
arch/um/drivers/ubd_kern.c
129
static struct openflags global_openflags = OPEN_FLAGS;
arch/um/drivers/ubd_kern.c
151
struct openflags boot_openflags;
arch/um/drivers/ubd_kern.c
152
struct openflags openflags;
arch/um/drivers/ubd_kern.c
177
.openflags = OPEN_FLAGS, \
arch/um/drivers/ubd_kern.c
229
struct openflags flags = global_openflags;
arch/um/drivers/ubd_kern.c
601
static int open_ubd_file(char *file, struct openflags *openflags, int shared,
arch/um/drivers/ubd_kern.c
612
fd = os_open_file(file, *openflags, mode);
arch/um/drivers/ubd_kern.c
616
if (!openflags->w ||
arch/um/drivers/ubd_kern.c
619
openflags->w = 0;
arch/um/drivers/ubd_kern.c
620
fd = os_open_file(file, *openflags, mode);
arch/um/drivers/ubd_kern.c
628
err = os_lock_file(fd, openflags->w);
arch/um/drivers/ubd_kern.c
681
struct openflags flags,
arch/um/drivers/ubd_kern.c
719
struct openflags flags;
arch/um/drivers/ubd_kern.c
724
ubd_dev->openflags = ubd_dev->boot_openflags;
arch/um/drivers/ubd_kern.c
729
fd = open_ubd_file(ubd_dev->file, &ubd_dev->openflags, ubd_dev->shared,
arch/um/drivers/ubd_kern.c
736
ubd_dev->openflags, SECTOR_SIZE, PAGE_SIZE,
arch/um/drivers/ubd_kern.c
767
flags = ubd_dev->openflags;
arch/um/drivers/ubd_kern.c
888
set_disk_ro(disk, !ubd_dev->openflags.w);
arch/um/include/shared/os.h
103
static inline struct openflags of_sync(struct openflags flags)
arch/um/include/shared/os.h
109
static inline struct openflags of_create(struct openflags flags)
arch/um/include/shared/os.h
115
static inline struct openflags of_trunc(struct openflags flags)
arch/um/include/shared/os.h
121
static inline struct openflags of_append(struct openflags flags)
arch/um/include/shared/os.h
127
static inline struct openflags of_excl(struct openflags flags)
arch/um/include/shared/os.h
133
static inline struct openflags of_cloexec(struct openflags flags)
arch/um/include/shared/os.h
149
extern int os_open_file(const char *file, struct openflags flags, int mode);
arch/um/include/shared/os.h
170
extern int os_file_mode(const char *file, struct openflags *mode_out);
arch/um/include/shared/os.h
76
#define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \
arch/um/include/shared/os.h
79
static inline struct openflags of_read(struct openflags flags)
arch/um/include/shared/os.h
85
static inline struct openflags of_write(struct openflags flags)
arch/um/include/shared/os.h
91
static inline struct openflags of_rdwr(struct openflags flags)
arch/um/include/shared/os.h
96
static inline struct openflags of_set_rw(struct openflags flags, int r, int w)
arch/um/os-Linux/file.c
144
int os_file_mode(const char *file, struct openflags *mode_out)
arch/um/os-Linux/file.c
165
int os_open_file(const char *file, struct openflags flags, int mode)
fs/nfs/dir.c
3336
static int nfs_open_permission_mask(int openflags)
fs/nfs/dir.c
3340
if (openflags & __FMODE_EXEC) {
fs/nfs/dir.c
3344
if ((openflags & O_ACCMODE) != O_WRONLY)
fs/nfs/dir.c
3346
if ((openflags & O_ACCMODE) != O_RDONLY)
fs/nfs/dir.c
3353
int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags)
fs/nfs/dir.c
3355
return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags));
fs/nfs/nfs4file.c
35
unsigned openflags = filp->f_flags;
fs/nfs/nfs4file.c
50
err = nfs_check_flags(openflags);
fs/nfs/nfs4file.c
55
openflags &= ~(O_CREAT|O_EXCL);
fs/nfs/nfs4file.c
61
flags_to_mode(openflags), filp);
fs/nfs/nfs4file.c
67
if (openflags & O_TRUNC) {
fs/nfs/nfs4file.c
73
inode = NFS_PROTO(dir)->open_context(dir, ctx, openflags, &attr, NULL);
fs/nfs/nfs4proc.c
1311
fmode_t fmode, int openflags)
fs/nfs/nfs4proc.c
1318
if (openflags & O_DIRECT) {
fs/nfs/nfs4proc.c
2171
int openflags = opendata->o_arg.open_flags;
fs/nfs/nfs4proc.c
2178
nfs4_map_atomic_open_share(server, fmode, openflags);
include/linux/nfs_fs.h
587
extern int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags);
init/initramfs.c
382
int openflags = O_WRONLY|O_CREAT|O_LARGEFILE;
init/initramfs.c
384
openflags |= O_TRUNC;
init/initramfs.c
385
wfile = filp_open(collected, openflags, mode);