Home
last modified time | relevance | path

Searched refs:IOMAP_NOWAIT (Results 1 – 8 of 8) sorted by relevance

/linux/fs/btrfs/
H A Ddirect-io.c38 const bool nowait = (iomap_flags & IOMAP_NOWAIT); in lock_extent_direct()
219 const bool nowait = (iomap_flags & IOMAP_NOWAIT); in btrfs_get_blocks_direct_write()
381 if (!write && (flags & IOMAP_NOWAIT) && length > PAGE_SIZE) in btrfs_dio_iomap_begin()
414 if (flags & IOMAP_NOWAIT) { in btrfs_dio_iomap_begin()
437 if (write && !(flags & IOMAP_NOWAIT)) { in btrfs_dio_iomap_begin()
491 ret = (flags & IOMAP_NOWAIT) ? -EAGAIN : -ENOTBLK; in btrfs_dio_iomap_begin()
518 if ((flags & IOMAP_NOWAIT) && len < length) { in btrfs_dio_iomap_begin()
/linux/fs/iomap/
H A Dbuffered-io.c191 if (flags & IOMAP_NOWAIT) in ifs_alloc()
604 if (iter->flags & IOMAP_NOWAIT) in iomap_get_folio()
708 if ((iter->flags & IOMAP_NOWAIT) && !ifs && nr_blocks > 1) in __iomap_write_begin()
732 if (iter->flags & IOMAP_NOWAIT) in __iomap_write_begin()
918 unsigned int bdp_flags = (iter->flags & IOMAP_NOWAIT) ? BDP_ASYNC : 0; in iomap_write_iter()
1036 iter.flags |= IOMAP_NOWAIT; in iomap_file_buffered_write()
H A Ddirect-io.c611 iomi.flags |= IOMAP_NOWAIT; in __iomap_dio_rw()
/linux/fs/xfs/
H A Dxfs_iomap.c767 if (flags & IOMAP_NOWAIT) { in xfs_ilock_for_iomap()
862 if (flags & IOMAP_NOWAIT) in xfs_direct_write_iomap_begin()
886 if (flags & (IOMAP_NOWAIT | IOMAP_OVERWRITE_ONLY)) { in xfs_direct_write_iomap_begin()
912 if (flags & (IOMAP_NOWAIT | IOMAP_OVERWRITE_ONLY)) in xfs_direct_write_iomap_begin()
/linux/Documentation/filesystems/iomap/
H A Doperations.rst132 * ``IOCB_NOWAIT``: Turns on ``IOMAP_NOWAIT``.
186 ``IOMAP_WRITE`` or ``IOMAP_WRITE`` | ``IOMAP_NOWAIT`` will be passed as
435 * ``IOCB_NOWAIT``: Turns on ``IOMAP_NOWAIT``.
490 * ``IOMAP_NOWAIT``, as defined previously.
506 * ``IOMAP_NOWAIT``, as defined previously.
593 * ``IOMAP_NOWAIT``, as defined previously.
606 * ``IOMAP_NOWAIT``, as defined previously.
H A Ddesign.rst331 * ``IOMAP_NOWAIT`` is set when the caller wishes to perform a best
338 Filesystems implementing ``IOMAP_NOWAIT`` semantics need to use
349 whether any specific ``IOMAP_NOWAIT`` operation may end up blocking,
352 ``IOMAP_NOWAIT`` is often set on behalf of ``IOCB_NOWAIT`` or
/linux/include/linux/
H A Diomap.h177 #define IOMAP_NOWAIT (1 << 5) /* do not block */ macro
/linux/fs/
H A Ddax.c1586 iomi.flags |= IOMAP_NOWAIT; in dax_iomap_rw()