Searched refs:f_flags (Results 151 - 175 of 344) sorted by relevance

1234567891011>>

/linux-master/drivers/char/ipmi/
H A Dssif_bmc.c143 if (file->f_flags & O_NONBLOCK)
192 if (file->f_flags & O_NONBLOCK)
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-encoder.c825 if ((file->f_flags & O_NONBLOCK) == 0) {
877 if ((file->f_flags & O_NONBLOCK) == 0) {
/linux-master/drivers/platform/surface/
H A Dsurface_dtx.c481 if (file->f_flags & O_NONBLOCK)
516 if (copied == 0 && (file->f_flags & O_NONBLOCK)) {
/linux-master/drivers/usb/misc/
H A Diowarrior.c300 if (file->f_flags & O_NONBLOCK)
391 if (file->f_flags & O_NONBLOCK) {
/linux-master/fs/ntfs3/
H A Dfile.c1142 (file->f_flags & O_DIRECT))) {
1148 (file->f_flags & (O_WRONLY | O_RDWR | O_TRUNC))) {
/linux-master/drivers/media/rc/
H A Dlirc_dev.c616 if (file->f_flags & O_NONBLOCK)
655 if (file->f_flags & O_NONBLOCK)
/linux-master/fs/nfs/
H A Dfile.c68 res = nfs_check_flags(filp->f_flags);
105 if (filp->f_flags & O_DIRECT)
/linux-master/sound/core/
H A Dcompress_offload.c84 if ((f->f_flags & O_ACCMODE) == O_WRONLY)
86 else if ((f->f_flags & O_ACCMODE) == O_RDONLY)
/linux-master/mm/
H A Doom_kill.c1206 unsigned int f_flags; local
1213 task = pidfd_get_task(pidfd, &f_flags);
H A Dmadvise.c1454 unsigned int f_flags; local
1465 task = pidfd_get_task(pidfd, &f_flags);
/linux-master/drivers/media/dvb-core/
H A Ddvbdev.c135 if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
157 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
H A Ddvb_frontend.c2092 if ((file->f_flags & O_ACCMODE) == O_RDONLY
2733 err = dvb_frontend_get_event(fe, parg, file->f_flags);
2777 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
2840 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
2909 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
/linux-master/drivers/misc/
H A Dhpilo.c589 data->ccb_excl = fp->f_flags & O_EXCL;
615 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) {
/linux-master/net/
H A Dsocket.c1129 if (file->f_flags & O_NONBLOCK || (iocb->ki_flags & IOCB_NOWAIT))
1154 if (file->f_flags & O_NONBLOCK || (iocb->ki_flags & IOCB_NOWAIT))
1929 err = ops->accept(sock, newsock, sock->file->f_flags | file_flags,
2049 addrlen, sock->file->f_flags | file_flags);
2188 if (sock->file->f_flags & O_NONBLOCK)
2240 if (sock->file->f_flags & O_NONBLOCK)
2569 if (sock->file->f_flags & O_NONBLOCK)
2797 if (sock->file->f_flags & O_NONBLOCK)
/linux-master/io_uring/
H A Drw.c496 !(kiocb->ki_filp->f_flags & O_NONBLOCK))
743 ((file->f_flags & O_NONBLOCK) && !io_file_supports_nowait(req)))
/linux-master/drivers/usb/gadget/function/
H A Df_fs.c374 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK);
549 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK);
577 if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) {
686 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK);
977 if (file->f_flags & O_NONBLOCK)
1012 ret = ffs_mutex_lock(&epfile->mutex, file->f_flags & O_NONBLOCK);
1466 bool nonblock = file->f_flags & O_NONBLOCK;
1577 bool nonblock = file->f_flags & O_NONBLOCK;
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dfile.c713 if (file->f_flags & O_NONBLOCK) {
852 if (file->f_flags & O_NONBLOCK) {
1509 if (file->f_flags & O_NONBLOCK) {
1646 if (file->f_flags & O_NONBLOCK) {
2384 } else if (file->f_flags & O_NONBLOCK) {
/linux-master/kernel/bpf/
H A Dsyscall.c1191 int f_flags; local
1217 f_flags = bpf_get_file_flag(attr->map_flags);
1218 if (f_flags < 0)
1219 return f_flags;
1384 err = bpf_map_new_fd(map, f_flags);
4389 int f_flags; local
4399 f_flags = bpf_get_file_flag(attr->open_flags);
4400 if (f_flags < 0)
4401 return f_flags;
4414 fd = bpf_map_new_fd(map, f_flags);
[all...]
/linux-master/drivers/iio/
H A Dindustrialio-buffer.c135 if (filp->f_flags & O_NONBLOCK)
159 if (ret == 0 && (filp->f_flags & O_NONBLOCK))
206 if (filp->f_flags & O_NONBLOCK) {
/linux-master/drivers/char/
H A Dvirtio_console.c748 if (filp->f_flags & O_NONBLOCK)
810 nonblock = filp->f_flags & O_NONBLOCK;
929 ret = wait_port_writable(port, filp->f_flags & O_NONBLOCK);
/linux-master/kernel/
H A Dexit.c1648 unsigned int f_flags = 0; local
1684 pid = pidfd_get_pid(upid, &f_flags);
1698 if (f_flags & O_NONBLOCK)
/linux-master/fs/xfs/
H A Dxfs_ioctl.c254 filp->f_flags |= O_NOATIME;
1684 (f.file->f_flags & O_APPEND)) {
1697 (tmp.file->f_flags & O_APPEND)) {
/linux-master/drivers/media/radio/
H A Dradio-mr800.c350 if (file->f_flags & O_NONBLOCK)
H A Dradio-cadet.c337 if (!cadet_has_rds_data(dev) && (file->f_flags & O_NONBLOCK))
H A Dradio-tea5777.c382 if (file->f_flags & O_NONBLOCK)

Completed in 264 milliseconds

1234567891011>>