Searched refs:f_flags (Results 26 - 50 of 344) sorted by last modified time

1234567891011>>

/linux-master/drivers/char/
H A Drandom.c1462 (kiocb->ki_filp->f_flags & O_NONBLOCK)))
/linux-master/fs/bcachefs/
H A Dfs-io.c920 if ((file_dst->f_flags & (__O_SYNC | O_DSYNC)) ||
/linux-master/io_uring/
H A Dnet.c783 if (sock->file->f_flags & O_NONBLOCK)
H A Dio_uring.c473 if (should_hash && (req->file->f_flags & O_DIRECT) &&
1781 if ((file->f_flags & O_NONBLOCK) || (file->f_mode & FMODE_NOWAIT))
1985 if (req->file->f_flags & O_NONBLOCK ||
H A Drw.c496 !(kiocb->ki_filp->f_flags & O_NONBLOCK))
743 ((file->f_flags & O_NONBLOCK) && !io_file_supports_nowait(req)))
/linux-master/drivers/firmware/arm_scmi/
H A Draw_mode.c781 filp->f_flags & O_NONBLOCK);
/linux-master/drivers/scsi/
H A Dsg.c286 int flags = filp->f_flags;
475 if (filp->f_flags & O_NONBLOCK)
625 if (!((filp->f_flags & O_NONBLOCK) ||
633 blocking = !(filp->f_flags & O_NONBLOCK);
930 read_only = (O_RDWR != (filp->f_flags & O_ACCMODE));
1145 cmd_in, filp->f_flags & O_NDELAY);
H A Dst.c1050 unsigned short st_flags = filp->f_flags;
1070 do_wait = ((filp->f_flags & O_NONBLOCK) == 0);
1309 STp->write_prot = ((filp->f_flags & O_ACCMODE) == O_RDONLY);
1324 if ((filp->f_flags & O_NONBLOCK) == 0 &&
3547 file->f_flags & O_NDELAY);
H A Dch.c641 file->f_flags & O_NDELAY);
/linux-master/sound/usb/line6/
H A Ddriver.c543 line6->messages.nonblock = file->f_flags & O_NONBLOCK ? 1 : 0;
/linux-master/net/9p/
H A Dtrans_fd.c262 if (!(ts->rd->f_flags & O_NONBLOCK))
429 if (!(ts->wr->f_flags & O_NONBLOCK))
846 data_race(ts->rd->f_flags |= O_NONBLOCK);
852 data_race(ts->wr->f_flags |= O_NONBLOCK);
894 p->rd->f_flags |= O_NONBLOCK;
/linux-master/kernel/bpf/
H A Dsyscall.c1191 int f_flags; local
1217 f_flags = bpf_get_file_flag(attr->map_flags);
1218 if (f_flags < 0)
1219 return f_flags;
1384 err = bpf_map_new_fd(map, f_flags);
4389 int f_flags; local
4399 f_flags = bpf_get_file_flag(attr->open_flags);
4400 if (f_flags < 0)
4401 return f_flags;
4414 fd = bpf_map_new_fd(map, f_flags);
[all...]
/linux-master/include/linux/
H A Dfs.h1001 * Protects f_ep, f_flags.
1009 unsigned int f_flags; member in struct:file
2458 if (!(file->f_flags & O_NOATIME))
2685 return dentry_open(&file->f_path, file->f_flags, file->f_cred);
3398 if (file->f_flags & O_APPEND)
3400 if (file->f_flags & O_DIRECT)
3402 if (file->f_flags & O_DSYNC)
3404 if (file->f_flags & __O_SYNC)
/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...]
H A Ddir.c520 if (file->f_flags & O_DIRECT &&
H A Dcifs_debug.c263 cfile->f_flags,
/linux-master/drivers/gpio/
H A Dgpiolib-cdev.c1622 if (file->f_flags & O_NONBLOCK)
1974 if (file->f_flags & O_NONBLOCK)
2678 if (file->f_flags & O_NONBLOCK)
/linux-master/arch/x86/mm/pat/
H A Dmemtype.c826 if (file->f_flags & O_DSYNC)
/linux-master/fs/vboxsf/
H A Dfile.c66 if (file->f_flags & O_CREAT) {
72 if (file->f_flags & O_TRUNC)
78 if (file->f_flags & O_TRUNC)
82 switch (file->f_flags & O_ACCMODE) {
99 if (file->f_flags & O_APPEND)
/linux-master/fs/
H A Dnamei.c3679 int open_flag = file->f_flags;
3698 error = may_open(idmap, &file->f_path, 0, file->f_flags);
3789 if (unlikely(file->f_flags & __O_TMPFILE)) {
3791 } else if (unlikely(file->f_flags & O_PATH)) {
/linux-master/net/ipv4/
H A Dtcp.c802 timeo = sock_rcvtimeo(sk, sock->file->f_flags & O_NONBLOCK);
/linux-master/kernel/time/
H A Dposix-clock.c51 err = clk->ops.read(pccontext, fp->f_flags, buf, count);
/linux-master/drivers/uio/
H A Duio.c603 if (filep->f_flags & O_NONBLOCK) {
/linux-master/kernel/printk/
H A Dprintk.c805 if (file->f_flags & O_NONBLOCK) {
918 if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
/linux-master/sound/core/
H A Dcontrol.c2008 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {

Completed in 345 milliseconds

1234567891011>>