Searched refs:ioend (Results 1 – 7 of 7) sorted by relevance
20 struct iomap_ioend *ioend = iomap_ioend_from_bio(bio); in iomap_init_ioend() local22 atomic_set(&ioend->io_remaining, 1); in iomap_init_ioend()23 ioend->io_error = 0; in iomap_init_ioend()24 ioend->io_parent = NULL; in iomap_init_ioend()25 INIT_LIST_HEAD(&ioend->io_list); in iomap_init_ioend()26 ioend->io_flags = ioend_flags; in iomap_init_ioend()27 ioend->io_inode = inode; in iomap_init_ioend()28 ioend->io_offset = file_offset; in iomap_init_ioend()29 ioend->io_size = bio->bi_iter.bi_size; in iomap_init_ioend()30 ioend->io_sector = bio->bi_iter.bi_sector; in iomap_init_ioend()[all …]
76 u32 iomap_finish_ioend_buffered_read(struct iomap_ioend *ioend) in iomap_finish_ioend_buffered_read() argument78 return __iomap_read_end_io(&ioend->io_bio, ioend->io_error); in iomap_finish_ioend_buffered_read()
281 u32 iomap_finish_ioend_direct(struct iomap_ioend *ioend) in iomap_finish_ioend_direct() argument283 struct iomap_dio *dio = ioend->io_bio.bi_private; in iomap_finish_ioend_direct()284 u32 vec_count = ioend->io_bio.bi_vcnt; in iomap_finish_ioend_direct()286 if (ioend->io_error) in iomap_finish_ioend_direct()287 iomap_dio_set_error(dio, ioend->io_error); in iomap_finish_ioend_direct()288 __iomap_dio_bio_end_io(&ioend->io_bio, true); in iomap_finish_ioend_direct()
15 ioend.o \
774 struct iomap_ioend *ioend) in xfs_mark_rtg_boundary() argument776 struct xfs_mount *mp = XFS_I(ioend->io_inode)->i_mount; in xfs_mark_rtg_boundary()777 sector_t sector = ioend->io_bio.bi_iter.bi_sector; in xfs_mark_rtg_boundary()780 ioend->io_flags |= IOMAP_IOEND_BOUNDARY; in xfs_mark_rtg_boundary()836 struct iomap_ioend *ioend, in xfs_submit_zoned_bio() argument840 ioend->io_bio.bi_iter.bi_sector = ioend->io_sector; in xfs_submit_zoned_bio()841 ioend->io_private = oz; in xfs_submit_zoned_bio()845 ioend->io_bio.bi_opf &= ~REQ_OP_WRITE; in xfs_submit_zoned_bio()846 ioend->io_bio.bi_opf |= REQ_OP_ZONE_APPEND; in xfs_submit_zoned_bio()848 xfs_mark_rtg_boundary(ioend); in xfs_submit_zoned_bio()[all …]
373 deferring the ioend completion to a workqueue to run metadata update384 bit on the folios attached to the ``ioend``.409 * ``iomap_ioend_try_merge``: Given an ioend that is not in any list and411 the head of the list into the given ioend.417 * ``iomap_finish_ioends``: Finish an ioend that possibly has other617 * ``IOMAP_DIO_UNWRITTEN``: The mapping was unwritten, so the ioend621 copy on write operation, so the ioend should switch mappings.
205 For a write or writeback operation, the ioend should update the