/linux-4.1.27/arch/mips/include/uapi/asm/ |
H A D | statfs.h | 36 long f_flags; member in struct:statfs 57 __u32 f_flags; member in struct:statfs64 78 long f_flags; member in struct:statfs64 94 __u32 f_flags; member in struct:compat_statfs64
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
H A D | statfs.h | 31 unsigned int f_flags; member in struct:statfs 46 unsigned int f_flags; member in struct:statfs64
|
/linux-4.1.27/include/uapi/asm-generic/ |
H A D | statfs.h | 33 __statfs_word f_flags; member in struct:statfs 56 __statfs_word f_flags; member in struct:statfs64 79 __u32 f_flags; member in struct:compat_statfs64
|
H A D | fcntl.h | 102 #define F_GETFL 3 /* get file->f_flags */ 103 #define F_SETFL 4 /* set file->f_flags */
|
/linux-4.1.27/include/linux/ |
H A D | statfs.h | 18 long f_flags; member in struct:kstatfs 34 #define ST_VALID 0x0020 /* f_flags support is implemented */
|
H A D | fs.h | 839 * Protects f_ep_links, f_flags. 844 unsigned int f_flags; member in struct:file 1900 if (!(file->f_flags & O_NOATIME)) file_accessed() 2401 if (!(file->f_flags & O_DSYNC) && !IS_SYNC(file->f_mapping->host)) generic_write_sync() 2404 (file->f_flags & __O_SYNC) ? 0 : 1); generic_write_sync() 2831 return (filp->f_flags & O_DIRECT) || IS_DAX(file_inode(filp)); io_is_direct() 2837 if (file->f_flags & O_APPEND) iocb_flags()
|
/linux-4.1.27/fs/ |
H A D | statfs.c | 72 buf->f_flags = calculate_f_flags(path->mnt); vfs_statfs() 140 buf.f_flags = st->f_flags; do_statfs_native() 164 buf.f_flags = st->f_flags; do_statfs64()
|
H A D | fcntl.c | 41 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) setfl() 45 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) setfl() 68 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { setfl() 76 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); setfl() 263 err = filp->f_flags; do_fcntl() 592 filp->f_flags &= ~FASYNC; fasync_remove_entry() 645 filp->f_flags |= FASYNC; fasync_insert_entry()
|
H A D | open.c | 168 if (f.file->f_flags & O_LARGEFILE) do_sys_ftruncate() 673 if (f->f_flags & O_DIRECT) { open_check_o_direct() 688 f->f_mode = OPEN_FMODE(f->f_flags) | FMODE_LSEEK | do_dentry_open() 695 if (unlikely(f->f_flags & O_PATH)) { do_dentry_open() 727 error = break_lease(inode, f->f_flags); do_dentry_open() 747 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); do_dentry_open() 840 inode = dentry->d_op->d_select_inode(dentry, file->f_flags); vfs_open() 861 f->f_flags = flags; dentry_open() 1125 if (!(filp->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) generic_file_open()
|
H A D | pipe.c | 304 if (filp->f_flags & O_NONBLOCK) { pipe_read() 334 return (file->f_flags & O_DIRECT) != 0; is_packetized() 442 if (filp->f_flags & O_NONBLOCK) { pipe_write() 701 f->f_flags = O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)); create_pipe_files() 710 res[0]->f_flags = O_RDONLY | (flags & O_NONBLOCK); create_pipe_files() 871 if ((filp->f_flags & O_NONBLOCK)) { fifo_open() 889 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) fifo_open()
|
H A D | ioctl.c | 489 filp->f_flags |= flag; ioctl_fionbio() 491 filp->f_flags &= ~flag; ioctl_fionbio() 508 if ((flag ^ filp->f_flags) & FASYNC) { ioctl_fioasync() 510 /* fasync() adjusts filp->f_flags */ ioctl_fioasync()
|
H A D | anon_inodes.c | 110 file->f_flags = flags & (O_ACCMODE | O_NONBLOCK); anon_inode_getfile()
|
H A D | eventfd.c | 235 res = eventfd_ctx_read(ctx, file->f_flags & O_NONBLOCK, &cnt); eventfd_read() 260 else if (!(file->f_flags & O_NONBLOCK)) { eventfd_write()
|
H A D | signalfd.c | 209 int nonblock = file->f_flags & O_NONBLOCK; signalfd_read()
|
H A D | file_table.c | 202 if (unlikely(file->f_flags & FASYNC)) { __fput()
|
H A D | compat.c | 240 __put_user(kbuf->f_flags, &ubuf->f_flags) || put_compat_statfs() 295 __put_user(kbuf->f_flags, &ubuf->f_flags) || put_compat_statfs64()
|
H A D | block_dev.c | 1464 filp->f_flags |= O_LARGEFILE; blkdev_open() 1466 if (filp->f_flags & O_NDELAY) blkdev_open() 1468 if (filp->f_flags & O_EXCL) blkdev_open() 1470 if ((filp->f_flags & O_ACCMODE) == 3) blkdev_open() 1588 if (file->f_flags & O_NDELAY) block_ioctl()
|
H A D | timerfd.c | 245 if (file->f_flags & O_NONBLOCK) timerfd_read()
|
/linux-4.1.27/fs/proc/ |
H A D | kmsg.c | 36 if ((file->f_flags & O_NONBLOCK) && kmsg_read()
|
H A D | fd.c | 22 int f_flags = 0, ret = -ENOENT; seq_show() local 41 f_flags = file->f_flags; seq_show() 43 f_flags |= O_CLOEXEC; seq_show() 56 (long long)file->f_pos, f_flags, seq_show()
|
/linux-4.1.27/include/media/ |
H A D | adv7511.h | 39 u32 f_flags; member in struct:adv7511_cec_arg
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | binfmt_loader.c | 15 if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) load_binary()
|
H A D | osf_sys.c | 233 short f_flags; member in struct:osf_statfs 246 short f_flags; member in struct:osf_statfs64 305 tmp_stat.f_flags = 0; /* mount flags */ linux_to_osf_statfs()
|
/linux-4.1.27/fs/coda/ |
H A D | file.c | 127 unsigned short flags = coda_file->f_flags & (~O_EXCL); coda_open() 145 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); coda_open() 158 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); coda_release()
|
H A D | psdev.c | 220 if (file->f_flags & O_NONBLOCK) { coda_psdev_read()
|
/linux-4.1.27/drivers/char/pcmcia/ |
H A D | cm4000_cs.c | 944 ((filp->f_flags & O_NONBLOCK) 946 if (filp->f_flags & O_NONBLOCK) 957 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { 958 if (filp->f_flags & O_NONBLOCK) 966 ((filp->f_flags & O_NONBLOCK) 968 if (filp->f_flags & O_NONBLOCK) 1096 ((filp->f_flags & O_NONBLOCK) 1098 if (filp->f_flags & O_NONBLOCK) 1111 ((filp->f_flags & O_NONBLOCK) 1113 if (filp->f_flags & O_NONBLOCK) 1486 ((filp->f_flags & O_NONBLOCK) 1489 if (filp->f_flags & O_NONBLOCK) 1536 ((filp->f_flags & O_NONBLOCK) 1539 if (filp->f_flags & O_NONBLOCK) 1554 ((filp->f_flags & O_NONBLOCK) 1557 if (filp->f_flags & O_NONBLOCK) 1585 ((filp->f_flags & O_NONBLOCK) 1588 if (filp->f_flags & O_NONBLOCK) 1597 ((filp->f_flags & O_NONBLOCK) 1600 if (filp->f_flags & O_NONBLOCK) 1672 if (filp->f_flags & O_NONBLOCK) {
|
H A D | cm4040_cs.c | 234 if (filp->f_flags & O_NONBLOCK) { cm4040_read() 235 DEBUGP(4, dev, "filep->f_flags O_NONBLOCK set\n"); cm4040_read() 338 if (filp->f_flags & O_NONBLOCK) { 339 DEBUGP(4, dev, "filep->f_flags O_NONBLOCK set\n"); 460 if (filp->f_flags & O_NONBLOCK) { 461 DEBUGP(4, dev, "filep->f_flags O_NONBLOCK set\n");
|
/linux-4.1.27/arch/mips/boot/ |
H A D | ecoff.h | 11 unsigned short f_flags; /* flags */ member in struct:filehdr
|
H A D | elf2ecoff.c | 227 f->f_flags = swab16(f->f_flags); convert_ecoff_filehdr() 444 efh.f_flags = 0x100f; /* Stripped, not sharable. */ main()
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
H A D | a.out.h | 22 __u16 f_opthdr, f_flags; member in struct:filehdr
|
/linux-4.1.27/fs/notify/fanotify/ |
H A D | fanotify_user.c | 31 * Internal and external open flags are stored together in field f_flags of 81 client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); create_fd() 93 group->fanotify_data.f_flags | FMODE_NONOTIFY, create_fd() 282 if (file->f_flags & O_NONBLOCK) fanotify_read() 693 int f_flags, fd; SYSCALL_DEFINE2() local 724 f_flags = O_RDWR | FMODE_NONOTIFY; SYSCALL_DEFINE2() 726 f_flags |= O_CLOEXEC; SYSCALL_DEFINE2() 728 f_flags |= O_NONBLOCK; SYSCALL_DEFINE2() 749 group->fanotify_data.f_flags = event_f_flags; SYSCALL_DEFINE2() 789 fd = anon_inode_getfd("[fanotify]", &fanotify_fops, group, f_flags); SYSCALL_DEFINE2()
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
H A D | av7110_av.c | 949 if ((file->f_flags & O_ACCMODE) != O_RDONLY) dvb_video_poll() 957 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { dvb_video_poll() 979 if ((file->f_flags & O_ACCMODE) == O_RDONLY) dvb_video_write() 988 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); dvb_video_write() 990 return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); dvb_video_write() 1029 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); dvb_audio_write() 1031 return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); dvb_audio_write() 1107 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { dvb_video_ioctl() 1186 ret = dvb_video_get_event(av7110, parg, file->f_flags); dvb_video_ioctl() 1234 file->f_flags & O_NONBLOCK); dvb_video_ioctl() 1319 if (((file->f_flags & O_ACCMODE) == O_RDONLY) && dvb_audio_ioctl() 1470 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { dvb_video_open() 1491 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { dvb_video_release()
|
H A D | av7110_ca.c | 154 int non_blocking = file->f_flags & O_NONBLOCK; ci_ll_write() 193 int non_blocking = file->f_flags & O_NONBLOCK; ci_ll_read()
|
/linux-4.1.27/drivers/char/ |
H A D | snsc.c | 171 if (file->f_flags & O_NONBLOCK) { scdrv_read() 190 if (file->f_flags & O_NONBLOCK) { scdrv_read() 263 if (file->f_flags & O_NONBLOCK) { scdrv_write() 287 if (file->f_flags & O_NONBLOCK) { scdrv_write()
|
H A D | ppdev.c | 135 (file->f_flags & O_NONBLOCK) ? pp_read() 166 if (file->f_flags & O_NONBLOCK) { pp_read() 214 (file->f_flags & O_NONBLOCK) ? pp_write() 248 if (file->f_flags & O_NONBLOCK) { pp_write()
|
H A D | dtlk.c | 148 if (file->f_flags & O_NONBLOCK) dtlk_read() 213 if (file->f_flags & O_NONBLOCK) dtlk_write()
|
H A D | nvram.c | 346 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || nvram_open() 353 if (file->f_flags & O_EXCL) nvram_open()
|
H A D | raw.c | 80 filp->f_flags |= O_DIRECT; raw_open()
|
H A D | lp.c | 303 int nonblock = ((file->f_flags & O_NONBLOCK) || lp_write() 420 int nonblock = ((file->f_flags & O_NONBLOCK) || lp_read() 514 if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { lp_open()
|
H A D | genrtc.c | 185 if (file->f_flags & O_NONBLOCK && !gen_rtc_irq_data) gen_rtc_read()
|
H A D | virtio_console.c | 768 if (filp->f_flags & O_NONBLOCK) port_fops_read() 830 nonblock = filp->f_flags & O_NONBLOCK; port_fops_write() 953 ret = wait_port_writable(port, filp->f_flags & O_NONBLOCK); port_fops_splice_write()
|
H A D | apm-emulation.c | 218 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) apm_read()
|
H A D | mem.c | 258 if (file->f_flags & O_DSYNC) uncached_access()
|
/linux-4.1.27/arch/mips/loongson/common/ |
H A D | mem.c | 97 if (file->f_flags & O_DSYNC) __uncached_access()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | rtlx.c | 329 return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); file_open() 365 if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) file_read() 380 if (file->f_flags & O_NONBLOCK) file_write()
|
/linux-4.1.27/drivers/media/dvb-core/ |
H A D | dmxdev.c | 139 if ((file->f_flags & O_ACCMODE) == O_RDWR) { dvb_dvr_open() 146 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { dvb_dvr_open() 161 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { dvb_dvr_open() 190 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { dvb_dvr_release() 195 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { dvb_dvr_release() 226 if ((file->f_flags & O_ACCMODE) != O_WRONLY) dvb_dvr_write() 250 file->f_flags & O_NONBLOCK, dvb_dvr_read() 908 file->f_flags & O_NONBLOCK, dvb_dmxdev_read_sec() 929 file->f_flags & O_NONBLOCK, dvb_dmxdev_read_sec() 951 file->f_flags & O_NONBLOCK, dvb_demux_read() 1192 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { dvb_dvr_poll()
|
H A D | dvbdev.c | 116 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { dvb_generic_open() 139 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { dvb_generic_release()
|
/linux-4.1.27/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 119 if (fp->f_flags & O_NONBLOCK) hmcdrv_dev_open() 125 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) hmcdrv_dev_open() 225 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) || hmcdrv_dev_read()
|
H A D | vmur.c | 698 accmode = file->f_flags & O_ACCMODE; ur_open() 717 if (file->f_flags & O_NONBLOCK) { ur_open() 787 if ((file->f_flags & O_ACCMODE) != O_RDONLY) ur_llseek()
|
H A D | monreader.c | 378 if (filp->f_flags & O_NONBLOCK) mon_read()
|
H A D | vmlogrdr.c | 323 if (filp->f_flags & O_NONBLOCK) vmlogrdr_open()
|
/linux-4.1.27/sound/core/seq/oss/ |
H A D | seq_oss_init.c | 299 if ((file->f_flags & O_ACCMODE) != O_RDONLY) translate_mode() 301 if ((file->f_flags & O_ACCMODE) != O_WRONLY) translate_mode() 303 if (file->f_flags & O_NONBLOCK) translate_mode()
|
/linux-4.1.27/arch/um/drivers/ |
H A D | random.c | 71 if (filp->f_flags & O_NONBLOCK) rng_dev_read()
|
/linux-4.1.27/fs/notify/ |
H A D | fdinfo.c | 156 flags, group->fanotify_data.f_flags); fanotify_show_fdinfo()
|
/linux-4.1.27/fs/nfs/ |
H A D | nfs4file.c | 28 unsigned openflags = filp->f_flags; nfs4_file_open()
|
H A D | file.c | 71 res = nfs_check_flags(filp->f_flags); nfs_file_open() 108 if (filp->f_flags & O_DIRECT) nfs_revalidate_file_size() 662 if (IS_SYNC(inode) || (filp->f_flags & O_DSYNC)) nfs_need_sync_write()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-radio-rx.c | 89 if (file->f_flags & O_NONBLOCK) vivid_radio_rx_read() 177 if (file->f_flags & O_NONBLOCK) vivid_radio_rx_s_hw_freq_seek()
|
H A D | vivid-radio-tx.c | 76 if (file->f_flags & O_NONBLOCK) vivid_radio_tx_write()
|
/linux-4.1.27/drivers/staging/speakup/ |
H A D | speakup_soft.c | 180 /*if ((fp->f_flags & O_ACCMODE) != O_RDONLY) */ softsynth_open() 222 if (fp->f_flags & O_NONBLOCK) { softsynth_read()
|
/linux-4.1.27/drivers/input/serio/ |
H A D | serio_raw.c | 174 (file->f_flags & O_NONBLOCK)) serio_raw_read() 189 if (!(file->f_flags & O_NONBLOCK)) { serio_raw_read()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 276 unsigned int mode = file->f_flags & O_ACCMODE; kgdb_nmi_tty_open() 289 unsigned int mode = file->f_flags & O_ACCMODE; kgdb_nmi_tty_close()
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | compat.h | 161 u32 f_flags; member in struct:compat_statfs 176 u32 f_flags; member in struct:compat_statfs64
|
/linux-4.1.27/kernel/power/ |
H A D | user.c | 62 if ((filp->f_flags & O_ACCMODE) == O_RDWR) { snapshot_open() 71 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) { snapshot_open()
|
/linux-4.1.27/sound/oss/ |
H A D | midibuf.c | 279 if (file->f_flags & O_NONBLOCK) { MIDIbuf_write() 323 if (file->f_flags & O_NONBLOCK) { MIDIbuf_read()
|
H A D | audio.c | 252 if ((err = DMAbuf_getwrbuffer(dev, &dma_buf, &buf_size, !!(file->f_flags & O_NONBLOCK))) < 0) audio_write() 255 if ((file->f_flags & O_NONBLOCK) && err == -EAGAIN) audio_write() 326 if ((buf_no = DMAbuf_getrdbuffer(dev, &dmabuf, &l, !!(file->f_flags & O_NONBLOCK))) < 0) audio_read() 335 if ((file->f_flags & O_NONBLOCK) && buf_no == -EAGAIN) audio_read() 437 file->f_flags |= O_NONBLOCK; audio_ioctl()
|
H A D | sequencer.c | 100 if (file->f_flags & O_NONBLOCK) { sequencer_read() 305 if (!seq_queue(event_rec, (file->f_flags & (O_NONBLOCK) ? 1 : 0))) sequencer_write() 312 if (!processed && (file->f_flags & O_NONBLOCK)) sequencer_write() 1131 if (mode != OPEN_READ && !(file->f_flags & O_NONBLOCK)) sequencer_release()
|
H A D | swarm_cs4297a.c | 1743 if (file->f_flags & O_NONBLOCK) cs4297a_read() 1839 if (file->f_flags & O_NONBLOCK) cs4297a_write() 2004 0 /*file->f_flags & O_NONBLOCK */ cs4297a_ioctl() 2227 file->f_flags |= O_NONBLOCK; cs4297a_ioctl() 2388 drain_dac(s, file->f_flags & O_NONBLOCK); cs4297a_release() 2397 drain_adc(s, file->f_flags & O_NONBLOCK); cs4297a_release() 2452 if (file->f_flags & O_NONBLOCK) { cs4297a_locked_open() 2469 if (file->f_flags & O_NONBLOCK) { cs4297a_locked_open()
|
/linux-4.1.27/drivers/misc/genwqe/ |
H A D | card_dev.c | 614 rc = __genwqe_execute_raw_ddcb(cd, req, filp->f_flags); do_flash_update() 732 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); do_flash_read() 1000 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); genwqe_execute_ddcb() 1028 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); do_execute_ddcb() 1095 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) genwqe_ioctl() 1131 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) genwqe_ioctl() 1154 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) genwqe_ioctl()
|
H A D | card_base.h | 512 struct genwqe_ddcb_cmd *cmd, unsigned int f_flags); 525 unsigned int f_flags); 528 unsigned int f_flags);
|
H A D | card_ddcb.c | 752 * @f_flags: file mode: blocking, non-blocking 759 unsigned int f_flags) __genwqe_enqueue_ddcb() 797 if (f_flags & O_NONBLOCK) { __genwqe_enqueue_ddcb() 913 * @f_flags: file mode: blocking, non-blocking 917 unsigned int f_flags) __genwqe_execute_raw_ddcb() 933 rc = __genwqe_enqueue_ddcb(cd, req, f_flags); __genwqe_execute_raw_ddcb() 758 __genwqe_enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req, unsigned int f_flags) __genwqe_enqueue_ddcb() argument 915 __genwqe_execute_raw_ddcb(struct genwqe_dev *cd, struct genwqe_ddcb_cmd *cmd, unsigned int f_flags) __genwqe_execute_raw_ddcb() argument
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | compat.h | 138 int f_flags; member in struct:compat_statfs
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoechr.c | 231 if (filp->f_flags & O_NDELAY) { aoechr_read()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | compat.h | 115 int f_flags; member in struct:compat_statfs
|
/linux-4.1.27/arch/mips/mm/ |
H A D | cache.c | 237 if (file->f_flags & O_DSYNC) __uncached_access()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | compat.h | 110 s32 f_flags; member in struct:compat_statfs
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | compat.h | 108 int f_flags; member in struct:compat_statfs
|
/linux-4.1.27/arch/alpha/boot/tools/ |
H A D | objstrip.c | 199 if (!(aout->fh.f_flags & COFF_F_EXEC)) { main()
|
/linux-4.1.27/fs/9p/ |
H A D | vfs_file.c | 71 omode = v9fs_open_to_dotl_flags(file->f_flags); v9fs_file_open() 73 omode = v9fs_uflags2omode(file->f_flags, v9fs_file_open() 86 if ((file->f_flags & O_APPEND) && v9fs_file_open() 95 ((file->f_flags & O_ACCMODE) != O_RDONLY)) { v9fs_file_open()
|
H A D | cache.c | 248 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) v9fs_cache_inode_set_cookie()
|
/linux-4.1.27/drivers/iio/ |
H A D | industrialio-event.c | 115 if (filep->f_flags & O_NONBLOCK) iio_event_chrdev_read() 141 if (copied == 0 && (filep->f_flags & O_NONBLOCK)) iio_event_chrdev_read()
|
H A D | industrialio-buffer.c | 124 if (!(filp->f_flags & O_NONBLOCK)) iio_buffer_read_first_n_outer() 137 if (ret == 0 && (filp->f_flags & O_NONBLOCK)) iio_buffer_read_first_n_outer()
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | core.c | 245 !(filp->f_flags & O_NONBLOCK)); rng_dev_read() 254 if (filp->f_flags & O_NONBLOCK) { rng_dev_read()
|
/linux-4.1.27/drivers/thermal/int340x_thermal/ |
H A D | acpi_thermal_rel.c | 37 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { acpi_thermal_rel_open() 42 if (file->f_flags & O_EXCL) acpi_thermal_rel_open()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | coff.h | 63 char f_flags[2]; /* flags */ member in struct:COFF_filehdr 67 * Bits for f_flags:
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | file.c | 217 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) ecryptfs_open() 218 == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) { ecryptfs_open()
|
/linux-4.1.27/sound/core/ |
H A D | rawmidi.c | 373 if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) snd_rawmidi_open() 405 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ snd_rawmidi_open() 420 if (file->f_flags & O_NONBLOCK) { snd_rawmidi_open() 1006 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { snd_rawmidi_read() 1310 if (file->f_flags & O_NONBLOCK) { snd_rawmidi_write() 1334 if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) snd_rawmidi_write() 1338 if (file->f_flags & O_DSYNC) { snd_rawmidi_write()
|
H A D | pcm_native.c | 1510 /* we use the second argument for updating f_flags */ snd_pcm_pre_prepare() 1512 int f_flags) snd_pcm_pre_prepare() 1520 substream->f_flags = f_flags; snd_pcm_pre_prepare() 1549 * @file: file to refer f_flags 1558 int f_flags; snd_pcm_prepare() local 1561 f_flags = file->f_flags; snd_pcm_prepare() 1563 f_flags = substream->f_flags; snd_pcm_prepare() 1568 substream, f_flags); snd_pcm_prepare() 1677 if (file->f_flags & O_NONBLOCK) snd_pcm_drain() 1679 } else if (substream->f_flags & O_NONBLOCK) snd_pcm_drain() 2378 if (file->f_flags & O_NONBLOCK) { snd_pcm_open() 1511 snd_pcm_pre_prepare(struct snd_pcm_substream *substream, int f_flags) snd_pcm_pre_prepare() argument
|
H A D | info.c | 318 mode = file->f_flags & O_ACCMODE; snd_info_entry_open() 408 mode = file->f_flags & O_ACCMODE; snd_info_entry_release()
|
H A D | pcm.c | 937 if (file->f_flags & O_APPEND) { snd_pcm_attach_substream() 996 substream->f_flags = file->f_flags; snd_pcm_attach_substream()
|
H A D | hwdep.c | 123 if (file->f_flags & O_NONBLOCK) { snd_hwdep_open()
|
H A D | pcm_lib.c | 2138 nonblock = !!(substream->f_flags & O_NONBLOCK); snd_pcm_lib_write() 2201 nonblock = !!(substream->f_flags & O_NONBLOCK); snd_pcm_lib_writev() 2350 nonblock = !!(substream->f_flags & O_NONBLOCK); snd_pcm_lib_read() 2409 nonblock = !!(substream->f_flags & O_NONBLOCK); snd_pcm_lib_readv()
|
H A D | compress_offload.c | 92 if ((f->f_flags & O_ACCMODE) == O_WRONLY) snd_compr_open() 94 else if ((f->f_flags & O_ACCMODE) == O_RDONLY) snd_compr_open()
|
/linux-4.1.27/drivers/xen/ |
H A D | mcelog.c | 79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { xen_mce_chrdev_open() 85 if (file->f_flags & O_EXCL) xen_mce_chrdev_open()
|
H A D | evtchn.c | 193 if (file->f_flags & O_NONBLOCK) evtchn_read()
|
/linux-4.1.27/sound/core/oss/ |
H A D | pcm_oss.c | 1401 else if ((substream->f_flags & O_NONBLOCK) != 0) { snd_pcm_oss_write1() 1416 if ((substream->f_flags & O_NONBLOCK) != 0 && snd_pcm_oss_write1() 1679 saved_f_flags = substream->f_flags; snd_pcm_oss_sync() 1680 substream->f_flags &= ~O_NONBLOCK; snd_pcm_oss_sync() 1682 substream->f_flags = saved_f_flags; snd_pcm_oss_sync() 1926 file->f_flags |= O_NONBLOCK; snd_pcm_oss_nonblock() 2272 substream->f_flags |= O_NONBLOCK; snd_pcm_oss_init_substream() 2274 substream->f_flags &= ~O_NONBLOCK; snd_pcm_oss_init_substream() 2333 file->f_flags &= ~O_APPEND; snd_pcm_oss_open_file() 2420 nonblock = !!(file->f_flags & O_NONBLOCK); snd_pcm_oss_open() 2669 substream->f_flags = file->f_flags & O_NONBLOCK; snd_pcm_oss_read() 2693 substream->f_flags = file->f_flags & O_NONBLOCK; snd_pcm_oss_write()
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx-audio.c | 267 nonblock = !!(substream->f_flags & O_NONBLOCK); snd_em28xx_capture_open() 509 nonblock = !!(substream->f_flags & O_NONBLOCK); em28xx_vol_put() 547 nonblock = !!(substream->f_flags & O_NONBLOCK); em28xx_vol_get() 582 nonblock = !!(substream->f_flags & O_NONBLOCK); em28xx_vol_put_mute() 623 nonblock = !!(substream->f_flags & O_NONBLOCK); em28xx_vol_get_mute()
|
/linux-4.1.27/ipc/ |
H A D | mqueue.c | 1032 if (f.file->f_flags & O_NONBLOCK) { SYSCALL_DEFINE5() 1137 if (f.file->f_flags & O_NONBLOCK) { SYSCALL_DEFINE5() 1342 omqstat.mq_flags = f.file->f_flags & O_NONBLOCK; SYSCALL_DEFINE3() 1347 f.file->f_flags |= O_NONBLOCK; SYSCALL_DEFINE3() 1349 f.file->f_flags &= ~O_NONBLOCK; SYSCALL_DEFINE3()
|
/linux-4.1.27/fs/cifs/ |
H A D | file.c | 114 struct super_block *sb, int mode, unsigned int f_flags, cifs_posix_open() 140 posix_flags = cifs_posix_convert_flags(f_flags); cifs_posix_open() 176 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, cifs_nt_open() 190 desired_access = cifs_convert_flags(f_flags); cifs_nt_open() 216 disposition = cifs_get_disposition(f_flags); cifs_nt_open() 303 cfile->f_flags = file->f_flags; cifs_new_fileinfo() 471 inode, file->f_flags, full_path); cifs_open() 473 if (file->f_flags & O_DIRECT && cifs_open() 492 file->f_flags, &oplock, &fid.netfid, xid); cifs_open() 521 file->f_flags, &oplock, &fid, xid); cifs_open() 642 inode, cfile->f_flags, full_path); cifs_reopen_file() 656 unsigned int oflags = cfile->f_flags & cifs_reopen_file() 673 desired_access = cifs_convert_flags(cfile->f_flags); cifs_reopen_file() 1735 if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) { find_readable_file() 1788 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { find_writable_file() 2996 if ((file->f_flags & O_ACCMODE) == O_WRONLY) cifs_user_readv() 3158 if ((file->f_flags & O_ACCMODE) == O_WRONLY) cifs_read() 3638 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { is_inode_writable() 3733 if ((file->f_flags & O_ACCMODE) != O_WRONLY && !oncethru) { cifs_write_begin() 113 cifs_posix_open(char *full_path, struct inode **pinode, struct super_block *sb, int mode, unsigned int f_flags, __u32 *poplock, __u16 *pnetfid, unsigned int xid) cifs_posix_open() argument 175 cifs_nt_open(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) cifs_nt_open() argument
|
H A D | fscache.c | 103 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) cifs_fscache_set_inode_cookie()
|
/linux-4.1.27/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 143 file->f_flags); dlmfs_file_open() 145 status = dlmfs_decode_open_flags(file->f_flags, &level, &flags); dlmfs_file_open() 151 file->f_flags &= ~O_APPEND; dlmfs_file_open()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | file.c | 535 .it_flags = file->f_flags }; ll_file_open() 542 inode->i_generation, inode, file->f_flags); ll_file_open() 571 /* Convert f_flags into access mode. We cannot use file->f_mode, ll_file_open() 576 if (file->f_flags & O_TRUNC) ll_file_open() 685 (cl_is_lov_delay_create(file->f_flags) || ll_file_open() 690 cl_lov_delay_create_clear(&file->f_flags); ll_file_open() 1059 if (file->f_flags & O_NOATIME) file_is_noatime() 1084 io->u.ci_rw.crw_nonblock = file->f_flags & O_NONBLOCK; ll_io_init() 1086 io->u.ci_wr.wr_append = !!(file->f_flags & O_APPEND); ll_io_init() 1087 io->u.ci_wr.wr_sync = file->f_flags & O_SYNC || ll_io_init() 1088 file->f_flags & O_DIRECT || ll_io_init() 1096 } else if (file->f_flags & O_APPEND) { ll_io_init() 1491 cl_lov_delay_create_clear(&file->f_flags); ll_lov_setea() 1520 cl_lov_delay_create_clear(&file->f_flags); ll_lov_setstripe() 1576 arg, (file->f_flags & O_NONBLOCK), &grouplock); ll_get_grouplock() 2236 !(file->f_flags & O_DIRECT)) { ll_file_ioctl() 2259 if ((file->f_flags & O_ACCMODE) == 0) /* O_RDONLY */ ll_file_ioctl() 2267 if ((file2->f_flags & O_ACCMODE) != 0) /* O_WRONLY or O_RDWR */ ll_file_ioctl()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_fops.c | 144 if (filp->f_flags & O_EXCL) drm_open_helper() 497 if (filp->f_flags & O_NONBLOCK) { drm_read()
|
/linux-4.1.27/security/tomoyo/ |
H A D | tomoyo.c | 314 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) tomoyo_file_fcntl() 330 int flags = f->f_flags; tomoyo_file_open()
|
/linux-4.1.27/drivers/isdn/divert/ |
H A D | divert_procfs.c | 90 if (file->f_flags & O_NONBLOCK) isdn_divert_read()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
H A D | timerdev.c | 117 if (filep->f_flags & O_NONBLOCK) mISDN_read()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | compat.h | 114 int f_flags; member in struct:compat_statfs
|
/linux-4.1.27/drivers/bluetooth/ |
H A D | hci_vhci.c | 288 if (file->f_flags & O_NONBLOCK) { vhci_read()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 190 return uvcg_dequeue_buffer(&video->queue, b, file->f_flags & O_NONBLOCK); uvc_v4l2_dqbuf()
|
H A D | f_hid.c | 214 if (file->f_flags & O_NONBLOCK) f_hidg_read() 284 if (file->f_flags & O_NONBLOCK) f_hidg_write()
|
H A D | f_fs.c | 268 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); ffs_ep0_write() 444 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); ffs_ep0_read() 472 if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) { ffs_ep0_read() 586 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); ffs_ep0_poll() 700 if (file->f_flags & O_NONBLOCK) { ffs_epfile_io() 756 ret = ffs_mutex_lock(&epfile->mutex, file->f_flags & O_NONBLOCK); ffs_epfile_io()
|
H A D | f_printer.c | 476 if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { printer_read() 588 if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { printer_write()
|
/linux-4.1.27/arch/powerpc/boot/ |
H A D | rs6000.h | 19 char f_flags[2]; /* flags */ member in struct:external_filehdr
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | compat.h | 140 int f_flags; member in struct:compat_statfs
|
/linux-4.1.27/fs/autofs4/ |
H A D | autofs_i.h | 221 pipe->f_flags |= O_DIRECT; autofs_prepare_pipe()
|
/linux-4.1.27/fs/ceph/ |
H A D | file.c | 148 flags = file->f_flags & ~(O_CREAT|O_EXCL); ceph_open() 153 ceph_vinop(inode), file, flags, file->f_flags); ceph_open() 445 (file->f_flags & O_DIRECT) ? "O_DIRECT" : ""); ceph_sync_read() 1050 ((file->f_flags & O_SYNC) || IS_SYNC(file->f_mapping->host) || ceph_write_iter()
|
/linux-4.1.27/net/batman-adv/ |
H A D | icmp_socket.c | 114 if ((file->f_flags & O_NONBLOCK) && (socket_client->queue_len == 0)) batadv_socket_read()
|
H A D | debugfs.c | 130 if ((file->f_flags & O_NONBLOCK) && batadv_log_empty(debug_log)) batadv_log_read()
|
/linux-4.1.27/security/apparmor/include/ |
H A D | file.h | 197 int flags = file->f_flags; aa_map_file_to_perms()
|
/linux-4.1.27/security/integrity/ima/ |
H A D | ima_api.c | 211 if (file->f_flags & O_DIRECT) { ima_collect_measurement()
|
H A D | ima_fs.c | 311 if (!(filp->f_flags & O_WRONLY)) ima_open_policy()
|
H A D | ima_main.c | 227 if (file->f_flags & O_DIRECT) process_measurement()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
H A D | inode.c | 289 get_ready_ep (unsigned f_flags, struct ep_data *epdata, bool is_write) get_ready_ep() argument 293 if (f_flags & O_NONBLOCK) { get_ready_ep() 399 if ((status = get_ready_ep (fd->f_flags, data, false)) < 0) ep_ioctl() 582 if ((value = get_ready_ep(file->f_flags, epdata, false)) < 0) ep_read_iter() 642 if ((value = get_ready_ep(file->f_flags, epdata, true)) < 0) ep_write_iter() 955 if ((fd->f_flags & O_NONBLOCK) != 0 ep0_read() 1037 if (fd->f_flags & O_NONBLOCK) { ep0_read()
|
/linux-4.1.27/net/ |
H A D | socket.c | 384 file->f_flags = O_RDWR | (flags & O_NONBLOCK); sock_alloc_file() 764 flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; sock_sendpage() 791 if (file->f_flags & O_NONBLOCK) sock_read_iter() 816 if (file->f_flags & O_NONBLOCK) sock_write_iter() 1484 err = sock->ops->accept(sock, newsock, sock->file->f_flags); SYSCALL_DEFINE4() 1553 sock->file->f_flags); SYSCALL_DEFINE3() 1657 if (sock->file->f_flags & O_NONBLOCK) SYSCALL_DEFINE6() 1709 if (sock->file->f_flags & O_NONBLOCK) SYSCALL_DEFINE6() 1941 if (sock->file->f_flags & O_NONBLOCK) ___sys_sendmsg() 2106 if (sock->file->f_flags & O_NONBLOCK) ___sys_recvmsg()
|
/linux-4.1.27/drivers/char/xillybus/ |
H A D | xillybus_core.c | 813 if (!no_time_left && (filp->f_flags & O_NONBLOCK)) { xillybus_read() 915 if (filp->f_flags & O_NONBLOCK) xillybus_read() 1368 if (filp->f_flags & O_NONBLOCK) { xillybus_write() 1455 if ((filp->f_mode & FMODE_READ) && (filp->f_flags & O_NONBLOCK) && xillybus_open() 1463 if ((filp->f_mode & FMODE_WRITE) && (filp->f_flags & O_NONBLOCK) && xillybus_open()
|
/linux-4.1.27/drivers/media/platform/ |
H A D | timblogiw.c | 324 return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); timblogiw_dqbuf() 721 file->f_flags & O_NONBLOCK); timblogiw_read()
|
/linux-4.1.27/drivers/media/radio/si470x/ |
H A D | radio-si470x-common.c | 471 if (file->f_flags & O_NONBLOCK) { si470x_fops_read() 713 if (file->f_flags & O_NONBLOCK) si470x_vidioc_s_hw_freq_seek()
|
/linux-4.1.27/drivers/misc/ |
H A D | hpilo.c | 590 data->ccb_excl = fp->f_flags & O_EXCL; ilo_open() 616 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { ilo_open()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | uinput.c | 539 (file->f_flags & O_NONBLOCK)) uinput_read() 549 if (!(file->f_flags & O_NONBLOCK)) uinput_read()
|
/linux-4.1.27/drivers/usb/misc/ |
H A D | ldusb.c | 484 if (file->f_flags & O_NONBLOCK) { ld_usb_read() 561 if (file->f_flags & O_NONBLOCK) { ld_usb_write()
|
H A D | iowarrior.c | 297 if (file->f_flags & O_NONBLOCK) iowarrior_read() 389 if (file->f_flags & O_NONBLOCK) { iowarrior_write()
|
H A D | legousbtower.c | 583 if (file->f_flags & O_NONBLOCK) { tower_read() 664 if (file->f_flags & O_NONBLOCK) { tower_write()
|
/linux-4.1.27/drivers/usb/ |
H A D | usb-skeleton.c | 257 if (file->f_flags & O_NONBLOCK) { skel_read() 380 if (!(file->f_flags & O_NONBLOCK)) { skel_write()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
H A D | hysdn_proclog.c | 180 if (file->f_flags & O_NONBLOCK) hysdn_log_read()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-roccat.c | 94 if (file->f_flags & O_NONBLOCK) { roccat_read()
|
H A D | hidraw.c | 68 if (file->f_flags & O_NONBLOCK) { hidraw_read()
|
H A D | hid-sensor-custom.c | 662 if (file->f_flags & O_NONBLOCK) hid_sensor_custom_read()
|
H A D | uhid.c | 650 if (file->f_flags & O_NONBLOCK) { uhid_char_read()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_ioctl.c | 260 filp->f_flags |= O_NOATIME; xfs_open_by_handle() 632 if (filp->f_flags & O_DSYNC) xfs_ioc_space() 1453 (f.file->f_flags & O_APPEND)) { xfs_ioc_swapext() 1466 (tmp.file->f_flags & O_APPEND)) { xfs_ioc_swapext()
|
/linux-4.1.27/drivers/media/common/siano/ |
H A D | smsdvb-debugfs.c | 403 if (file->f_flags & O_NONBLOCK) { smsdvb_stats_read()
|
/linux-4.1.27/kernel/time/ |
H A D | posix-clock.c | 62 err = clk->ops.read(clk, fp->f_flags, buf, count); posix_clock_read()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-fileops.c | 518 rc = ivtv_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); ivtv_v4l2_read() 631 if (filp->f_flags & O_NONBLOCK) ivtv_write() 714 if (count && !(filp->f_flags & O_NONBLOCK)) ivtv_write()
|
/linux-4.1.27/drivers/media/pci/saa7164/ |
H A D | saa7164-encoder.c | 1183 if ((file->f_flags & O_NONBLOCK) == 0) { fops_read() 1235 if ((file->f_flags & O_NONBLOCK) == 0) { fops_read() 1279 if ((file->f_flags & O_NONBLOCK) == 0) { fops_poll()
|
H A D | saa7164-vbi.c | 1129 if ((file->f_flags & O_NONBLOCK) == 0) { fops_read() 1181 if ((file->f_flags & O_NONBLOCK) == 0) { fops_read() 1226 if ((file->f_flags & O_NONBLOCK) == 0) { fops_poll()
|
/linux-4.1.27/drivers/media/common/saa7146/ |
H A D | saa7146_video.c | 931 return videobuf_dqbuf(&fh->video_q, buf, file->f_flags & O_NONBLOCK); vidioc_dqbuf() 933 return videobuf_dqbuf(&fh->vbi_q, buf, file->f_flags & O_NONBLOCK); vidioc_dqbuf() 1287 file->f_flags & O_NONBLOCK); video_read()
|
H A D | saa7146_vbi.c | 479 file->f_flags & O_NONBLOCK); vbi_read()
|
/linux-4.1.27/net/9p/ |
H A D | trans_fd.c | 282 if (!(ts->rd->f_flags & O_NONBLOCK)) p9_fd_read() 425 if (!(ts->wr->f_flags & O_NONBLOCK)) p9_fd_write() 834 p->rd->f_flags |= O_NONBLOCK; p9_socket_open()
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
H A D | file.c | 796 if (file->f_flags & O_NONBLOCK) { spufs_ibox_read() 953 if (file->f_flags & O_NONBLOCK) { spufs_wbox_write() 1635 if (file->f_flags & O_NONBLOCK) { spufs_mfc_read() 1772 if (file->f_flags & O_NONBLOCK) { spufs_mfc_write() 2522 } else if (file->f_flags & O_NONBLOCK) { spufs_switch_log_read()
|
/linux-4.1.27/drivers/scsi/ |
H A D | sg.c | 276 int flags = filp->f_flags; sg_open() 450 if (filp->f_flags & O_NONBLOCK) { sg_read() 601 if (!((filp->f_flags & O_NONBLOCK) || sg_write() 611 blocking = !(filp->f_flags & O_NONBLOCK); sg_write() 847 read_only = (O_RDWR != (filp->f_flags & O_ACCMODE)); sg_ioctl() 1109 cmd_in, filp->f_flags & O_NDELAY); sg_ioctl()
|
H A D | ch.c | 614 file->f_flags & O_NDELAY); ch_ioctl()
|
/linux-4.1.27/fs/fuse/ |
H A D | file.c | 30 inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); fuse_send_open() 182 if (fc->atomic_o_trunc && (file->f_flags & O_TRUNC)) { fuse_finish_open() 201 bool lock_inode = (file->f_flags & O_TRUNC) && fuse_open_common() 256 fuse_prepare_release(ff, file->f_flags, opcode); fuse_release_common() 508 inarg->flags = file->f_flags; fuse_read_fill() 957 inarg->flags = file->f_flags; fuse_send_write()
|
H A D | cuse.c | 146 fuse_sync_release(ff, file->f_flags); cuse_release()
|
/linux-4.1.27/drivers/usb/class/ |
H A D | usblp.c | 724 if ((rv = usblp_wwait(usblp, !!(file->f_flags & O_NONBLOCK))) < 0) usblp_write() 763 rv = usblp_wwait(usblp, !!(file->f_flags&O_NONBLOCK)); usblp_write() 820 rv = usblp_rwait_and_lock(usblp, !!(file->f_flags & O_NONBLOCK)); usblp_read()
|
H A D | cdc-wdm.c | 375 if (!(file->f_flags & O_NONBLOCK)) wdm_write() 496 if (file->f_flags & O_NONBLOCK) { wdm_read()
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
H A D | sync_serial.c | 630 if (file->f_flags & O_NONBLOCK) __sync_serial_read() 1154 if (!(file->f_flags & O_NONBLOCK)) { sync_serial_write() 1179 if (file->f_flags & O_NONBLOCK) { sync_serial_write()
|
/linux-4.1.27/drivers/media/radio/ |
H A D | radio-cadet.c | 341 if (!cadet_has_rds_data(dev) && (file->f_flags & O_NONBLOCK)) cadet_read()
|
H A D | radio-tea5777.c | 399 if (file->f_flags & O_NONBLOCK) vidioc_s_hw_freq_seek()
|
H A D | tea575x.c | 385 if (file->f_flags & O_NONBLOCK) snd_tea575x_s_hw_freq_seek()
|
H A D | radio-si476x.c | 761 if (file->f_flags & O_NONBLOCK) si476x_radio_s_hw_freq_seek() 1124 if (file->f_flags & O_NONBLOCK) si476x_radio_fops_read()
|
H A D | radio-mr800.c | 366 if (file->f_flags & O_NONBLOCK) vidioc_s_hw_freq_seek()
|
/linux-4.1.27/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.c | 411 if (file->f_flags & O_NONBLOCK) fm_v4l2_vidioc_s_hw_freq_seek()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | v4l2-subdev.c | 218 return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK); subdev_do_ioctl()
|
H A D | v4l2-mem2mem.c | 425 return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); v4l2_m2m_dqbuf()
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | file.c | 300 if (file->f_flags & O_NONBLOCK) { afu_read()
|
/linux-4.1.27/drivers/misc/mei/ |
H A D | amthif.c | 160 if (cb == NULL && file->f_flags & O_NONBLOCK) mei_amthif_read()
|
H A D | main.c | 196 if (file->f_flags & O_NONBLOCK) { mei_read()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-dev.c | 176 if (file->f_flags & O_NONBLOCK) { rtc_dev_read()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
H A D | lirc_parallel.c | 347 if (filep->f_flags & O_NONBLOCK) { lirc_read()
|
H A D | lirc_sir.c | 224 if (file->f_flags & O_NONBLOCK) { lirc_read()
|
/linux-4.1.27/fs/overlayfs/ |
H A D | readdir.c | 506 realfile = ovl_path_open(&realpath, file->f_flags); ovl_dir_open()
|
/linux-4.1.27/fs/hfsplus/ |
H A D | inode.c | 219 if (!(file->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) hfsplus_file_open()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | rtasd.c | 354 if (file->f_flags & O_NONBLOCK) { rtas_log_read()
|
/linux-4.1.27/arch/arm64/mm/ |
H A D | mmu.c | 57 else if (file->f_flags & O_SYNC) phys_mem_access_prot()
|
/linux-4.1.27/drivers/xen/xenbus/ |
H A D | xenbus_dev_frontend.c | 134 if (filp->f_flags & O_NONBLOCK) xenbus_file_read()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | user_mad.c | 345 if (filp->f_flags & O_NONBLOCK) ib_umad_read() 1026 if (filp->f_flags & O_NONBLOCK) { ib_umad_sm_open()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-fileops.c | 605 filp->f_flags & O_NONBLOCK); cx18_v4l2_read() 608 return cx18_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); cx18_v4l2_read()
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_dec.c | 649 ret = vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK); vidioc_dqbuf() 651 ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK); vidioc_dqbuf()
|
/linux-4.1.27/drivers/media/usb/cpia2/ |
H A D | cpia2_v4l.c | 157 int noblock = file->f_flags&O_NONBLOCK; cpia2_v4l_read() 927 if(frame < 0 && file->f_flags&O_NONBLOCK) cpia2_dqbuf()
|
/linux-4.1.27/drivers/media/usb/hdpvr/ |
H A D | hdpvr-video.c | 445 if (!(file->f_flags & O_NONBLOCK)) { hdpvr_read() 458 if (file->f_flags & O_NONBLOCK) { hdpvr_read()
|
/linux-4.1.27/drivers/media/usb/stkwebcam/ |
H A D | stk-webcam.c | 679 if (fp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full)) stk_read() 1121 if (filp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full)) stk_vidioc_dqbuf()
|
/linux-4.1.27/drivers/misc/carma/ |
H A D | carma-fpga-program.c | 767 if (filp->f_flags & O_TRUNC) fpga_open() 827 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) fpga_llseek()
|
/linux-4.1.27/drivers/net/ |
H A D | macvtap.c | 794 return macvtap_get_user(q, NULL, from, file->f_flags & O_NONBLOCK); macvtap_write_iter() 900 ret = macvtap_do_read(q, to, file->f_flags & O_NONBLOCK); macvtap_read_iter()
|
/linux-4.1.27/drivers/staging/media/dt3155v4l/ |
H A D | dt3155v4l.c | 451 res = vb2_read(pd->q, user, size, loff, filp->f_flags & O_NONBLOCK); dt3155_read() 597 return vb2_dqbuf(pd->q, b, filp->f_flags & O_NONBLOCK); dt3155_ioc_dqbuf()
|
/linux-4.1.27/drivers/input/ |
H A D | evdev.c | 546 (file->f_flags & O_NONBLOCK)) evdev_read() 568 if (!(file->f_flags & O_NONBLOCK)) { evdev_read()
|
H A D | joydev.c | 394 if (!joydev_data_pending(client) && (file->f_flags & O_NONBLOCK)) joydev_read()
|
H A D | mousedev.c | 721 (file->f_flags & O_NONBLOCK)) mousedev_read()
|
/linux-4.1.27/drivers/tty/ |
H A D | n_hdlc.c | 633 if (file->f_flags & O_NONBLOCK) { n_hdlc_tty_read() 700 if (file->f_flags & O_NONBLOCK) { n_hdlc_tty_write()
|
H A D | tty_io.c | 1116 ret = tty_write_lock(tty, file->f_flags & O_NDELAY); do_tty_write() 1961 filp->f_flags |= O_NONBLOCK; /* Don't let /dev/tty block */ tty_open_current_tty() 2008 filp->f_flags |= O_NONBLOCK; tty_lookup_driver() 2055 unsigned saved_flags = filp->f_flags; tty_open() 2064 noctty = filp->f_flags & O_NOCTTY; tty_open() 2120 filp->f_flags = saved_flags; tty_open() 2436 file->f_flags |= O_NONBLOCK; fionbio() 2438 file->f_flags &= ~O_NONBLOCK; fionbio()
|
H A D | n_tty.c | 2197 if (file->f_flags & O_NONBLOCK) { n_tty_read() 2264 if (file->f_flags & O_NONBLOCK) { n_tty_read() 2424 if (file->f_flags & O_NONBLOCK) { n_tty_write()
|
H A D | tty_port.c | 382 if (filp->f_flags & O_NONBLOCK) { tty_port_block_til_ready()
|
/linux-4.1.27/arch/cris/arch-v10/drivers/ |
H A D | sync_serial.c | 1055 if (file->f_flags & O_NONBLOCK) { sync_serial_write() 1136 if (file->f_flags & O_NONBLOCK) sync_serial_read()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-tape.c | 1513 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) idetape_chrdev_open() 1520 if ((filp->f_flags & O_ACCMODE) == O_WRONLY || idetape_chrdev_open() 1521 (filp->f_flags & O_ACCMODE) == O_RDWR) { idetape_chrdev_open()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
H A D | soc_camera.c | 433 return videobuf_dqbuf(&icd->vb_vidq, p, file->f_flags & O_NONBLOCK); soc_camera_dqbuf() 435 return vb2_dqbuf(&icd->vb2_vidq, p, file->f_flags & O_NONBLOCK); soc_camera_dqbuf() 811 file->f_flags & O_NONBLOCK); soc_camera_read()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | file.c | 99 int mode = file->f_flags; ocfs2_file_open() 1960 if (file && (file->f_flags & O_SYNC)) __ocfs2_change_file_space() 2387 if (((file->f_flags & O_DSYNC) && !direct_io) || ocfs2_file_write_iter()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | adb.c | 747 if (file->f_flags & O_NONBLOCK) { adb_read()
|
/linux-4.1.27/drivers/media/rc/ |
H A D | lirc_dev.c | 712 if (file->f_flags & O_NONBLOCK) { lirc_dev_fop_read()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt2x00debug.c | 279 if (file->f_flags & O_NONBLOCK) rt2x00debug_read_queue_dump()
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_eer.c | 619 if (filp->f_flags & O_NONBLOCK) dasd_eer_read()
|
/linux-4.1.27/drivers/dma-buf/ |
H A D | dma-buf.c | 798 buf_obj->file->f_flags, buf_obj->file->f_mode, dma_buf_describe()
|
/linux-4.1.27/block/ |
H A D | compat_ioctl.c | 672 if (file->f_flags & O_NDELAY) compat_blkdev_ioctl()
|
/linux-4.1.27/drivers/hid/usbhid/ |
H A D | hiddev.c | 372 if (file->f_flags & O_NONBLOCK) { hiddev_read()
|