| /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 | 936 struct super_block *sb, int mode, unsigned int f_flags, in _cifsFileInfo_put() 962 posix_flags = cifs_posix_convert_flags(f_flags); in _cifsFileInfo_put() 998 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_do_truncate() 1013 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY) in cifs_do_truncate() 1016 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache); in cifs_do_truncate() 1042 disposition = cifs_get_disposition(f_flags); in cifs_do_truncate() 1044 create_options |= cifs_open_create_options(f_flags, create_options); in cifs_do_truncate() 1060 desired_access = cifs_convert_flags(f_flags, 0); in cifs_open() 1156 cfile->f_flags = file->f_flags; in cifs_open() 491 cifs_posix_open(const char * full_path,struct inode ** pinode,struct super_block * sb,int mode,unsigned int f_flags,__u32 * poplock,__u16 * pnetfid,unsigned int xid) cifs_posix_open() argument 554 cifs_nt_open(const char * full_path,struct inode * inode,struct cifs_sb_info * cifs_sb,struct cifs_tcon * tcon,unsigned int f_flags,__u32 * oplock,struct cifs_fid * fid,unsigned int xid,struct cifs_open_info_data * buf) cifs_nt_open() argument [all...] |
| /linux/fs/proc/ |
| H A D | fd.c | 26 int f_flags = 0, ret = -ENOENT; in seq_show() local 42 f_flags = file->f_flags; in seq_show() 44 f_flags |= O_CLOEXEC; in seq_show() 58 (long long)file->f_pos, f_flags, in seq_show()
|
| H A D | kmsg.c | 34 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()
|
| /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 | 231 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open() 249 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open() 264 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
|
| /linux/fs/ |
| H A D | fcntl.c | 48 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl() 52 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) in setfl() 75 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { in setfl() 83 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); in setfl() 477 err = filp->f_flags; in do_fcntl() 1021 filp->f_flags &= ~FASYNC; in fasync_remove_entry() 1074 filp->f_flags |= FASYNC; in fasync_insert_entry()
|
| H A D | splice.c | 806 if (out->f_flags & O_NONBLOCK) in splice_to_socket() 905 if ((in->f_flags & O_DIRECT) || IS_DAX(in->f_mapping->host)) in splice_to_socket() 1154 if (unlikely(out->f_flags & O_APPEND)) 1278 if ((in->f_flags | out->f_flags) & O_NONBLOCK) in splice_file_range() 1293 if (unlikely(out->f_flags & O_APPEND)) in wait_for_space() 1300 if (in->f_flags & O_NONBLOCK) in wait_for_space() 1326 if (out->f_flags & O_NONBLOCK) 1923 if ((in->f_flags | out->f_flags) in link_pipe() [all...] |
| /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 | 281 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in translate_mode() 283 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in translate_mode() 285 if (file->f_flags & O_NONBLOCK) in translate_mode()
|
| /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/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 201 * Internal and external open flags are stored together in field f_flags of 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() [all...] |
| /linux/include/linux/ |
| H A D | statfs.h | 20 long f_flags; member
|
| /linux/kernel/bpf/ |
| H A D | inode.c | 585 int f_flags; in bpf_obj_get_user() local 589 f_flags = bpf_get_file_flag(flags); in bpf_obj_get_user() 590 if (f_flags < 0) in bpf_obj_get_user() 591 return f_flags; in bpf_obj_get_user() 593 raw = bpf_obj_do_get(path_fd, pathname, &type, f_flags); in bpf_obj_get_user() 600 ret = bpf_map_new_fd(raw, f_flags); in bpf_obj_get_user() 602 ret = (f_flags != O_RDWR) ? -EINVAL : bpf_link_new_fd(raw); in bpf_obj_get_user()
|
| /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()
|