Searched refs:f_flags (Results 26 - 50 of 344) sorted by relevance

1234567891011>>

/linux-master/security/tomoyo/
H A Dtomoyo.c315 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 Dseq_oss_init.c280 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 Drs6000.h20 char f_flags[2]; /* flags */ member in struct:external_filehdr
/linux-master/arch/mips/include/asm/
H A Dcompat.h72 int f_flags; member in struct:compat_statfs
/linux-master/security/apparmor/include/
H A Dfile.h109 int flags = file->f_flags;
/linux-master/fs/9p/
H A Dvfs_file.c50 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 Dav7110_av.c934 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 Ddev-mcelog.c132 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) {
138 if (file->f_flags & O_EXCL)
/linux-master/drivers/tty/serial/
H A Dkgdb_nmi.c273 unsigned int mode = file->f_flags & O_ACCMODE;
286 unsigned int mode = file->f_flags & O_ACCMODE;
/linux-master/drivers/leds/
H A Duleds.c147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) {
161 if (!(file->f_flags & O_NONBLOCK))
/linux-master/fs/autofs/
H A Dautofs_i.h227 pipe->f_flags |= O_DIRECT;
229 pipe->f_flags &= ~O_NONBLOCK;
/linux-master/fs/
H A Dfcntl.c47 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 Dinode.c530 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 Dima_fs.c387 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 Ddlmfs.c126 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 Dfile.c279 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 Dcoff.h67 char f_flags[2]; /* flags */ member in struct:COFF_filehdr
71 * Bits for f_flags:
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-radio-tx.c63 if (file->f_flags & O_NONBLOCK)
/linux-master/net/qrtr/
H A Dtun.c67 if (filp->f_flags & O_NONBLOCK)
/linux-master/kernel/trace/
H A Dtrace_recursion_record.c187 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
/linux-master/include/asm-generic/
H A Dcompat.h103 compat_int_t f_flags; member in struct:compat_statfs
/linux-master/drivers/most/
H A Dmost_cdev.c125 ((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 Dfdinfo.c139 group->fanotify_data.f_flags);
/linux-master/kernel/
H A Dpid.c549 *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 Dmcelog.c79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) {
85 if (file->f_flags & O_EXCL)

Completed in 239 milliseconds

1234567891011>>