/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/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 | 50 omode = v9fs_open_to_dotl_flags(file->f_flags); in v9fs_file_open() 52 omode = v9fs_uflags2omode(file->f_flags, in v9fs_file_open() 77 if ((file->f_flags & O_APPEND) && in v9fs_file_open() 89 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 | 884 if (out->f_flags & O_NONBLOCK) in splice_to_socket() 983 if ((in->f_flags & O_DIRECT) || IS_DAX(in->f_mapping->host)) in do_splice_read() 1204 if (unlikely(out->f_flags & O_APPEND)) in do_splice_direct_actor() 1328 if ((in->f_flags | out->f_flags) & O_NONBLOCK) in do_splice() 1343 if (unlikely(out->f_flags & O_APPEND)) in do_splice() 1350 if (in->f_flags & O_NONBLOCK) in do_splice() 1376 if (out->f_flags & O_NONBLOCK) in do_splice() 1965 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 | 464 struct super_block *sb, int mode, unsigned int f_flags, in cifs_posix_open() argument 490 posix_flags = cifs_posix_convert_flags(f_flags); in cifs_posix_open() 527 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() argument 542 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY) in cifs_nt_open() 545 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache); in cifs_nt_open() 571 disposition = cifs_get_disposition(f_flags); in cifs_nt_open() 576 if (f_flags & O_SYNC) in cifs_nt_open() 579 if (f_flags & O_DIRECT) in cifs_nt_open() 596 desired_access = cifs_convert_flags(f_flags, 0); in cifs_nt_open() 688 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/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 120 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open() 126 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open() 223 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) || in hmcdrv_dev_read()
|
/linux/arch/s390/include/asm/ |
H A D | compat.h | 99 u32 f_flags; member 114 u32 f_flags; member
|
/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/media/dvb-core/ |
H A D | dmxdev.c | 145 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_dvr_open() 147 else if ((file->f_flags & O_ACCMODE) == O_RDWR) { in dvb_dvr_open() 174 file->f_flags & O_NONBLOCK); in dvb_dvr_open() 178 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_open() 207 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_release() 213 if (((file->f_flags & O_ACCMODE) == O_RDONLY) || in dvb_dvr_release() 251 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in dvb_dvr_write() 275 file->f_flags & O_NONBLOCK, in dvb_dvr_read() 819 file->f_flags & O_NONBLOCK); in dvb_demux_open() 979 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec() [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);
|
/linux/kernel/bpf/ |
H A D | inode.c | 530 int f_flags; in bpf_obj_get_user() local 534 f_flags = bpf_get_file_flag(flags); in bpf_obj_get_user() 535 if (f_flags < 0) in bpf_obj_get_user() 536 return f_flags; in bpf_obj_get_user() 538 raw = bpf_obj_do_get(path_fd, pathname, &type, f_flags); in bpf_obj_get_user() 545 ret = bpf_map_new_fd(raw, f_flags); in bpf_obj_get_user() 547 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/fs/ecryptfs/ |
H A D | file.c | 245 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open() 246 == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) { in ecryptfs_open() 296 file->f_flags, current_cred()); in ecryptfs_dir_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/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()
|