Searched refs:f_oflags (Results 1 – 19 of 19) sorted by relevance
108 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()
79 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()
67 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) in file_truncate64()163 if (filep->f_oflags & O_DIRECTORY) in ftruncate64()
52 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) in file_truncate()150 if (filep->f_oflags & O_DIRECTORY) in ftruncate()
75 else if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_WRONLY) in file_read()207 if (filep->f_oflags & O_DIRECTORY) in read()
56 if ((filep->f_oflags & O_ACCMODE) == 0) in file_fsync()
90 filep2 = files_allocate(filep->f_vnode, filep->f_oflags, filep->f_pos, filep->f_priv, minfd); in file_dup()
160 if (filep->f_oflags & O_DIRECTORY) in pwrite64()
156 if (filep->f_oflags & O_DIRECTORY) in pread64()
142 if (filep->f_oflags & O_DIRECTORY) in pread()
146 if (filep->f_oflags & O_DIRECTORY) in pwrite()
210 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()
20 if (filep->f_oflags & O_DIRECTORY) {
193 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()
306 g_sysdev.sl_file.f_oflags = SYSLOG_OFLAGS; in syslog_initialize()
91 int f_oflags; /* Open mode flags */ member
796 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()
1590 if (filep->f_oflags & O_APPEND) in vfs_nfs_write()