Searched refs:O_ACCMODE (Results 1 - 25 of 52) sorted by relevance

123

/linux-master/include/uapi/linux/
H A Ddma-heap.h19 #define DMA_HEAP_VALID_FD_FLAGS (O_CLOEXEC | O_ACCMODE)
/linux-master/fs/ceph/
H A Dutil.c64 switch (flags & O_ACCMODE) {
72 case O_ACCMODE: /* this is what the VFS does */
/linux-master/tools/perf/trace/beauty/
H A Dopen_flags.c30 if ((flags & O_ACCMODE) == O_RDONLY)
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h19 #define O_ACCMODE 00000003 macro
/linux-master/tools/include/uapi/asm-generic/
H A Dfcntl.h19 #define O_ACCMODE 00000003 macro
/linux-master/fs/coda/
H A Dcoda_linux.c48 if ((flags & O_ACCMODE) == O_RDONLY)
51 if ((flags & O_ACCMODE) == O_RDWR)
54 if ((flags & O_ACCMODE) == O_WRONLY)
/linux-master/tools/testing/selftests/drivers/s390x/uvdevice/
H A Dtest_uvdevice.c40 self->uv_fd = open(UV_PATH, O_ACCMODE);
162 self->uv_fd = open(UV_PATH, O_ACCMODE);
268 int fd = open(UV_PATH, O_ACCMODE);
/linux-master/drivers/s390/char/
H A Dhmcdrv_dev.c126 if ((fp->f_flags & O_ACCMODE) == O_RDONLY)
226 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) ||
/linux-master/drivers/tty/serial/
H A Dkgdb_nmi.c273 unsigned int mode = file->f_flags & O_ACCMODE;
286 unsigned int mode = file->f_flags & O_ACCMODE;
/linux-master/fs/ecryptfs/
H A Dkthread.c138 if ((flags & O_ACCMODE) == O_RDONLY) {
H A Dfile.c245 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE)
246 == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) {
/linux-master/fs/
H A Danon_inodes.c110 flags & (O_ACCMODE | O_NONBLOCK), fops);
/linux-master/drivers/staging/axis-fifo/
H A Daxis-fifo.c681 if (((f->f_flags & O_ACCMODE) == O_WRONLY) ||
682 ((f->f_flags & O_ACCMODE) == O_RDWR)) {
691 if (((f->f_flags & O_ACCMODE) == O_RDONLY) ||
692 ((f->f_flags & O_ACCMODE) == O_RDWR)) {
/linux-master/sound/core/seq/oss/
H A Dseq_oss_init.c280 if ((file->f_flags & O_ACCMODE) != O_RDONLY)
282 if ((file->f_flags & O_ACCMODE) != O_WRONLY)
/linux-master/kernel/power/
H A Duser.c63 if ((filp->f_flags & O_ACCMODE) == O_RDWR) {
72 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) {
/linux-master/drivers/media/dvb-core/
H A Ddmxdev.c145 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
147 else if ((file->f_flags & O_ACCMODE) == O_RDWR) {
178 if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
207 if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
213 if (((file->f_flags & O_ACCMODE) == O_RDONLY) ||
251 if ((file->f_flags & O_ACCMODE) != O_WRONLY)
1351 if (((file->f_flags & O_ACCMODE) == O_RDONLY) ||
/linux-master/security/integrity/ima/
H A Dima_fs.c391 if ((filp->f_flags & O_ACCMODE) != O_RDONLY)
414 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
/linux-master/drivers/staging/media/av7110/
H A Dav7110_av.c934 if ((file->f_flags & O_ACCMODE) != O_RDONLY)
942 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
964 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
1131 if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
1362 if (((file->f_flags & O_ACCMODE) == O_RDONLY) &&
1513 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
1534 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
/linux-master/drivers/most/
H A Dmost_cdev.c125 ((filp->f_flags & O_ACCMODE) != O_RDONLY)) ||
127 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) {
/linux-master/sound/core/
H A Dinfo.c241 mode = file->f_flags & O_ACCMODE;
269 entry->c.ops->release(entry, file->f_flags & O_ACCMODE,
H A Dcompress_offload.c84 if ((f->f_flags & O_ACCMODE) == O_WRONLY)
86 else if ((f->f_flags & O_ACCMODE) == O_RDONLY)
/linux-master/fs/vboxsf/
H A Dfile.c82 switch (file->f_flags & O_ACCMODE) {
/linux-master/drivers/misc/genwqe/
H A Dcard_dev.c1097 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
1133 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
1156 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
/linux-master/fs/smb/client/
H A Dfile.c211 if ((flags & O_ACCMODE) == O_RDONLY)
213 else if ((flags & O_ACCMODE) == O_WRONLY)
215 else if ((flags & O_ACCMODE) == O_RDWR) {
232 if ((flags & O_ACCMODE) == O_RDONLY)
234 else if ((flags & O_ACCMODE) == O_WRONLY)
236 else if ((flags & O_ACCMODE) == O_RDWR)
357 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY)
904 if ((file->f_flags & (O_ACCMODE | O_APPEND)) == O_RDONLY)
1036 if (cifs_fscache_enabled(inode) && (cfile->f_flags & O_ACCMODE) == O_WRONLY)
4253 if ((file->f_flags & O_ACCMODE)
[all...]
/linux-master/drivers/misc/cxl/
H A Dapi.c84 flags & (O_ACCMODE | O_NONBLOCK), fops);

Completed in 217 milliseconds

123