/linux-master/security/tomoyo/ |
H A D | tomoyo.c | 315 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) 331 /* Illogically, FMODE_EXEC is in f_flags, not f_mode. */ 332 if (f->f_flags & __FMODE_EXEC) 335 f->f_flags);
|
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_init.c | 280 if ((file->f_flags & O_ACCMODE) != O_RDONLY) 282 if ((file->f_flags & O_ACCMODE) != O_WRONLY) 284 if (file->f_flags & O_NONBLOCK)
|
/linux-master/arch/powerpc/boot/ |
H A D | rs6000.h | 20 char f_flags[2]; /* flags */ member in struct:external_filehdr
|
/linux-master/arch/mips/include/asm/ |
H A D | compat.h | 72 int f_flags; member in struct:compat_statfs
|
/linux-master/security/apparmor/include/ |
H A D | file.h | 109 int flags = file->f_flags;
|
/linux-master/fs/9p/ |
H A D | vfs_file.c | 50 omode = v9fs_open_to_dotl_flags(file->f_flags); 52 omode = v9fs_uflags2omode(file->f_flags, 77 if ((file->f_flags & O_APPEND) && 89 v9fs_fid_add_modes(fid, v9ses->flags, v9ses->cache, file->f_flags);
|
/linux-master/drivers/staging/media/av7110/ |
H A D | av7110_av.c | 934 if ((file->f_flags & O_ACCMODE) != O_RDONLY) 942 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { 964 if ((file->f_flags & O_ACCMODE) == O_RDONLY) 973 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); 975 return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); 1014 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); 1016 return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); 1131 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { 1211 ret = dvb_compat_video_get_event(av7110, parg, file->f_flags); 1216 ret = dvb_video_get_event(av7110, parg, file->f_flags); [all...] |
/linux-master/arch/x86/kernel/cpu/mce/ |
H A D | dev-mcelog.c | 132 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { 138 if (file->f_flags & O_EXCL)
|
/linux-master/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 273 unsigned int mode = file->f_flags & O_ACCMODE; 286 unsigned int mode = file->f_flags & O_ACCMODE;
|
/linux-master/drivers/leds/ |
H A D | uleds.c | 147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { 161 if (!(file->f_flags & O_NONBLOCK))
|
/linux-master/fs/autofs/ |
H A D | autofs_i.h | 227 pipe->f_flags |= O_DIRECT; 229 pipe->f_flags &= ~O_NONBLOCK;
|
/linux-master/fs/ |
H A D | fcntl.c | 47 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) 51 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) 74 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { 82 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); 353 err = filp->f_flags; 891 filp->f_flags &= ~FASYNC; 944 filp->f_flags |= FASYNC;
|
/linux-master/kernel/bpf/ |
H A D | inode.c | 530 int f_flags; local 534 f_flags = bpf_get_file_flag(flags); 535 if (f_flags < 0) 536 return f_flags; 538 raw = bpf_obj_do_get(path_fd, pathname, &type, f_flags); 545 ret = bpf_map_new_fd(raw, f_flags); 547 ret = (f_flags != O_RDWR) ? -EINVAL : bpf_link_new_fd(raw);
|
/linux-master/security/integrity/ima/ |
H A D | ima_fs.c | 387 if (!(filp->f_flags & O_WRONLY)) { 391 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) 414 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
|
/linux-master/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 126 file->f_flags); 128 status = dlmfs_decode_open_flags(file->f_flags, &level, &flags); 134 file->f_flags &= ~O_APPEND;
|
/linux-master/fs/smb/client/ |
H A D | file.c | 279 struct super_block *sb, int mode, unsigned int f_flags, 305 posix_flags = cifs_posix_convert_flags(f_flags); 342 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, 357 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY) 360 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache); 386 disposition = cifs_get_disposition(f_flags); 391 if (f_flags & O_SYNC) 394 if (f_flags & O_DIRECT) 411 desired_access = cifs_convert_flags(f_flags, 0); 503 cfile->f_flags 278 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) argument 341 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) argument [all...] |
/linux-master/include/uapi/linux/ |
H A D | coff.h | 67 char f_flags[2]; /* flags */ member in struct:COFF_filehdr 71 * Bits for f_flags:
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-tx.c | 63 if (file->f_flags & O_NONBLOCK)
|
/linux-master/net/qrtr/ |
H A D | tun.c | 67 if (filp->f_flags & O_NONBLOCK)
|
/linux-master/kernel/trace/ |
H A D | trace_recursion_record.c | 187 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
|
/linux-master/include/asm-generic/ |
H A D | compat.h | 103 compat_int_t f_flags; member in struct:compat_statfs
|
/linux-master/drivers/most/ |
H A D | most_cdev.c | 125 ((filp->f_flags & O_ACCMODE) != O_RDONLY)) || 127 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) { 194 if ((filp->f_flags & O_NONBLOCK)) 246 if (filp->f_flags & O_NONBLOCK)
|
/linux-master/fs/notify/ |
H A D | fdinfo.c | 139 group->fanotify_data.f_flags);
|
/linux-master/kernel/ |
H A D | pid.c | 549 *flags = f.file->f_flags; 570 unsigned int f_flags; local 574 pid = pidfd_get_pid(pidfd, &f_flags); 583 *flags = f_flags;
|
/linux-master/drivers/xen/ |
H A D | mcelog.c | 79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { 85 if (file->f_flags & O_EXCL)
|