Searched refs:f_flags (Results 101 - 125 of 344) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c302 if (filep->f_flags & O_NONBLOCK) {
/linux-master/fs/
H A Dsignalfd.c207 int nonblock = file->f_flags & O_NONBLOCK;
H A Dioctl.c358 filp->f_flags |= flag;
360 filp->f_flags &= ~flag;
377 if ((flag ^ filp->f_flags) & FASYNC) {
379 /* fasync() adjusts filp->f_flags */
/linux-master/kernel/trace/
H A Dtrace_dynevent.c232 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
/linux-master/drivers/isdn/mISDN/
H A Dtimerdev.c110 if (filep->f_flags & O_NONBLOCK)
/linux-master/arch/powerpc/kernel/
H A Drtasd.c323 if (file->f_flags & O_NONBLOCK) {
/linux-master/drivers/gnss/
H A Dcore.c102 if (file->f_flags & O_NONBLOCK)
/linux-master/drivers/char/ipmi/
H A Dipmb_dev_int.c89 if (file->f_flags & O_NONBLOCK)
/linux-master/drivers/hid/
H A Dhid-roccat.c91 if (file->f_flags & O_NONBLOCK) {
/linux-master/drivers/soc/aspeed/
H A Daspeed-lpc-snoop.c88 if (file->f_flags & O_NONBLOCK)
/linux-master/io_uring/
H A Dopenclose.c159 file->f_flags &= ~O_NONBLOCK;
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-prd.c189 if (file->f_flags & O_NONBLOCK)
/linux-master/fs/fuse/
H A Dpassthrough.c328 backing_file = backing_file_open(&file->f_path, file->f_flags,
/linux-master/kernel/time/
H A Dposix-clock.c51 err = clk->ops.read(pccontext, fp->f_flags, buf, count);
/linux-master/drivers/media/pci/ivtv/
H A Divtv-fileops.c506 rc = ivtv_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK);
619 if (filp->f_flags & O_NONBLOCK)
702 if (count && !(filp->f_flags & O_NONBLOCK))
/linux-master/drivers/char/
H A Dlp.c310 int nonblock = ((file->f_flags & O_NONBLOCK) ||
427 int nonblock = ((file->f_flags & O_NONBLOCK) ||
521 if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) {
/linux-master/arch/alpha/kernel/
H A Dosf_sys.c238 short f_flags; member in struct:osf_statfs
251 short f_flags; member in struct:osf_statfs64
310 tmp_stat.f_flags = 0; /* mount flags */
/linux-master/drivers/misc/mei/
H A Dmain.c175 bool nonblock = !!(file->f_flags & O_NONBLOCK);
353 if (file->f_flags & O_NONBLOCK) {
621 bool block = (file->f_flags & O_NONBLOCK) == 0;
/linux-master/block/
H A Dfops.c581 * do_dentry_open() clears O_EXCL from f_flags, use file->private_data
586 else if (file->f_flags & O_EXCL)
588 if (file->f_flags & O_NDELAY)
596 if ((file->f_flags & O_ACCMODE) == (O_RDWR | O_WRONLY))
/linux-master/drivers/net/wwan/
H A Dwwan_core.c695 ret = wwan_wait_rx(port, !!(filp->f_flags & O_NONBLOCK));
727 ret = wwan_wait_tx(port, !!(filp->f_flags & O_NONBLOCK));
762 ret = wwan_port_op_tx(port, head, !!(filp->f_flags & O_NONBLOCK));
/linux-master/sound/core/
H A Dpcm_native.c1919 /* pass f_flags as state argument */
1924 int f_flags = (__force int)state; local
1931 substream->f_flags = f_flags;
1963 * @file: file to refer f_flags
1970 int f_flags; local
1973 f_flags = file->f_flags;
1975 f_flags = substream->f_flags;
[all...]
/linux-master/drivers/s390/char/
H A Dvmur.c704 accmode = file->f_flags & O_ACCMODE;
723 if (file->f_flags & O_NONBLOCK) {
791 if ((file->f_flags & O_ACCMODE) != O_RDONLY)
/linux-master/ipc/
H A Dmqueue.c1140 if (f.file->f_flags & O_NONBLOCK) {
1244 if (f.file->f_flags & O_NONBLOCK) {
1477 old->mq_flags = f.file->f_flags & O_NONBLOCK;
1483 f.file->f_flags |= O_NONBLOCK;
1485 f.file->f_flags &= ~O_NONBLOCK;
/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/drivers/tty/
H A Dtty_io.c973 ret = tty_write_lock(tty, file->f_flags & O_NDELAY);
1894 filp->f_flags |= O_NONBLOCK; /* Don't let /dev/tty block */
1942 filp->f_flags |= O_NONBLOCK;
2124 unsigned saved_flags = filp->f_flags;
2155 filp->f_flags = saved_flags;
2178 noctty = (filp->f_flags & O_NOCTTY) ||

Completed in 215 milliseconds

1234567891011>>