/linux/fs/ext4/ |
H A D | file.c | 74 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 D | io-cmd-file.c | 177 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 D | rw.c | 643 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 D | file.c | 427 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 D | fops.c | 87 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 D | xfs_file.c | 194 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 D | filemap.c | 2403 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 D | direct_write.c | 170 if (iocb->ki_flags & IOCB_NOWAIT) { in netfs_unbuffered_write_iter()
|
H A D | buffered_write.c | 112 unsigned int bdp_flags = (iocb->ki_flags & IOCB_NOWAIT) ? BDP_ASYNC : 0; in netfs_perform_write()
|
/linux/fs/iomap/ |
H A D | direct-io.c | 610 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 D | eventfd.c | 225 (iocb->ki_flags & IOCB_NOWAIT)) { in eventfd_read()
|
H A D | signalfd.c | 214 nonblock = file->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT; in signalfd_read_iter()
|
H A D | pipe.c | 357 (iocb->ki_flags & IOCB_NOWAIT)) { in pipe_read() 558 (iocb->ki_flags & IOCB_NOWAIT)) { in pipe_write()
|
H A D | timerfd.c | 274 if (file->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT) in timerfd_read_iter()
|
H A D | inode.c | 2256 if (flags & IOCB_NOWAIT) in file_remove_privs_flags() 2421 if (flags & IOCB_NOWAIT) in file_modified_flags()
|
H A D | direct-io.c | 1183 if (iocb->ki_flags & IOCB_NOWAIT) in __blockdev_direct_IO()
|
/linux/fs/btrfs/ |
H A D | direct-io.c | 807 if (iocb->ki_flags & IOCB_NOWAIT) in btrfs_direct_write() 945 if (iocb->ki_flags & IOCB_NOWAIT) { in btrfs_direct_write()
|
H A D | file.c | 1087 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 D | tap.c | 783 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 D | mem.c | 488 if (iocb->ki_flags & IOCB_NOWAIT) in read_iter_zero()
|
H A D | random.c | 1485 ((kiocb->ki_flags & (IOCB_NOWAIT | IOCB_NOIO)) || in random_read_iter()
|
/linux/include/linux/ |
H A D | bio.h | 669 if (kiocb->ki_flags & IOCB_NOWAIT) in bio_set_polled()
|
/linux/fs/f2fs/ |
H A D | file.c | 4612 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 D | operations.rst | 132 * ``IOCB_NOWAIT``: Turns on ``IOMAP_NOWAIT``. 435 * ``IOCB_NOWAIT``: Turns on ``IOMAP_NOWAIT``.
|
/linux/fs/ocfs2/ |
H A D | file.c | 2381 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()
|