Home
last modified time | relevance | path

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

1234

/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl04.c31 if ((TST_RET & O_ACCMODE) != O_RDWR) { in verify_fcntl()
34 TST_RET & O_ACCMODE, O_RDWR); in verify_fcntl()
/third_party/alsa-lib/src/hwdep/
H A Dhwdep.c271 switch (hwdep->mode & O_ACCMODE) { in snd_hwdep_poll_descriptors()
477 assert(((hwdep->mode & O_ACCMODE) == O_WRONLY) || ((hwdep->mode & O_ACCMODE) == O_RDWR)); in snd_hwdep_write()
491 assert(((hwdep->mode & O_ACCMODE) == O_RDONLY) || ((hwdep->mode & O_ACCMODE) == O_RDWR)); in snd_hwdep_read()
/third_party/NuttX/fs/vfs/
H A Dfs_fsync.c56 if ((filep->f_oflags & O_ACCMODE) == 0) in file_fsync()
H A Dfs_open.c53 if ((oflags & O_ACCMODE) == O_RDONLY) in oflag_convert_mode()
197 (((oflags & O_ACCMODE) != O_RDONLY) || (oflags & O_TRUNC))) in fp_open()
H A Dfs_truncate64.c70 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) in file_truncate64()
H A Dfs_truncate.c52 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) in file_truncate()
H A Dfs_read.c75 else if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_WRONLY) in file_read()
H A Dfs_write.c79 if ((((unsigned int)(filep->f_oflags)) & O_ACCMODE) == O_RDONLY) in file_write()
/third_party/musl/src/temp/
H A Dmkostemps.c16 flags -= flags & O_ACCMODE; in __mkostemps()
/third_party/fsverity-utils/programs/
H A Dutils.c112 (flags & O_ACCMODE) == O_RDONLY ? "reading" : in open_file()
113 (flags & O_ACCMODE) == O_WRONLY ? "writing" : in open_file()
/third_party/alsa-lib/src/timer/
H A Dtimer.c363 switch (timer->mode & O_ACCMODE) { in snd_timer_poll_descriptors()
947 assert(((timer->mode & O_ACCMODE) == O_RDONLY) || ((timer->mode & O_ACCMODE) == O_RDWR)); in snd_timer_read()
/third_party/NuttX/fs/driver/
H A Dfs_blockproxy.c176 readonly = (((unsigned int)oflags & O_ACCMODE) == O_RDONLY); in block_proxy()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h44 #define O_ACCMODE (03|O_SEARCH) macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h43 #define O_ACCMODE (03|O_SEARCH) macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h43 #define O_ACCMODE (03|O_SEARCH) macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h43 #define O_ACCMODE (03|O_SEARCH) macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h44 #define O_ACCMODE (03|O_SEARCH) macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h43 #define O_ACCMODE (03|O_SEARCH) macro
/third_party/libfuse/example/
H A Dhello.c106 if ((fi->flags & O_ACCMODE) != O_RDONLY) in hello_open()
H A Dhello_ll.c141 else if ((fi->flags & O_ACCMODE) != O_RDONLY) in hello_ll_open()
H A Dpoll.c116 if ((fi->flags & O_ACCMODE) != O_RDONLY) in fsel_open()
/third_party/musl/libc-test/src/api/
H A Dfcntl.c38 C(O_ACCMODE) in f()
/third_party/musl/include/
H A Dfcntl.h46 #define O_ACCMODE (03|O_SEARCH) macro
/third_party/libfuse/test/
H A Dtest_write_cache.c130 (fi->flags & O_ACCMODE) == O_RDONLY; in tfs_open()
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
H A DLtpfsCmds.c30 #define ACC_MODE(x) ("\000\004\002\006"[(x)&O_ACCMODE])

Completed in 13 milliseconds

1234