/linux-5.19.10/fs/coda/ |
D | coda_linux.c | 48 if ((flags & O_ACCMODE) == O_RDONLY) in coda_flags_to_cflags() 51 if ((flags & O_ACCMODE) == O_RDWR) in coda_flags_to_cflags() 54 if ((flags & O_ACCMODE) == O_WRONLY) in coda_flags_to_cflags()
|
/linux-5.19.10/fs/ceph/ |
D | util.c | 64 switch (flags & O_ACCMODE) { in ceph_flags_to_mode() 72 case O_ACCMODE: /* this is what the VFS does */ in ceph_flags_to_mode()
|
/linux-5.19.10/include/uapi/linux/ |
D | dma-heap.h | 19 #define DMA_HEAP_VALID_FD_FLAGS (O_CLOEXEC | O_ACCMODE)
|
/linux-5.19.10/tools/testing/selftests/drivers/s390x/uvdevice/ |
D | test_uvdevice.c | 40 self->uv_fd = open(UV_PATH, O_ACCMODE); in FIXTURE_SETUP() 162 self->uv_fd = open(UV_PATH, O_ACCMODE); in FIXTURE_SETUP() 268 int fd = open(UV_PATH, O_ACCMODE); in main()
|
/linux-5.19.10/drivers/s390/char/ |
D | hmcdrv_dev.c | 126 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open() 226 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) || in hmcdrv_dev_read()
|
D | vmur.c | 676 accmode = file->f_flags & O_ACCMODE; in ur_open() 763 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in ur_llseek()
|
/linux-5.19.10/drivers/tty/serial/ |
D | kgdb_nmi.c | 273 unsigned int mode = file->f_flags & O_ACCMODE; in kgdb_nmi_tty_open() 286 unsigned int mode = file->f_flags & O_ACCMODE; in kgdb_nmi_tty_close()
|
/linux-5.19.10/tools/include/uapi/asm-generic/ |
D | fcntl.h | 19 #define O_ACCMODE 00000003 macro
|
/linux-5.19.10/include/uapi/asm-generic/ |
D | fcntl.h | 19 #define O_ACCMODE 00000003 macro
|
/linux-5.19.10/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 692 if (((f->f_flags & O_ACCMODE) == O_WRONLY) || in axis_fifo_open() 693 ((f->f_flags & O_ACCMODE) == O_RDWR)) { in axis_fifo_open() 702 if (((f->f_flags & O_ACCMODE) == O_RDONLY) || in axis_fifo_open() 703 ((f->f_flags & O_ACCMODE) == O_RDWR)) { in axis_fifo_open()
|
/linux-5.19.10/tools/perf/trace/beauty/ |
D | open_flags.c | 30 if ((flags & O_ACCMODE) == O_RDONLY) in open__scnprintf_flags()
|
/linux-5.19.10/drivers/media/dvb-core/ |
D | dmxdev.c | 145 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_dvr_open() 147 else if ((file->f_flags & O_ACCMODE) == O_RDWR) { in dvb_dvr_open() 178 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_open() 207 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_release() 213 if (((file->f_flags & O_ACCMODE) == O_RDONLY) || in dvb_dvr_release() 251 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in dvb_dvr_write() 1346 if (((file->f_flags & O_ACCMODE) == O_RDONLY) || in dvb_dvr_poll()
|
/linux-5.19.10/fs/ecryptfs/ |
D | file.c | 226 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open() 227 == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) { in ecryptfs_open()
|
D | kthread.c | 138 if ((flags & O_ACCMODE) == O_RDONLY) { in ecryptfs_privileged_open()
|
/linux-5.19.10/kernel/power/ |
D | user.c | 62 if ((filp->f_flags & O_ACCMODE) == O_RDWR) { in snapshot_open() 71 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) { in snapshot_open()
|
/linux-5.19.10/drivers/staging/media/av7110/ |
D | av7110_av.c | 934 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in dvb_video_poll() 942 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_video_poll() 964 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_video_write() 1131 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_video_ioctl() 1362 if (((file->f_flags & O_ACCMODE) == O_RDONLY) && in dvb_audio_ioctl() 1513 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_video_open() 1534 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_video_release()
|
/linux-5.19.10/sound/core/seq/oss/ |
D | seq_oss_init.c | 285 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in translate_mode() 287 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in translate_mode()
|
/linux-5.19.10/security/integrity/ima/ |
D | ima_fs.c | 391 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) in ima_open_policy() 414 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in ima_release_policy()
|
/linux-5.19.10/fs/ |
D | anon_inodes.c | 110 flags & (O_ACCMODE | O_NONBLOCK), fops); in __anon_inode_getfile()
|
/linux-5.19.10/drivers/most/ |
D | most_cdev.c | 125 ((filp->f_flags & O_ACCMODE) != O_RDONLY)) || in comp_open() 127 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) { in comp_open()
|
/linux-5.19.10/drivers/misc/genwqe/ |
D | card_dev.c | 1097 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl() 1133 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl() 1156 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl()
|
/linux-5.19.10/fs/9p/ |
D | vfs_addr.c | 71 (fid->mode & O_ACCMODE) == O_WRONLY) { in v9fs_init_request()
|
/linux-5.19.10/fs/vboxsf/ |
D | file.c | 82 switch (file->f_flags & O_ACCMODE) { in vboxsf_file_open()
|
/linux-5.19.10/fs/nfs/ |
D | internal.h | 48 if ((flags & O_ACCMODE) != O_WRONLY) in flags_to_mode() 50 if ((flags & O_ACCMODE) != O_RDONLY) in flags_to_mode()
|
/linux-5.19.10/sound/core/ |
D | info.c | 246 mode = file->f_flags & O_ACCMODE; in snd_info_entry_open() 277 entry->c.ops->release(entry, file->f_flags & O_ACCMODE, in snd_info_entry_release()
|