| /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 | 34 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile() 56 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile() 57 realfile, IS_ERR(realfile) ? 0 : realfile->f_flags); in ovl_open_realfile() 71 if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode)) in ovl_change_flags() 84 file->f_flags = (file->f_flags & ~OVL_SETFL_MASK) | flags; in ovl_change_flags() 163 if (unlikely((file->f_flags ^ realfile->f_flags) & ~OVL_OPEN_FLAGS)) { in ovl_real_file_path() 164 int err = ovl_change_flags(realfile, file->f_flags); in ovl_real_file_path() 210 err = ovl_maybe_copy_up(dentry, file->f_flags); in ovl_open() 215 file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in ovl_open() 300 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()
|
| H A D | vfs_file.c | 51 omode = v9fs_open_to_dotl_flags(file->f_flags); in v9fs_file_open() 54 omode = v9fs_uflags2omode(file->f_flags, in v9fs_file_open() 82 if ((file->f_flags & O_APPEND) && in v9fs_file_open() 94 v9fs_fid_add_modes(fid, v9ses->flags, v9ses->cache, file->f_flags); in v9fs_file_open()
|
| /linux/fs/ |
| H A D | statfs.c | 92 buf->f_flags = calculate_f_flags(path->mnt); in vfs_statfs() 159 buf.f_flags = st->f_flags; in do_statfs_native() 183 buf.f_flags = st->f_flags; in do_statfs64() 293 buf.f_flags = kbuf->f_flags; in put_compat_statfs() 340 buf.f_flags = kbuf->f_flags; in put_compat_statfs64()
|
| H A D | splice.c | 881 if (out->f_flags & O_NONBLOCK) in splice_to_socket() 980 if ((in->f_flags & O_DIRECT) || IS_DAX(in->f_mapping->host)) in do_splice_read() 1201 if (unlikely(out->f_flags & O_APPEND)) in do_splice_direct_actor() 1325 if ((in->f_flags | out->f_flags) & O_NONBLOCK) in do_splice() 1340 if (unlikely(out->f_flags & O_APPEND)) in do_splice() 1347 if (in->f_flags & O_NONBLOCK) in do_splice() 1373 if (out->f_flags & O_NONBLOCK) in do_splice() 1956 if ((in->f_flags | out->f_flags) & O_NONBLOCK) in do_tee()
|
| /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/vboxsf/ |
| H A D | file.c | 66 if (file->f_flags & O_CREAT) { in vboxsf_file_open() 72 if (file->f_flags & O_TRUNC) in vboxsf_file_open() 78 if (file->f_flags & O_TRUNC) in vboxsf_file_open() 82 switch (file->f_flags & O_ACCMODE) { in vboxsf_file_open() 99 if (file->f_flags & O_APPEND) in vboxsf_file_open()
|
| /linux/fs/smb/client/ |
| H A D | file.c | 480 struct super_block *sb, int mode, unsigned int f_flags, in cifs_posix_open() argument 506 posix_flags = cifs_posix_convert_flags(f_flags); in cifs_posix_open() 543 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() argument 558 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY) in cifs_nt_open() 561 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache); in cifs_nt_open() 587 disposition = cifs_get_disposition(f_flags); in cifs_nt_open() 592 if (f_flags & O_SYNC) in cifs_nt_open() 595 if (f_flags & O_DIRECT) in cifs_nt_open() 612 desired_access = cifs_convert_flags(f_flags, 0); in cifs_nt_open() 704 cfile->f_flags = file->f_flags; in cifs_new_fileinfo() [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()
|
| /linux/drivers/staging/media/av7110/ |
| H A D | av7110_av.c | 933 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in dvb_video_poll() 941 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_video_poll() 963 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_video_write() 972 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 974 return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 1015 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1017 return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1139 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_video_ioctl() 1219 ret = dvb_compat_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1224 ret = dvb_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() [all …]
|
| /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/kernel/bpf/ |
| H A D | inode.c | 525 int f_flags; in bpf_obj_get_user() local 529 f_flags = bpf_get_file_flag(flags); in bpf_obj_get_user() 530 if (f_flags < 0) in bpf_obj_get_user() 531 return f_flags; in bpf_obj_get_user() 533 raw = bpf_obj_do_get(path_fd, pathname, &type, f_flags); in bpf_obj_get_user() 540 ret = bpf_map_new_fd(raw, f_flags); in bpf_obj_get_user() 542 ret = (f_flags != O_RDWR) ? -EINVAL : bpf_link_new_fd(raw); in bpf_obj_get_user()
|
| /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/drivers/leds/ |
| H A D | uleds.c | 147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { in uleds_read() 161 if (!(file->f_flags & O_NONBLOCK)) in uleds_read()
|
| /linux/drivers/most/ |
| H A D | most_cdev.c | 125 ((filp->f_flags & O_ACCMODE) != O_RDONLY)) || in comp_open() 127 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) { in comp_open() 194 if ((filp->f_flags & O_NONBLOCK)) in comp_write() 246 if (filp->f_flags & O_NONBLOCK) in comp_read()
|
| /linux/arch/csky/mm/ |
| H A D | ioremap.c | 13 } else if (file->f_flags & O_SYNC) { in phys_mem_access_prot()
|
| /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/ecryptfs/ |
| H A D | file.c | 243 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open() 244 == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) { in ecryptfs_open() 295 lower_file = dentry_open(&path, file->f_flags, current_cred()); in ecryptfs_dir_open()
|
| /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/include/linux/ |
| H A D | statfs.h | 20 long f_flags; member
|