/linux-4.4.14/arch/mips/include/uapi/asm/ |
D | statfs.h | 36 long f_flags; member 57 __u32 f_flags; member 78 long f_flags; member 94 __u32 f_flags; member
|
/linux-4.4.14/include/uapi/asm-generic/ |
D | statfs.h | 33 __statfs_word f_flags; member 56 __statfs_word f_flags; member 79 __u32 f_flags; member
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | statfs.h | 31 unsigned int f_flags; member 46 unsigned int f_flags; member
|
/linux-4.4.14/fs/ |
D | statfs.c | 72 buf->f_flags = calculate_f_flags(path->mnt); in vfs_statfs() 140 buf.f_flags = st->f_flags; in do_statfs_native() 164 buf.f_flags = st->f_flags; in do_statfs64()
|
D | fcntl.c | 41 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl() 45 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) in setfl() 68 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { in setfl() 76 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); in setfl() 263 err = filp->f_flags; in do_fcntl() 592 filp->f_flags &= ~FASYNC; in fasync_remove_entry() 645 filp->f_flags |= FASYNC; in fasync_insert_entry()
|
D | open.c | 170 if (f.file->f_flags & O_LARGEFILE) in do_sys_ftruncate() 675 if (f->f_flags & O_DIRECT) { in open_check_o_direct() 690 f->f_mode = OPEN_FMODE(f->f_flags) | FMODE_LSEEK | in do_dentry_open() 697 if (unlikely(f->f_flags & O_PATH)) { in do_dentry_open() 729 error = break_lease(inode, f->f_flags); in do_dentry_open() 749 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in do_dentry_open() 843 struct inode *inode = vfs_select_inode(path->dentry, file->f_flags); in vfs_open() 865 f->f_flags = flags; in dentry_open() 1129 if (!(filp->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) in generic_file_open()
|
D | pipe.c | 310 if (filp->f_flags & O_NONBLOCK) { in pipe_read() 340 return (file->f_flags & O_DIRECT) != 0; in is_packetized() 447 if (filp->f_flags & O_NONBLOCK) { in pipe_write() 738 f->f_flags = O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)); in create_pipe_files() 749 res[0]->f_flags = O_RDONLY | (flags & O_NONBLOCK); in create_pipe_files() 910 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open() 928 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
|
D | ioctl.c | 489 filp->f_flags |= flag; in ioctl_fionbio() 491 filp->f_flags &= ~flag; in ioctl_fionbio() 508 if ((flag ^ filp->f_flags) & FASYNC) { in ioctl_fioasync()
|
D | eventfd.c | 235 res = eventfd_ctx_read(ctx, file->f_flags & O_NONBLOCK, &cnt); in eventfd_read() 260 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_write()
|
D | anon_inodes.c | 110 file->f_flags = flags & (O_ACCMODE | O_NONBLOCK); in anon_inode_getfile()
|
D | block_dev.c | 1495 filp->f_flags |= O_LARGEFILE; in blkdev_open() 1497 if (filp->f_flags & O_NDELAY) in blkdev_open() 1499 if (filp->f_flags & O_EXCL) in blkdev_open() 1501 if ((filp->f_flags & O_ACCMODE) == 3) in blkdev_open() 1622 if (file->f_flags & O_NDELAY) in block_ioctl()
|
D | file_table.c | 202 if (unlikely(file->f_flags & FASYNC)) { in __fput()
|
D | compat.c | 240 __put_user(kbuf->f_flags, &ubuf->f_flags) || in put_compat_statfs() 295 __put_user(kbuf->f_flags, &ubuf->f_flags) || in put_compat_statfs64()
|
D | signalfd.c | 209 int nonblock = file->f_flags & O_NONBLOCK; in signalfd_read()
|
D | userfaultfd.c | 520 if (unlikely(!(file->f_flags & O_NONBLOCK))) in userfaultfd_poll() 624 int no_wait = file->f_flags & O_NONBLOCK; in userfaultfd_read()
|
D | timerfd.c | 245 if (file->f_flags & O_NONBLOCK) in timerfd_read()
|
/linux-4.4.14/drivers/char/pcmcia/ |
D | cm4000_cs.c | 944 ((filp->f_flags & O_NONBLOCK) in cmm_read() 946 if (filp->f_flags & O_NONBLOCK) in cmm_read() 957 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read() 958 if (filp->f_flags & O_NONBLOCK) in cmm_read() 966 ((filp->f_flags & O_NONBLOCK) in cmm_read() 968 if (filp->f_flags & O_NONBLOCK) in cmm_read() 1096 ((filp->f_flags & O_NONBLOCK) in cmm_write() 1098 if (filp->f_flags & O_NONBLOCK) in cmm_write() 1111 ((filp->f_flags & O_NONBLOCK) in cmm_write() 1113 if (filp->f_flags & O_NONBLOCK) in cmm_write() [all …]
|
D | cm4040_cs.c | 234 if (filp->f_flags & O_NONBLOCK) { in cm4040_read() 338 if (filp->f_flags & O_NONBLOCK) { in cm4040_write() 460 if (filp->f_flags & O_NONBLOCK) { in cm4040_open()
|
/linux-4.4.14/fs/proc/ |
D | fd.c | 22 int f_flags = 0, ret = -ENOENT; in seq_show() local 41 f_flags = file->f_flags; in seq_show() 43 f_flags |= O_CLOEXEC; in seq_show() 56 (long long)file->f_pos, f_flags, in seq_show()
|
D | kmsg.c | 36 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()
|
/linux-4.4.14/fs/coda/ |
D | file.c | 127 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open() 145 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open() 158 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
|
D | psdev.c | 220 if (file->f_flags & O_NONBLOCK) { in coda_psdev_read()
|
/linux-4.4.14/fs/notify/fanotify/ |
D | fanotify_user.c | 81 client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); in create_fd() 93 group->fanotify_data.f_flags | FMODE_NONOTIFY, in create_fd() 282 if (file->f_flags & O_NONBLOCK) in fanotify_read() 697 int f_flags, fd; in SYSCALL_DEFINE2() local 728 f_flags = O_RDWR | FMODE_NONOTIFY; in SYSCALL_DEFINE2() 730 f_flags |= O_CLOEXEC; in SYSCALL_DEFINE2() 732 f_flags |= O_NONBLOCK; in SYSCALL_DEFINE2() 753 group->fanotify_data.f_flags = event_f_flags; in SYSCALL_DEFINE2() 793 fd = anon_inode_getfd("[fanotify]", &fanotify_fops, group, f_flags); in SYSCALL_DEFINE2()
|
/linux-4.4.14/drivers/s390/char/ |
D | hmcdrv_dev.c | 119 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open() 125 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open() 225 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) || in hmcdrv_dev_read()
|
D | vmur.c | 698 accmode = file->f_flags & O_ACCMODE; in ur_open() 717 if (file->f_flags & O_NONBLOCK) { in ur_open() 787 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in ur_llseek()
|
D | monreader.c | 378 if (filp->f_flags & O_NONBLOCK) in mon_read()
|
D | vmlogrdr.c | 323 if (filp->f_flags & O_NONBLOCK) in vmlogrdr_open()
|
/linux-4.4.14/drivers/char/ |
D | snsc.c | 171 if (file->f_flags & O_NONBLOCK) { in scdrv_read() 190 if (file->f_flags & O_NONBLOCK) { in scdrv_read() 263 if (file->f_flags & O_NONBLOCK) { in scdrv_write() 287 if (file->f_flags & O_NONBLOCK) { in scdrv_write()
|
D | ppdev.c | 135 (file->f_flags & O_NONBLOCK) ? in pp_read() 166 if (file->f_flags & O_NONBLOCK) { in pp_read() 214 (file->f_flags & O_NONBLOCK) ? in pp_write() 248 if (file->f_flags & O_NONBLOCK) { in pp_write()
|
D | dtlk.c | 148 if (file->f_flags & O_NONBLOCK) in dtlk_read() 213 if (file->f_flags & O_NONBLOCK) in dtlk_write()
|
D | nvram.c | 346 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || in nvram_open() 353 if (file->f_flags & O_EXCL) in nvram_open()
|
D | lp.c | 303 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_write() 420 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_read() 514 if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { in lp_open()
|
D | raw.c | 81 filp->f_flags |= O_DIRECT; in raw_open()
|
D | genrtc.c | 185 if (file->f_flags & O_NONBLOCK && !gen_rtc_irq_data) in gen_rtc_read()
|
D | apm-emulation.c | 218 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read()
|
D | virtio_console.c | 768 if (filp->f_flags & O_NONBLOCK) in port_fops_read() 830 nonblock = filp->f_flags & O_NONBLOCK; in port_fops_write() 953 ret = wait_port_writable(port, filp->f_flags & O_NONBLOCK); in port_fops_splice_write()
|
D | mem.c | 258 if (file->f_flags & O_DSYNC) in uncached_access()
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dmxdev.c | 139 if ((file->f_flags & O_ACCMODE) == O_RDWR) { in dvb_dvr_open() 146 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_dvr_open() 161 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_open() 190 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_release() 195 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_dvr_release() 226 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in dvb_dvr_write() 250 file->f_flags & O_NONBLOCK, in dvb_dvr_read() 906 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec() 927 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec() 949 file->f_flags & O_NONBLOCK, in dvb_demux_read() [all …]
|
D | dvbdev.c | 116 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_generic_open() 139 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_generic_release()
|
D | dvb_frontend.c | 2014 if ((file->f_flags & O_ACCMODE) == O_RDONLY && in dvb_frontend_ioctl() 2512 err = dvb_frontend_get_event (fe, parg, file->f_flags); in dvb_frontend_ioctl_legacy() 2612 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_frontend_open() 2650 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_frontend_release()
|
/linux-4.4.14/drivers/media/pci/ttpci/ |
D | av7110_av.c | 949 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in dvb_video_poll() 957 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_video_poll() 979 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_video_write() 988 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 990 return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 1029 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1031 return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1107 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_video_ioctl() 1186 ret = dvb_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1234 file->f_flags & O_NONBLOCK); in dvb_video_ioctl() [all …]
|
D | av7110_ca.c | 154 int non_blocking = file->f_flags & O_NONBLOCK; in ci_ll_write() 193 int non_blocking = file->f_flags & O_NONBLOCK; in ci_ll_read()
|
/linux-4.4.14/include/media/ |
D | adv7511.h | 39 u32 f_flags; member
|
/linux-4.4.14/drivers/misc/genwqe/ |
D | card_base.h | 512 struct genwqe_ddcb_cmd *cmd, unsigned int f_flags); 525 unsigned int f_flags); 528 unsigned int f_flags);
|
D | card_dev.c | 614 rc = __genwqe_execute_raw_ddcb(cd, req, filp->f_flags); in do_flash_update() 732 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in do_flash_read() 1000 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in genwqe_execute_ddcb() 1028 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in do_execute_ddcb() 1095 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl() 1131 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl() 1154 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl()
|
D | card_ddcb.c | 759 unsigned int f_flags) in __genwqe_enqueue_ddcb() argument 797 if (f_flags & O_NONBLOCK) { in __genwqe_enqueue_ddcb() 917 unsigned int f_flags) in __genwqe_execute_raw_ddcb() argument 933 rc = __genwqe_enqueue_ddcb(cd, req, f_flags); in __genwqe_execute_raw_ddcb()
|
/linux-4.4.14/include/linux/ |
D | statfs.h | 18 long f_flags; member
|
D | fsnotify_backend.h | 184 int f_flags; member
|
D | fs.h | 854 unsigned int f_flags; member 1925 if (!(file->f_flags & O_NOATIME)) in file_accessed() 2436 if (!(file->f_flags & O_DSYNC) && !IS_SYNC(file->f_mapping->host)) in generic_write_sync() 2439 (file->f_flags & __O_SYNC) ? 0 : 1); in generic_write_sync() 2866 return (filp->f_flags & O_DIRECT) || IS_DAX(file_inode(filp)); in io_is_direct() 2872 if (file->f_flags & O_APPEND) in iocb_flags()
|
/linux-4.4.14/arch/mips/kernel/ |
D | rtlx.c | 329 return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); in file_open() 365 if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) in file_read() 380 if (file->f_flags & O_NONBLOCK) in file_write()
|
/linux-4.4.14/drivers/staging/most/aim-cdev/ |
D | cdev.c | 90 ((filp->f_flags & O_ACCMODE) != O_RDONLY)) || in aim_open() 92 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) { in aim_open() 174 if ((filp->f_flags & O_NONBLOCK)) in aim_write() 236 if (filp->f_flags & O_NONBLOCK) in aim_read()
|
/linux-4.4.14/sound/core/seq/oss/ |
D | seq_oss_init.c | 299 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in translate_mode() 301 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in translate_mode() 303 if (file->f_flags & O_NONBLOCK) in translate_mode()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | binfmt_loader.c | 15 if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) in load_binary()
|
D | osf_sys.c | 233 short f_flags; member 246 short f_flags; member 305 tmp_stat.f_flags = 0; /* mount flags */ in linux_to_osf_statfs()
|
/linux-4.4.14/arch/mips/boot/ |
D | ecoff.h | 11 unsigned short f_flags; /* flags */ member
|
D | elf2ecoff.c | 227 f->f_flags = swab16(f->f_flags); in convert_ecoff_filehdr() 444 efh.f_flags = 0x100f; /* Stripped, not sharable. */ in main()
|
/linux-4.4.14/fs/9p/ |
D | vfs_file.c | 71 omode = v9fs_open_to_dotl_flags(file->f_flags); in v9fs_file_open() 73 omode = v9fs_uflags2omode(file->f_flags, in v9fs_file_open() 86 if ((file->f_flags & O_APPEND) && in v9fs_file_open() 95 ((file->f_flags & O_ACCMODE) != O_RDONLY)) { in v9fs_file_open()
|
D | cache.c | 248 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) in v9fs_cache_inode_set_cookie()
|
/linux-4.4.14/fs/cifs/ |
D | file.c | 114 struct super_block *sb, int mode, unsigned int f_flags, in cifs_posix_open() argument 140 posix_flags = cifs_posix_convert_flags(f_flags); in cifs_posix_open() 176 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() argument 190 desired_access = cifs_convert_flags(f_flags); in cifs_nt_open() 216 disposition = cifs_get_disposition(f_flags); in cifs_nt_open() 303 cfile->f_flags = file->f_flags; in cifs_new_fileinfo() 471 inode, file->f_flags, full_path); in cifs_open() 473 if (file->f_flags & O_DIRECT && in cifs_open() 492 file->f_flags, &oplock, &fid.netfid, xid); in cifs_open() 521 file->f_flags, &oplock, &fid, xid); in cifs_open() [all …]
|
D | fscache.c | 103 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) in cifs_fscache_set_inode_cookie()
|
D | cifsproto.h | 147 unsigned int f_flags, __u32 *oplock, __u16 *netfid,
|
/linux-4.4.14/drivers/tty/serial/ |
D | kgdb_nmi.c | 276 unsigned int mode = file->f_flags & O_ACCMODE; in kgdb_nmi_tty_open() 289 unsigned int mode = file->f_flags & O_ACCMODE; in kgdb_nmi_tty_close()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 267 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open() 509 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put() 547 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get() 582 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put_mute() 623 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get_mute()
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
D | a.out.h | 22 __u16 f_opthdr, f_flags; member
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-radio-rx.c | 89 if (file->f_flags & O_NONBLOCK) in vivid_radio_rx_read() 177 if (file->f_flags & O_NONBLOCK) in vivid_radio_rx_s_hw_freq_seek()
|
D | vivid-radio-tx.c | 76 if (file->f_flags & O_NONBLOCK) in vivid_radio_tx_write()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | compat.h | 161 u32 f_flags; member 176 u32 f_flags; member
|
/linux-4.4.14/arch/powerpc/boot/ |
D | rs6000.h | 19 char f_flags[2]; /* flags */ member
|
/linux-4.4.14/security/tomoyo/ |
D | tomoyo.c | 308 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) in tomoyo_file_fcntl() 324 int flags = f->f_flags; in tomoyo_file_open()
|
/linux-4.4.14/drivers/xen/ |
D | mcelog.c | 79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in xen_mce_chrdev_open() 85 if (file->f_flags & O_EXCL) in xen_mce_chrdev_open()
|
D | evtchn.c | 227 if (file->f_flags & O_NONBLOCK) in evtchn_read()
|
/linux-4.4.14/fs/ecryptfs/ |
D | file.c | 217 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open() 218 == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) { in ecryptfs_open()
|
/linux-4.4.14/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 143 file->f_flags); in dlmfs_file_open() 145 status = dlmfs_decode_open_flags(file->f_flags, &level, &flags); in dlmfs_file_open() 151 file->f_flags &= ~O_APPEND; in dlmfs_file_open()
|
/linux-4.4.14/arch/um/drivers/ |
D | random.c | 71 if (filp->f_flags & O_NONBLOCK) in rng_dev_read()
|
/linux-4.4.14/drivers/thermal/int340x_thermal/ |
D | acpi_thermal_rel.c | 37 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { in acpi_thermal_rel_open() 42 if (file->f_flags & O_EXCL) in acpi_thermal_rel_open()
|
/linux-4.4.14/sound/oss/ |
D | midibuf.c | 279 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_write() 323 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_read()
|
D | audio.c | 252 if ((err = DMAbuf_getwrbuffer(dev, &dma_buf, &buf_size, !!(file->f_flags & O_NONBLOCK))) < 0) in audio_write() 255 if ((file->f_flags & O_NONBLOCK) && err == -EAGAIN) in audio_write() 326 if ((buf_no = DMAbuf_getrdbuffer(dev, &dmabuf, &l, !!(file->f_flags & O_NONBLOCK))) < 0) in audio_read() 335 if ((file->f_flags & O_NONBLOCK) && buf_no == -EAGAIN) in audio_read() 437 file->f_flags |= O_NONBLOCK; in audio_ioctl()
|
D | sequencer.c | 100 if (file->f_flags & O_NONBLOCK) { in sequencer_read() 305 if (!seq_queue(event_rec, (file->f_flags & (O_NONBLOCK) ? 1 : 0))) in sequencer_write() 312 if (!processed && (file->f_flags & O_NONBLOCK)) in sequencer_write() 1131 if (mode != OPEN_READ && !(file->f_flags & O_NONBLOCK)) in sequencer_release()
|
D | swarm_cs4297a.c | 1743 if (file->f_flags & O_NONBLOCK) in cs4297a_read() 1839 if (file->f_flags & O_NONBLOCK) in cs4297a_write() 2227 file->f_flags |= O_NONBLOCK; in cs4297a_ioctl() 2388 drain_dac(s, file->f_flags & O_NONBLOCK); in cs4297a_release() 2397 drain_adc(s, file->f_flags & O_NONBLOCK); in cs4297a_release() 2452 if (file->f_flags & O_NONBLOCK) { in cs4297a_locked_open() 2469 if (file->f_flags & O_NONBLOCK) { in cs4297a_locked_open()
|
/linux-4.4.14/kernel/power/ |
D | user.c | 62 if ((filp->f_flags & O_ACCMODE) == O_RDWR) { in snapshot_open() 71 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) { in snapshot_open()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | file.c | 533 .it_flags = file->f_flags }; in ll_file_open() 540 inode->i_generation, inode, file->f_flags); in ll_file_open() 574 if (file->f_flags & O_TRUNC) in ll_file_open() 681 (cl_is_lov_delay_create(file->f_flags) || in ll_file_open() 686 cl_lov_delay_create_clear(&file->f_flags); in ll_file_open() 1050 if (file->f_flags & O_NOATIME) in file_is_noatime() 1075 io->u.ci_rw.crw_nonblock = file->f_flags & O_NONBLOCK; in ll_io_init() 1077 io->u.ci_wr.wr_append = !!(file->f_flags & O_APPEND); in ll_io_init() 1078 io->u.ci_wr.wr_sync = file->f_flags & O_SYNC || in ll_io_init() 1079 file->f_flags & O_DIRECT || in ll_io_init() [all …]
|
/linux-4.4.14/arch/mips/loongson64/common/ |
D | mem.c | 97 if (file->f_flags & O_DSYNC) in __uncached_access()
|
/linux-4.4.14/include/uapi/linux/ |
D | coff.h | 63 char f_flags[2]; /* flags */ member
|
/linux-4.4.14/drivers/input/serio/ |
D | serio_raw.c | 174 (file->f_flags & O_NONBLOCK)) in serio_raw_read() 189 if (!(file->f_flags & O_NONBLOCK)) { in serio_raw_read()
|
D | userio.c | 156 if (file->f_flags & O_NONBLOCK) in userio_char_read()
|
/linux-4.4.14/sound/core/ |
D | rawmidi.c | 373 if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) in snd_rawmidi_open() 405 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ in snd_rawmidi_open() 420 if (file->f_flags & O_NONBLOCK) { in snd_rawmidi_open() 1006 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_rawmidi_read() 1310 if (file->f_flags & O_NONBLOCK) { in snd_rawmidi_write() 1334 if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) in snd_rawmidi_write() 1338 if (file->f_flags & O_DSYNC) { in snd_rawmidi_write()
|
D | pcm_native.c | 1509 int f_flags) in snd_pcm_pre_prepare() argument 1517 substream->f_flags = f_flags; in snd_pcm_pre_prepare() 1555 int f_flags; in snd_pcm_prepare() local 1558 f_flags = file->f_flags; in snd_pcm_prepare() 1560 f_flags = substream->f_flags; in snd_pcm_prepare() 1565 substream, f_flags); in snd_pcm_prepare() 1674 if (file->f_flags & O_NONBLOCK) in snd_pcm_drain() 1676 } else if (substream->f_flags & O_NONBLOCK) in snd_pcm_drain() 2376 if (file->f_flags & O_NONBLOCK) { in snd_pcm_open()
|
D | info.c | 262 mode = file->f_flags & O_ACCMODE; in snd_info_entry_open() 293 entry->c.ops->release(entry, file->f_flags & O_ACCMODE, in snd_info_entry_release()
|
D | pcm.c | 937 if (file->f_flags & O_APPEND) { in snd_pcm_attach_substream() 996 substream->f_flags = file->f_flags; in snd_pcm_attach_substream()
|
D | compress_offload.c | 92 if ((f->f_flags & O_ACCMODE) == O_WRONLY) in snd_compr_open() 94 else if ((f->f_flags & O_ACCMODE) == O_RDONLY) in snd_compr_open()
|
D | hwdep.c | 123 if (file->f_flags & O_NONBLOCK) { in snd_hwdep_open()
|
D | pcm_lib.c | 2136 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_write() 2199 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_writev() 2348 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_read() 2407 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_readv()
|
/linux-4.4.14/sound/core/oss/ |
D | pcm_oss.c | 1401 else if ((substream->f_flags & O_NONBLOCK) != 0) { in snd_pcm_oss_write1() 1416 if ((substream->f_flags & O_NONBLOCK) != 0 && in snd_pcm_oss_write1() 1679 saved_f_flags = substream->f_flags; in snd_pcm_oss_sync() 1680 substream->f_flags &= ~O_NONBLOCK; in snd_pcm_oss_sync() 1682 substream->f_flags = saved_f_flags; in snd_pcm_oss_sync() 1926 file->f_flags |= O_NONBLOCK; in snd_pcm_oss_nonblock() 2272 substream->f_flags |= O_NONBLOCK; in snd_pcm_oss_init_substream() 2274 substream->f_flags &= ~O_NONBLOCK; in snd_pcm_oss_init_substream() 2333 file->f_flags &= ~O_APPEND; in snd_pcm_oss_open_file() 2420 nonblock = !!(file->f_flags & O_NONBLOCK); in snd_pcm_oss_open() [all …]
|
/linux-4.4.14/drivers/char/hw_random/ |
D | core.c | 245 !(filp->f_flags & O_NONBLOCK)); in rng_dev_read() 254 if (filp->f_flags & O_NONBLOCK) { in rng_dev_read()
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
D | saa7164-vbi.c | 552 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 604 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 649 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_poll()
|
D | saa7164-encoder.c | 849 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 901 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read()
|
/linux-4.4.14/security/apparmor/include/ |
D | file.h | 197 int flags = file->f_flags; in aa_map_file_to_perms()
|
/linux-4.4.14/fs/notify/ |
D | fdinfo.c | 164 flags, group->fanotify_data.f_flags); in fanotify_show_fdinfo()
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
D | inode.c | 289 get_ready_ep (unsigned f_flags, struct ep_data *epdata, bool is_write) in get_ready_ep() argument 293 if (f_flags & O_NONBLOCK) { in get_ready_ep() 399 if ((status = get_ready_ep (fd->f_flags, data, false)) < 0) in ep_ioctl() 582 if ((value = get_ready_ep(file->f_flags, epdata, false)) < 0) in ep_read_iter() 642 if ((value = get_ready_ep(file->f_flags, epdata, true)) < 0) in ep_write_iter() 958 if ((fd->f_flags & O_NONBLOCK) != 0 in ep0_read() 1040 if (fd->f_flags & O_NONBLOCK) { in ep0_read()
|
/linux-4.4.14/drivers/iio/ |
D | industrialio-event.c | 121 if (filep->f_flags & O_NONBLOCK) in iio_event_chrdev_read() 147 if (copied == 0 && (filep->f_flags & O_NONBLOCK)) in iio_event_chrdev_read()
|
D | industrialio-buffer.c | 129 if (filp->f_flags & O_NONBLOCK) in iio_buffer_read_first_n_outer() 144 if (ret == 0 && (filp->f_flags & O_NONBLOCK)) in iio_buffer_read_first_n_outer()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_fops.c | 198 if (filp->f_flags & O_EXCL) in drm_open_helper() 525 if (filp->f_flags & O_NONBLOCK) { in drm_read()
|
/linux-4.4.14/drivers/media/radio/si470x/ |
D | radio-si470x-common.c | 471 if (file->f_flags & O_NONBLOCK) { in si470x_fops_read() 713 if (file->f_flags & O_NONBLOCK) in si470x_vidioc_s_hw_freq_seek()
|
/linux-4.4.14/ipc/ |
D | mqueue.c | 1040 if (f.file->f_flags & O_NONBLOCK) { in SYSCALL_DEFINE5() 1146 if (f.file->f_flags & O_NONBLOCK) { in SYSCALL_DEFINE5() 1354 omqstat.mq_flags = f.file->f_flags & O_NONBLOCK; in SYSCALL_DEFINE3() 1359 f.file->f_flags |= O_NONBLOCK; in SYSCALL_DEFINE3() 1361 f.file->f_flags &= ~O_NONBLOCK; in SYSCALL_DEFINE3()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | compat.h | 108 int f_flags; member
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | compat.h | 138 int f_flags; member
|
/linux-4.4.14/arch/mips/mm/ |
D | cache.c | 237 if (file->f_flags & O_DSYNC) in __uncached_access()
|
/linux-4.4.14/drivers/usb/ |
D | usb-skeleton.c | 257 if (file->f_flags & O_NONBLOCK) { in skel_read() 380 if (!(file->f_flags & O_NONBLOCK)) { in skel_write()
|
/linux-4.4.14/net/ |
D | socket.c | 385 file->f_flags = O_RDWR | (flags & O_NONBLOCK); in sock_alloc_file() 762 flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; in sock_sendpage() 789 if (file->f_flags & O_NONBLOCK) in sock_read_iter() 814 if (file->f_flags & O_NONBLOCK) in sock_write_iter() 1475 err = sock->ops->accept(sock, newsock, sock->file->f_flags); in SYSCALL_DEFINE4() 1544 sock->file->f_flags); in SYSCALL_DEFINE3() 1648 if (sock->file->f_flags & O_NONBLOCK) in SYSCALL_DEFINE6() 1700 if (sock->file->f_flags & O_NONBLOCK) in SYSCALL_DEFINE6() 1932 if (sock->file->f_flags & O_NONBLOCK) in ___sys_sendmsg() 2097 if (sock->file->f_flags & O_NONBLOCK) in ___sys_recvmsg()
|
/linux-4.4.14/drivers/tty/ |
D | tty_io.c | 1113 ret = tty_write_lock(tty, file->f_flags & O_NDELAY); in do_tty_write() 1947 filp->f_flags |= O_NONBLOCK; /* Don't let /dev/tty block */ in tty_open_current_tty() 1994 filp->f_flags |= O_NONBLOCK; in tty_lookup_driver() 2041 unsigned saved_flags = filp->f_flags; in tty_open() 2050 noctty = filp->f_flags & O_NOCTTY; in tty_open() 2115 filp->f_flags = saved_flags; in tty_open() 2430 file->f_flags |= O_NONBLOCK; in fionbio() 2432 file->f_flags &= ~O_NONBLOCK; in fionbio()
|
D | n_hdlc.c | 633 if (file->f_flags & O_NONBLOCK) { in n_hdlc_tty_read() 700 if (file->f_flags & O_NONBLOCK) { in n_hdlc_tty_write()
|
D | tty_port.c | 371 if (filp->f_flags & O_NONBLOCK) { in tty_port_block_til_ready()
|
D | n_r3964.c | 1070 if (file->f_flags & O_NONBLOCK) { in r3964_read() 1083 if (file->f_flags & O_NONBLOCK) { in r3964_read()
|
D | n_tty.c | 2176 if (file->f_flags & O_NONBLOCK) { in n_tty_read() 2243 if (file->f_flags & O_NONBLOCK) { in n_tty_read() 2400 if (file->f_flags & O_NONBLOCK) { in n_tty_write()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | compat.h | 139 int f_flags; member
|
/linux-4.4.14/arch/x86/include/asm/ |
D | compat.h | 114 int f_flags; member
|
/linux-4.4.14/arch/alpha/boot/tools/ |
D | objstrip.c | 199 if (!(aout->fh.f_flags & COFF_F_EXEC)) { in main()
|
/linux-4.4.14/fs/autofs4/ |
D | autofs_i.h | 221 pipe->f_flags |= O_DIRECT; in autofs_prepare_pipe()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | compat.h | 115 int f_flags; member
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | compat.h | 110 s32 f_flags; member
|
/linux-4.4.14/drivers/char/xillybus/ |
D | xillybus_core.c | 813 if (!no_time_left && (filp->f_flags & O_NONBLOCK)) { in xillybus_read() 915 if (filp->f_flags & O_NONBLOCK) in xillybus_read() 1368 if (filp->f_flags & O_NONBLOCK) { in xillybus_write() 1455 if ((filp->f_mode & FMODE_READ) && (filp->f_flags & O_NONBLOCK) && in xillybus_open() 1463 if ((filp->f_mode & FMODE_WRITE) && (filp->f_flags & O_NONBLOCK) && in xillybus_open()
|
/linux-4.4.14/net/9p/ |
D | trans_fd.c | 282 if (!(ts->rd->f_flags & O_NONBLOCK)) in p9_fd_read() 425 if (!(ts->wr->f_flags & O_NONBLOCK)) in p9_fd_write() 834 p->rd->f_flags |= O_NONBLOCK; in p9_socket_open()
|
/linux-4.4.14/drivers/block/aoe/ |
D | aoechr.c | 231 if (filp->f_flags & O_NDELAY) { in aoechr_read()
|
/linux-4.4.14/security/integrity/ima/ |
D | ima_main.c | 228 if (file->f_flags & O_DIRECT) in process_measurement()
|
D | ima_api.c | 210 if (file->f_flags & O_DIRECT) { in ima_collect_measurement()
|
D | ima_fs.c | 311 if (!(filp->f_flags & O_WRONLY)) in ima_open_policy()
|
/linux-4.4.14/drivers/isdn/divert/ |
D | divert_procfs.c | 90 if (file->f_flags & O_NONBLOCK) in isdn_divert_read()
|
/linux-4.4.14/drivers/usb/misc/ |
D | ldusb.c | 474 if (file->f_flags & O_NONBLOCK) { in ld_usb_read() 551 if (file->f_flags & O_NONBLOCK) { in ld_usb_write()
|
D | legousbtower.c | 583 if (file->f_flags & O_NONBLOCK) { in tower_read() 664 if (file->f_flags & O_NONBLOCK) { in tower_write()
|
D | iowarrior.c | 297 if (file->f_flags & O_NONBLOCK) in iowarrior_read() 389 if (file->f_flags & O_NONBLOCK) { in iowarrior_write()
|
/linux-4.4.14/drivers/nvdimm/ |
D | bus.c | 608 read_only = (O_RDWR != (file->f_flags & O_ACCMODE)); in nd_ioctl() 639 read_only = (O_RDWR != (file->f_flags & O_ACCMODE)); in nvdimm_ioctl()
|
/linux-4.4.14/drivers/misc/mei/ |
D | main.c | 192 if (file->f_flags & O_NONBLOCK) { in mei_read() 480 bool block = (file->f_flags & O_NONBLOCK) == 0; in mei_ioctl_client_notify_get()
|
D | amthif.c | 143 if (cb == NULL && file->f_flags & O_NONBLOCK) in mei_amthif_read()
|
/linux-4.4.14/fs/ceph/ |
D | file.c | 216 flags = file->f_flags & ~(O_CREAT|O_EXCL); in ceph_open() 221 ceph_vinop(inode), file, flags, file->f_flags); in ceph_open() 509 (file->f_flags & O_DIRECT) ? "O_DIRECT" : ""); in ceph_sync_read() 1140 ((file->f_flags & O_SYNC) || IS_SYNC(file->f_mapping->host) || in ceph_write_iter()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | timerdev.c | 117 if (filep->f_flags & O_NONBLOCK) in mISDN_read()
|
/linux-4.4.14/drivers/isdn/hysdn/ |
D | hysdn_proclog.c | 180 if (file->f_flags & O_NONBLOCK) in hysdn_log_read()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 518 rc = ivtv_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); in ivtv_v4l2_read() 631 if (filp->f_flags & O_NONBLOCK) in ivtv_write() 714 if (count && !(filp->f_flags & O_NONBLOCK)) in ivtv_write()
|
/linux-4.4.14/fs/nfs/ |
D | file.c | 71 res = nfs_check_flags(filp->f_flags); in nfs_file_open() 109 if (filp->f_flags & O_DIRECT) in nfs_revalidate_file_size()
|
D | nfs4file.c | 32 unsigned openflags = filp->f_flags; in nfs4_file_open()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_ioctl.c | 261 filp->f_flags |= O_NOATIME; in xfs_open_by_handle() 643 if (filp->f_flags & O_DSYNC) in xfs_ioc_space() 1464 (f.file->f_flags & O_APPEND)) { in xfs_ioc_swapext() 1477 (tmp.file->f_flags & O_APPEND)) { in xfs_ioc_swapext()
|
D | xfs_file.c | 1012 if (file->f_flags & O_DSYNC) in xfs_file_fallocate() 1050 if (!(file->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) in xfs_file_open()
|
/linux-4.4.14/drivers/bluetooth/ |
D | hci_vhci.c | 280 if (file->f_flags & O_NONBLOCK) { in vhci_read()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 191 if (file->f_flags & O_NONBLOCK) in opal_prd_read()
|
/linux-4.4.14/drivers/staging/speakup/ |
D | speakup_soft.c | 223 if (fp->f_flags & O_NONBLOCK) { in softsynth_read()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | rtasd.c | 354 if (file->f_flags & O_NONBLOCK) { in rtas_log_read()
|
/linux-4.4.14/net/batman-adv/ |
D | icmp_socket.c | 139 if ((file->f_flags & O_NONBLOCK) && (socket_client->queue_len == 0)) in batadv_socket_read()
|
D | debugfs.c | 151 if ((file->f_flags & O_NONBLOCK) && batadv_log_empty(debug_log)) in batadv_log_read()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 605 filp->f_flags & O_NONBLOCK); in cx18_v4l2_read() 608 return cx18_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); in cx18_v4l2_read()
|
/linux-4.4.14/drivers/usb/class/ |
D | usblp.c | 738 if ((rv = usblp_wwait(usblp, !!(file->f_flags & O_NONBLOCK))) < 0) in usblp_write() 778 rv = usblp_wwait(usblp, !!(file->f_flags&O_NONBLOCK)); in usblp_write() 835 rv = usblp_rwait_and_lock(usblp, !!(file->f_flags & O_NONBLOCK)); in usblp_read()
|
D | cdc-wdm.c | 375 if (!(file->f_flags & O_NONBLOCK)) in wdm_write() 496 if (file->f_flags & O_NONBLOCK) { in wdm_read()
|
/linux-4.4.14/drivers/hid/ |
D | hid-roccat.c | 94 if (file->f_flags & O_NONBLOCK) { in roccat_read()
|
D | hidraw.c | 68 if (file->f_flags & O_NONBLOCK) { in hidraw_read()
|
/linux-4.4.14/drivers/scsi/ |
D | sg.c | 276 int flags = filp->f_flags; in sg_open() 450 if (filp->f_flags & O_NONBLOCK) { in sg_read() 601 if (!((filp->f_flags & O_NONBLOCK) || in sg_write() 611 blocking = !(filp->f_flags & O_NONBLOCK); in sg_write() 853 read_only = (O_RDWR != (filp->f_flags & O_ACCMODE)); in sg_ioctl() 1115 cmd_in, filp->f_flags & O_NDELAY); in sg_ioctl()
|
/linux-4.4.14/drivers/media/platform/ |
D | timblogiw.c | 324 return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); in timblogiw_dqbuf() 721 file->f_flags & O_NONBLOCK); in timblogiw_read()
|
D | via-camera.c | 760 filp->f_flags & O_NONBLOCK); in viacam_read() 1029 return videobuf_dqbuf(&cam->vb_queue, buf, filp->f_flags & O_NONBLOCK); in viacam_dqbuf()
|
/linux-4.4.14/drivers/input/misc/ |
D | uinput.c | 537 (file->f_flags & O_NONBLOCK)) in uinput_read() 547 if (!(file->f_flags & O_NONBLOCK)) in uinput_read()
|
/linux-4.4.14/drivers/misc/ |
D | hpilo.c | 590 data->ccb_excl = fp->f_flags & O_EXCL; in ilo_open() 616 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { in ilo_open()
|
/linux-4.4.14/drivers/media/common/saa7146/ |
D | saa7146_video.c | 931 return videobuf_dqbuf(&fh->video_q, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 933 return videobuf_dqbuf(&fh->vbi_q, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 1287 file->f_flags & O_NONBLOCK); in video_read()
|
D | saa7146_vbi.c | 479 file->f_flags & O_NONBLOCK); in vbi_read()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf2-v4l2.c | 1487 return vb2_dqbuf(vdev->queue, p, file->f_flags & O_NONBLOCK); in vb2_ioctl_dqbuf() 1570 file->f_flags & O_NONBLOCK); in vb2_fop_write() 1594 file->f_flags & O_NONBLOCK); in vb2_fop_read()
|
D | v4l2-subdev.c | 218 return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK); in subdev_do_ioctl()
|
/linux-4.4.14/kernel/time/ |
D | posix-clock.c | 62 err = clk->ops.read(clk, fp->f_flags, buf, count); in posix_clock_read()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | uvc_v4l2.c | 190 return uvcg_dequeue_buffer(&video->queue, b, file->f_flags & O_NONBLOCK); in uvc_v4l2_dqbuf()
|
D | f_hid.c | 214 if (file->f_flags & O_NONBLOCK) in f_hidg_read() 284 if (file->f_flags & O_NONBLOCK) in f_hidg_write()
|
D | f_fs.c | 268 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); in ffs_ep0_write() 444 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); in ffs_ep0_read() 472 if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) { in ffs_ep0_read() 586 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); in ffs_ep0_poll() 700 if (file->f_flags & O_NONBLOCK) { in ffs_epfile_io() 756 ret = ffs_mutex_lock(&epfile->mutex, file->f_flags & O_NONBLOCK); in ffs_epfile_io()
|
D | f_printer.c | 476 if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { in printer_read() 588 if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { in printer_write()
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 741 if (file->f_flags & O_NONBLOCK) { in spufs_ibox_read() 898 if (file->f_flags & O_NONBLOCK) { in spufs_wbox_write() 1580 if (file->f_flags & O_NONBLOCK) { in spufs_mfc_read() 1717 if (file->f_flags & O_NONBLOCK) { in spufs_mfc_write() 2467 } else if (file->f_flags & O_NONBLOCK) { in spufs_switch_log_read()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_fd.c | 89 non_block = !!(f->f_flags & O_NONBLOCK); in scif_fdioctl()
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-dev.c | 176 if (file->f_flags & O_NONBLOCK) { in rtc_dev_read()
|
/linux-4.4.14/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 361 (filp->f_flags & O_NONBLOCK) != 0) { in goldfish_pipe_read_write()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | diag.c | 667 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) { in hfi1_snoop_open() 670 } else if ((fp->f_flags & O_ACCMODE) == O_RDWR) { in hfi1_snoop_open() 931 if (fp->f_flags & O_NONBLOCK) in hfi1_snoop_read()
|
/linux-4.4.14/sound/oss/dmasound/ |
D | dmasound_core.c | 719 if (file->f_flags & O_NONBLOCK) in sq_open2() 748 sq->non_blocking = file->f_flags & O_NONBLOCK; in sq_open2()
|
/linux-4.4.14/fs/fuse/ |
D | file.c | 30 inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open() 182 if (fc->atomic_o_trunc && (file->f_flags & O_TRUNC)) { in fuse_finish_open() 201 bool lock_inode = (file->f_flags & O_TRUNC) && in fuse_open_common() 256 fuse_prepare_release(ff, file->f_flags, opcode); in fuse_release_common() 508 inarg->flags = file->f_flags; in fuse_read_fill() 957 inarg->flags = file->f_flags; in fuse_send_write()
|
D | cuse.c | 146 fuse_sync_release(ff, file->f_flags); in cuse_release()
|
/linux-4.4.14/drivers/staging/media/lirc/ |
D | lirc_parallel.c | 347 if (filep->f_flags & O_NONBLOCK) { in lirc_read()
|
D | lirc_sir.c | 224 if (file->f_flags & O_NONBLOCK) { in lirc_read()
|
/linux-4.4.14/drivers/media/radio/wl128x/ |
D | fmdrv_v4l2.c | 411 if (file->f_flags & O_NONBLOCK) in fm_v4l2_vidioc_s_hw_freq_seek()
|
/linux-4.4.14/arch/cris/arch-v32/drivers/ |
D | sync_serial.c | 630 if (file->f_flags & O_NONBLOCK) in __sync_serial_read() 1154 if (!(file->f_flags & O_NONBLOCK)) { in sync_serial_write() 1179 if (file->f_flags & O_NONBLOCK) { in sync_serial_write()
|
/linux-4.4.14/drivers/staging/most/aim-v4l2/ |
D | video.c | 176 if (!(filp->f_flags & O_NONBLOCK)) { in aim_vdev_read()
|
/linux-4.4.14/drivers/media/radio/ |
D | radio-mr800.c | 366 if (file->f_flags & O_NONBLOCK) in vidioc_s_hw_freq_seek()
|
D | radio-tea5777.c | 399 if (file->f_flags & O_NONBLOCK) in vidioc_s_hw_freq_seek()
|
D | tea575x.c | 385 if (file->f_flags & O_NONBLOCK) in snd_tea575x_s_hw_freq_seek()
|
D | radio-si476x.c | 761 if (file->f_flags & O_NONBLOCK) in si476x_radio_s_hw_freq_seek() 1124 if (file->f_flags & O_NONBLOCK) in si476x_radio_fops_read()
|
D | radio-cadet.c | 341 if (!cadet_has_rds_data(dev) && (file->f_flags & O_NONBLOCK)) in cadet_read()
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_dev_frontend.c | 134 if (filp->f_flags & O_NONBLOCK) in xenbus_file_read()
|
/linux-4.4.14/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 157 int noblock = file->f_flags&O_NONBLOCK; in cpia2_v4l_read() 927 if(frame < 0 && file->f_flags&O_NONBLOCK) in cpia2_dqbuf()
|
/linux-4.4.14/drivers/media/usb/hdpvr/ |
D | hdpvr-video.c | 445 if (!(file->f_flags & O_NONBLOCK)) { in hdpvr_read() 458 if (file->f_flags & O_NONBLOCK) { in hdpvr_read()
|
/linux-4.4.14/drivers/ide/ |
D | ide-tape.c | 1513 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in idetape_chrdev_open() 1520 if ((filp->f_flags & O_ACCMODE) == O_WRONLY || in idetape_chrdev_open() 1521 (filp->f_flags & O_ACCMODE) == O_RDWR) { in idetape_chrdev_open()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | salinfo.c | 312 if (file->f_flags & O_NONBLOCK) in salinfo_event_read()
|
/linux-4.4.14/drivers/misc/cxl/ |
D | file.c | 350 if (file->f_flags & O_NONBLOCK) { in afu_read()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_eer.c | 619 if (filp->f_flags & O_NONBLOCK) in dasd_eer_read()
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 651 return vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 653 ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
|
/linux-4.4.14/drivers/net/ |
D | macvtap.c | 853 return macvtap_get_user(q, NULL, from, file->f_flags & O_NONBLOCK); in macvtap_write_iter() 960 ret = macvtap_do_read(q, to, file->f_flags & O_NONBLOCK); in macvtap_read_iter()
|
/linux-4.4.14/fs/overlayfs/ |
D | readdir.c | 506 realfile = ovl_path_open(&realpath, file->f_flags); in ovl_dir_open()
|
/linux-4.4.14/arch/arm64/mm/ |
D | mmu.c | 59 else if (file->f_flags & O_SYNC) in phys_mem_access_prot()
|
/linux-4.4.14/drivers/dma-buf/ |
D | dma-buf.c | 808 buf_obj->file->f_flags, buf_obj->file->f_mode, in dma_buf_describe()
|
/linux-4.4.14/drivers/macintosh/ |
D | adb.c | 747 if (file->f_flags & O_NONBLOCK) { in adb_read()
|
/linux-4.4.14/fs/notify/inotify/ |
D | inotify_user.c | 257 if (file->f_flags & O_NONBLOCK) in inotify_read()
|
/linux-4.4.14/drivers/virt/ |
D | fsl_hypervisor.c | 618 if (filp->f_flags & O_NONBLOCK) in fsl_hv_read()
|
/linux-4.4.14/arch/cris/arch-v10/drivers/ |
D | sync_serial.c | 1055 if (file->f_flags & O_NONBLOCK) { in sync_serial_write() 1136 if (file->f_flags & O_NONBLOCK) in sync_serial_read()
|