| /linux/arch/mips/include/uapi/asm/ |
| H A D | statfs.h | 37 long f_flags; member 58 __u32 f_flags; member 79 long f_flags; member 95 __u32 f_flags; member
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 35 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile() 57 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile() 58 realfile, IS_ERR(realfile) ? 0 : realfile->f_flags); in ovl_open_realfile() 72 if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode)) in ovl_change_flags() 85 file->f_flags = (file->f_flags & ~OVL_SETFL_MASK) | flags; in ovl_change_flags() 164 if (unlikely((file->f_flags ^ realfile->f_flags) & ~OVL_OPEN_FLAGS)) { in ovl_real_file_path() 165 int err = ovl_change_flags(realfile, file->f_flags); in ovl_real_file_path() 211 err = ovl_maybe_copy_up(dentry, file->f_flags); in ovl_open() 216 file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in ovl_open() 301 if (file->f_flags & O_NOATIME) in ovl_file_accessed()
|
| /linux/include/uapi/asm-generic/ |
| H A D | statfs.h | 34 __statfs_word f_flags; member 57 __statfs_word f_flags; member 80 __u32 f_flags; member
|
| /linux/fs/9p/ |
| H A D | fid.h | 50 unsigned int s_cache, unsigned int f_flags) in v9fs_fid_add_modes() argument 54 (s_flags & V9FS_DIRECT_IO) || (f_flags & O_DIRECT)) { in v9fs_fid_add_modes() 57 (f_flags & O_DSYNC) || (s_flags & V9FS_SYNC)) { in v9fs_fid_add_modes()
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | statfs.h | 32 unsigned int f_flags; member 47 unsigned int f_flags; member
|
| /linux/fs/smb/client/ |
| H A D | file.c | 491 struct super_block *sb, int mode, unsigned int f_flags, in cifs_posix_open() argument 517 posix_flags = cifs_posix_convert_flags(f_flags); in cifs_posix_open() 554 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() argument 569 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY) in cifs_nt_open() 572 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache); in cifs_nt_open() 598 disposition = cifs_get_disposition(f_flags); in cifs_nt_open() 600 create_options |= cifs_open_create_options(f_flags, create_options); in cifs_nt_open() 616 desired_access = cifs_convert_flags(f_flags, 0); in cifs_nt_open() 708 cfile->f_flags = file->f_flags; in cifs_new_fileinfo() [all...] |
| /linux/drivers/s390/char/ |
| H A D | hmcdrv_dev.c | 73 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open() 79 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open() 176 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) || in hmcdrv_dev_read()
|
| /linux/fs/coda/ |
| H A D | file.c | 230 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open() 248 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open() 263 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
|
| /linux/drivers/misc/genwqe/ |
| H A D | card_base.h | 506 struct genwqe_ddcb_cmd *cmd, unsigned int f_flags); 519 unsigned int f_flags); 522 unsigned int f_flags);
|
| H A D | card_dev.c | 610 rc = __genwqe_execute_raw_ddcb(cd, req, filp->f_flags); in do_flash_update() 728 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in do_flash_read() 1005 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in genwqe_execute_ddcb() 1030 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in do_execute_ddcb() 1097 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl() 1133 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl() 1156 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl()
|
| /linux/tools/testing/selftests/mount/ |
| H A D | nosymfollow-test.c | 186 if ((buf.f_flags & ST_NOSYMFOLLOW) == 0) in test_statfs() 189 if ((buf.f_flags & ST_NOSYMFOLLOW) != 0) in test_statfs()
|
| /linux/arch/mips/kernel/ |
| H A D | rtlx.c | 331 return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); in file_open() 367 if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) in file_read() 382 if (file->f_flags & O_NONBLOCK) in file_write()
|
| /linux/arch/csky/mm/ |
| H A D | ioremap.c | 13 } else if (file->f_flags & O_SYNC) { in phys_mem_access_prot()
|
| /linux/drivers/most/ |
| H A D | most_cdev.c | 128 ((filp->f_flags & O_ACCMODE) != O_RDONLY)) || in comp_open() 130 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) { in comp_open() 197 if ((filp->f_flags & O_NONBLOCK)) in comp_write() 249 if (filp->f_flags & O_NONBLOCK) in comp_read()
|
| /linux/security/tomoyo/ |
| H A D | tomoyo.c | 315 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) in tomoyo_file_fcntl() 332 if (f->f_flags & __FMODE_EXEC) in tomoyo_file_open() 335 f->f_flags); in tomoyo_file_open()
|
| /linux/sound/core/seq/oss/ |
| H A D | seq_oss_init.c | 280 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in translate_mode() 282 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in translate_mode() 284 if (file->f_flags & O_NONBLOCK) in translate_mode()
|
| /linux/fs/ |
| H A D | splice.c | 879 if (out->f_flags & O_NONBLOCK) in splice_to_socket() 978 if ((in->f_flags & O_DIRECT) || IS_DAX(in->f_mapping->host)) in do_splice_read() 1199 if (unlikely(out->f_flags & O_APPEND)) in do_splice_direct_actor() 1323 if ((in->f_flags | out->f_flags) & O_NONBLOCK) in do_splice() 1338 if (unlikely(out->f_flags & O_APPEND)) in do_splice() 1345 if (in->f_flags & O_NONBLOCK) in do_splice() 1371 if (out->f_flags & O_NONBLOCK) in do_splice() 1954 if ((in->f_flags | out->f_flags) & O_NONBLOCK) in do_tee()
|
| /linux/fs/nfs/ |
| H A D | nfs4file.c | 35 unsigned openflags = filp->f_flags; in nfs4_file_open() 95 filp->f_flags |= O_DIRECT; in nfs4_file_open() 357 flags_to_mode(filep->f_flags), filep); in __nfs42_ssc_open()
|
| /linux/include/linux/ |
| H A D | statfs.h | 20 long f_flags; member
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 362 client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); in create_fd() 370 new_file = dentry_open_nonotify(path, group->fanotify_data.f_flags, in create_fd() 1009 if (file->f_flags & O_NONBLOCK) in fanotify_read() 1592 int f_flags, fd; in SYSCALL_DEFINE2() local 1666 f_flags = O_RDWR; in SYSCALL_DEFINE2() 1668 f_flags |= O_CLOEXEC; in SYSCALL_DEFINE2() 1670 f_flags |= O_NONBLOCK; in SYSCALL_DEFINE2() 1698 group->fanotify_data.f_flags = event_f_flags; in SYSCALL_DEFINE2() 1728 fd = FD_ADD(f_flags, in SYSCALL_DEFINE2() 1730 group, f_flags, FMODE_NONOTIFY)); in SYSCALL_DEFINE2()
|
| /linux/fs/proc/ |
| H A D | kmsg.c | 34 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()
|
| /linux/drivers/media/usb/em28xx/ |
| H A D | em28xx-audio.c | 232 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open() 423 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put() 462 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get() 498 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put_mute() 540 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get_mute()
|
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | dev-mcelog.c | 132 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in mce_chrdev_open() 138 if (file->f_flags & O_EXCL) in mce_chrdev_open()
|
| /linux/security/integrity/ima/ |
| H A D | ima_fs.c | 711 if (!(filp->f_flags & O_WRONLY)) { 715 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) 738 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
|
| /linux/arch/arm64/include/asm/ |
| H A D | compat.h | 82 int f_flags; member
|