Home
last modified time | relevance | path

Searched refs:f_oflags (Results 1 – 19 of 19) sorted by relevance

/third_party/NuttX/fs/vfs/
Dfs_fcntl.c108 ret = (filep->f_oflags & O_CLOEXEC) ? FD_CLOEXEC : 0; in file_vfcntl()
125 filep->f_oflags |= O_CLOEXEC; in file_vfcntl()
145 ret = filep->f_oflags; in file_vfcntl()
163 filep->f_oflags &= ~FFCNTL; in file_vfcntl()
164 filep->f_oflags |= oflags; in file_vfcntl()
Dfs_write.c79 if ((((unsigned int)(filep->f_oflags)) & O_ACCMODE) == O_RDONLY) in file_write()
226 if (filep->f_oflags & O_DIRECTORY) in write()
232 if (filep->f_oflags & O_APPEND) in write()
Dfs_truncate64.c67 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) in file_truncate64()
163 if (filep->f_oflags & O_DIRECTORY) in ftruncate64()
Dfs_truncate.c52 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) in file_truncate()
150 if (filep->f_oflags & O_DIRECTORY) in ftruncate()
Dfs_read.c75 else if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_WRONLY) in file_read()
207 if (filep->f_oflags & O_DIRECTORY) in read()
Dfs_fsync.c56 if ((filep->f_oflags & O_ACCMODE) == 0) in file_fsync()
Dfs_dupfd.c90 filep2 = files_allocate(filep->f_vnode, filep->f_oflags, filep->f_pos, filep->f_priv, minfd); in file_dup()
Dfs_pwrite64.c160 if (filep->f_oflags & O_DIRECTORY) in pwrite64()
Dfs_pread64.c156 if (filep->f_oflags & O_DIRECTORY) in pread64()
Dfs_pread.c142 if (filep->f_oflags & O_DIRECTORY) in pread()
Dfs_pwrite.c146 if (filep->f_oflags & O_DIRECTORY) in pwrite()
/third_party/NuttX/drivers/pipes/
Dpipe_common.c210 if ((filep->f_oflags & O_WRONLY) != 0) in pipecommon_open()
229 if ((filep->f_oflags & O_WRONLY) == 0) in pipecommon_open()
241 if ((filep->f_oflags & O_WRONLY) == 0 && /* Read-only */ in pipecommon_open()
308 if ((filep->f_oflags & O_WRONLY) != 0) in pipecommon_close()
331 if ((filep->f_oflags & O_WRONLY) == 0) in pipecommon_close()
414 if (filep->f_oflags & O_NONBLOCK) in pipecommon_read()
669 if (filep->f_oflags & O_NONBLOCK) in pipecommon_write()
733 if (((filep->f_oflags & O_WRONLY) != 0) && (nbytes < (dev->d_bufsize - 1))) in pipecommon_poll()
740 if (((filep->f_oflags & O_WRONLY) == 0) && (nbytes > 0)) in pipecommon_poll()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
D__stdio_seek.c20 if (filep->f_oflags & O_DIRECTORY) {
/third_party/musl/porting/uniproton/kernel/src/stdio/
D__stdio_seek.c20 if (filep->f_oflags & O_DIRECTORY) {
/third_party/NuttX/fs/inode/
Dfs_files.c193 if (filep->f_oflags & O_DIRECTORY) in _files_close()
359 filep2->f_oflags = filep1->f_oflags; in file_dup2()
446 filep->f_oflags = oflags; in files_allocate()
/third_party/NuttX/fs/driver/
Dfs_devsyslog.c306 g_sysdev.sl_file.f_oflags = SYSLOG_OFLAGS; in syslog_initialize()
/third_party/NuttX/fs/vfs/include/
Dfile.h91 int f_oflags; /* Open mode flags */ member
/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c796 if (((unsigned int)filep->f_oflags & O_ACCMODE) == O_RDWR) { in usb_open()
798 } else if (((unsigned int)filep->f_oflags & O_ACCMODE) == O_WRONLY) { in usb_open()
/third_party/NuttX/fs/nfs/
Dnfs_adapter.c1590 if (filep->f_oflags & O_APPEND) in vfs_nfs_write()