/linux-master/drivers/char/ |
H A D | random.c | 1462 (kiocb->ki_filp->f_flags & O_NONBLOCK)))
|
/linux-master/fs/bcachefs/ |
H A D | fs-io.c | 920 if ((file_dst->f_flags & (__O_SYNC | O_DSYNC)) ||
|
/linux-master/io_uring/ |
H A D | net.c | 783 if (sock->file->f_flags & O_NONBLOCK)
|
H A D | io_uring.c | 473 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 D | rw.c | 496 !(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 D | raw_mode.c | 781 filp->f_flags & O_NONBLOCK);
|
/linux-master/drivers/scsi/ |
H A D | sg.c | 286 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 D | st.c | 1050 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 D | ch.c | 641 file->f_flags & O_NDELAY);
|
/linux-master/sound/usb/line6/ |
H A D | driver.c | 543 line6->messages.nonblock = file->f_flags & O_NONBLOCK ? 1 : 0;
|
/linux-master/net/9p/ |
H A D | trans_fd.c | 262 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 D | syscall.c | 1191 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 D | fs.h | 1001 * 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 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...] |
H A D | dir.c | 520 if (file->f_flags & O_DIRECT &&
|
H A D | cifs_debug.c | 263 cfile->f_flags,
|
/linux-master/drivers/gpio/ |
H A D | gpiolib-cdev.c | 1622 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 D | memtype.c | 826 if (file->f_flags & O_DSYNC)
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 66 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 D | namei.c | 3679 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 D | tcp.c | 802 timeo = sock_rcvtimeo(sk, sock->file->f_flags & O_NONBLOCK);
|
/linux-master/kernel/time/ |
H A D | posix-clock.c | 51 err = clk->ops.read(pccontext, fp->f_flags, buf, count);
|
/linux-master/drivers/uio/ |
H A D | uio.c | 603 if (filep->f_flags & O_NONBLOCK) {
|
/linux-master/kernel/printk/ |
H A D | printk.c | 805 if (file->f_flags & O_NONBLOCK) { 918 if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
|
/linux-master/sound/core/ |
H A D | control.c | 2008 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
|