Home
last modified time | relevance | path

Searched refs:IOCB_NOWAIT (Results 1 – 25 of 37) sorted by relevance

12

/linux/fs/ext4/
H A Dfile.c74 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dio_read_iter()
107 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dax_read_iter()
291 if (iocb->ki_flags & IOCB_NOWAIT) in ext4_buffered_write_iter()
459 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dio_write_checks()
477 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dio_write_checks()
519 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dio_write_iter()
643 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dax_write_iter()
/linux/drivers/nvme/target/
H A Dio-cmd-file.c177 if (!(ki_flags & IOCB_NOWAIT)) in nvmet_file_execute_io()
186 if (WARN_ON_ONCE(!(ki_flags & IOCB_NOWAIT))) in nvmet_file_execute_io()
195 if ((ki_flags & IOCB_NOWAIT)) in nvmet_file_execute_io()
246 nvmet_file_execute_io(req, IOCB_NOWAIT)) in nvmet_file_execute_rw()
/linux/io_uring/
H A Drw.c643 if ((kiocb->ki_flags & IOCB_NOWAIT) && in loop_rw_iter()
760 kiocb->ki_flags &= ~IOCB_NOWAIT; in io_rw_should_retry()
808 if (kiocb->ki_flags & IOCB_NOWAIT || in io_rw_init_file()
857 kiocb->ki_flags |= IOCB_NOWAIT; in __io_read()
860 kiocb->ki_flags &= ~IOCB_NOWAIT; in __io_read()
1030 if (!(kiocb->ki_flags & IOCB_NOWAIT)) { in io_kiocb_start_write()
1067 kiocb->ki_flags |= IOCB_NOWAIT; in io_write()
1070 kiocb->ki_flags &= ~IOCB_NOWAIT; in io_write()
1099 if (ret2 == -EOPNOTSUPP && (kiocb->ki_flags & IOCB_NOWAIT)) in io_write()
/linux/fs/zonefs/
H A Dfile.c427 if ((iocb->ki_flags & IOCB_NOWAIT) && !(iocb->ki_flags & IOCB_DIRECT)) in zonefs_write_checks()
471 (iocb->ki_flags & IOCB_NOWAIT)) in zonefs_file_dio_write()
474 if (iocb->ki_flags & IOCB_NOWAIT) { in zonefs_file_dio_write()
555 if (iocb->ki_flags & IOCB_NOWAIT) { in zonefs_file_buffered_write()
634 if (iocb->ki_flags & IOCB_NOWAIT) { in zonefs_file_read_iter()
/linux/block/
H A Dfops.c87 if (iocb->ki_flags & IOCB_NOWAIT) in __blkdev_direct_IO_simple()
214 if (iocb->ki_flags & IOCB_NOWAIT) { in __blkdev_direct_IO()
352 if (iocb->ki_flags & IOCB_NOWAIT) in __blkdev_direct_IO_async()
697 if ((iocb->ki_flags & (IOCB_NOWAIT | IOCB_DIRECT)) == IOCB_NOWAIT) in blkdev_write_iter()
/linux/fs/xfs/
H A Dxfs_file.c194 if (iocb->ki_flags & IOCB_NOWAIT) { in xfs_ilock_iocb()
386 if (iocb->ki_flags & IOCB_NOWAIT) in xfs_file_write_zero_eof()
446 if (iocb->ki_flags & IOCB_NOWAIT) { in xfs_file_write_checks()
657 if (iocb->ki_flags & IOCB_NOWAIT) in xfs_file_dio_write_unaligned()
700 if (ret == -EAGAIN && !(iocb->ki_flags & IOCB_NOWAIT)) { in xfs_file_dio_write_unaligned()
/linux/mm/
H A Dfilemap.c2403 if (iocb->ki_flags & IOCB_NOWAIT) { in filemap_update_page()
2412 if (iocb->ki_flags & (IOCB_NOWAIT | IOCB_NOIO)) in filemap_update_page()
2438 if (iocb->ki_flags & (IOCB_NOIO | IOCB_NOWAIT | IOCB_WAITQ)) in filemap_update_page()
2535 if (iocb->ki_flags & IOCB_NOWAIT) in filemap_get_pages()
2539 if (iocb->ki_flags & IOCB_NOWAIT) in filemap_get_pages()
2544 if (iocb->ki_flags & (IOCB_NOWAIT | IOCB_WAITQ)) in filemap_get_pages()
2561 iocb->ki_flags |= IOCB_NOWAIT; in filemap_get_pages()
2632 iocb->ki_flags |= IOCB_NOWAIT; in filemap_read()
2717 if (iocb->ki_flags & IOCB_NOWAIT) { in kiocb_write_and_wait()
2758 iocb->ki_flags & IOCB_NOWAIT); in kiocb_invalidate_pages()
/linux/fs/netfs/
H A Ddirect_write.c170 if (iocb->ki_flags & IOCB_NOWAIT) { in netfs_unbuffered_write_iter()
H A Dbuffered_write.c112 unsigned int bdp_flags = (iocb->ki_flags & IOCB_NOWAIT) ? BDP_ASYNC : 0; in netfs_perform_write()
/linux/fs/iomap/
H A Ddirect-io.c610 if (iocb->ki_flags & IOCB_NOWAIT) in __iomap_dio_rw()
722 if (!(iocb->ki_flags & IOCB_NOWAIT)) in __iomap_dio_rw()
/linux/fs/
H A Deventfd.c225 (iocb->ki_flags & IOCB_NOWAIT)) { in eventfd_read()
H A Dsignalfd.c214 nonblock = file->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT; in signalfd_read_iter()
H A Dpipe.c357 (iocb->ki_flags & IOCB_NOWAIT)) { in pipe_read()
558 (iocb->ki_flags & IOCB_NOWAIT)) { in pipe_write()
H A Dtimerfd.c274 if (file->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT) in timerfd_read_iter()
H A Dinode.c2256 if (flags & IOCB_NOWAIT) in file_remove_privs_flags()
2421 if (flags & IOCB_NOWAIT) in file_modified_flags()
H A Ddirect-io.c1183 if (iocb->ki_flags & IOCB_NOWAIT) in __blockdev_direct_IO()
/linux/fs/btrfs/
H A Ddirect-io.c807 if (iocb->ki_flags & IOCB_NOWAIT) in btrfs_direct_write()
945 if (iocb->ki_flags & IOCB_NOWAIT) { in btrfs_direct_write()
H A Dfile.c1087 if ((iocb->ki_flags & IOCB_NOWAIT) && in btrfs_write_check()
1134 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_buffered_write()
1390 if (encoded && (iocb->ki_flags & IOCB_NOWAIT)) in btrfs_do_write_iter()
/linux/drivers/net/
H A Dtap.c783 if ((file->f_flags & O_NONBLOCK) || (iocb->ki_flags & IOCB_NOWAIT)) in tap_write_iter()
904 if ((file->f_flags & O_NONBLOCK) || (iocb->ki_flags & IOCB_NOWAIT)) in tap_read_iter()
/linux/drivers/char/
H A Dmem.c488 if (iocb->ki_flags & IOCB_NOWAIT) in read_iter_zero()
H A Drandom.c1485 ((kiocb->ki_flags & (IOCB_NOWAIT | IOCB_NOIO)) || in random_read_iter()
/linux/include/linux/
H A Dbio.h669 if (kiocb->ki_flags & IOCB_NOWAIT) in bio_set_polled()
/linux/fs/f2fs/
H A Dfile.c4612 if (iocb->ki_flags & IOCB_NOWAIT) { in f2fs_dio_read_iter()
4782 if (iocb->ki_flags & IOCB_NOWAIT) in f2fs_preallocate_blocks()
4833 if (iocb->ki_flags & IOCB_NOWAIT) in f2fs_buffered_write_iter()
4904 if (iocb->ki_flags & IOCB_NOWAIT) { in f2fs_dio_write_iter()
5023 if (iocb->ki_flags & IOCB_NOWAIT) { in f2fs_file_write_iter()
/linux/Documentation/filesystems/iomap/
H A Doperations.rst132 * ``IOCB_NOWAIT``: Turns on ``IOMAP_NOWAIT``.
435 * ``IOCB_NOWAIT``: Turns on ``IOMAP_NOWAIT``.
/linux/fs/ocfs2/
H A Dfile.c2381 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_write_iter()
2531 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_read_iter()

12