Searched refs:f_oflags (Results 1 – 18 of 18) sorted by relevance
124 ret = (filep->f_oflags & O_CLOEXEC) ? FD_CLOEXEC : 0; in file_vfcntl()141 filep->f_oflags |= O_CLOEXEC; in file_vfcntl()161 ret = filep->f_oflags; in file_vfcntl()179 filep->f_oflags &= ~FFCNTL; in file_vfcntl()180 filep->f_oflags |= oflags; in file_vfcntl()
95 if ((((unsigned int)(filep->f_oflags)) & O_ACCMODE) == O_RDONLY) in file_write()242 if (filep->f_oflags & O_DIRECTORY) in write()248 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()
67 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) in file_truncate()165 if (filep->f_oflags & O_DIRECTORY) in ftruncate()
91 else if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_WRONLY) in file_read()223 if (filep->f_oflags & O_DIRECTORY) in read()
72 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()
156 if (filep->f_oflags & O_DIRECTORY) in pread64()
160 if (filep->f_oflags & O_DIRECTORY) in pwrite64()
157 if (filep->f_oflags & O_DIRECTORY) in pread()
161 if (filep->f_oflags & O_DIRECTORY) in pwrite()
226 if ((filep->f_oflags & O_WRONLY) != 0) in pipecommon_open()245 if ((filep->f_oflags & O_WRONLY) == 0) in pipecommon_open()257 if ((filep->f_oflags & O_WRONLY) == 0 && /* Read-only */ in pipecommon_open()324 if ((filep->f_oflags & O_WRONLY) != 0) in pipecommon_close()347 if ((filep->f_oflags & O_WRONLY) == 0) in pipecommon_close()430 if (filep->f_oflags & O_NONBLOCK) in pipecommon_read()685 if (filep->f_oflags & O_NONBLOCK) in pipecommon_write()749 if (((filep->f_oflags & O_WRONLY) != 0) && (nbytes < (dev->d_bufsize - 1))) in pipecommon_poll()756 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()