/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_aops.c | 36 static inline bool xfs_ioend_is_append(struct iomap_ioend *ioend) in xfs_ioend_is_append() argument 38 return ioend->io_offset + ioend->io_size > in xfs_ioend_is_append() 39 XFS_I(ioend->io_inode)->i_d.di_size; in xfs_ioend_is_append() 90 struct iomap_ioend *ioend, in xfs_setfilesize_ioend() 93 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_setfilesize_ioend() 94 struct xfs_trans *tp = ioend->io_private; in xfs_setfilesize_ioend() 110 return __xfs_setfilesize(ip, tp, ioend->io_offset, ioend->io_size); in xfs_setfilesize_ioend() 118 struct iomap_ioend *ioend) in xfs_end_ioend() 89 xfs_setfilesize_ioend( struct iomap_ioend *ioend, int error) xfs_setfilesize_ioend() argument 117 xfs_end_ioend( struct iomap_ioend *ioend) xfs_end_ioend() argument 182 xfs_ioend_merge_private( struct iomap_ioend *ioend, struct iomap_ioend *next) xfs_ioend_merge_private() argument 201 struct iomap_ioend *ioend; xfs_end_io() local 218 xfs_ioend_needs_workqueue(struct iomap_ioend *ioend) xfs_ioend_needs_workqueue() argument 229 struct iomap_ioend *ioend = bio->bi_private; xfs_end_bio() local 463 xfs_prepare_ioend( struct iomap_ioend *ioend, int status) xfs_prepare_ioend() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_aops.c | 38 static inline bool xfs_ioend_is_append(struct iomap_ioend *ioend) in xfs_ioend_is_append() argument 40 return ioend->io_offset + ioend->io_size > in xfs_ioend_is_append() 41 XFS_I(ioend->io_inode)->i_disk_size; in xfs_ioend_is_append() 84 struct iomap_ioend *ioend) in xfs_end_ioend() 86 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_ioend() 88 xfs_off_t offset = ioend->io_offset; in xfs_end_ioend() 89 size_t size = ioend->io_size; in xfs_end_ioend() 110 * I/O error. The delalloc punch is required because this ioend was in xfs_end_ioend() 115 error = blk_status_to_errno(ioend in xfs_end_ioend() 83 xfs_end_ioend( struct iomap_ioend *ioend) xfs_end_ioend() argument 160 struct iomap_ioend *ioend; xfs_end_io() local 182 struct iomap_ioend *ioend = bio->bi_private; xfs_end_bio() local 423 xfs_prepare_ioend( struct iomap_ioend *ioend, int status) xfs_prepare_ioend() argument [all...] |
/kernel/linux/linux-5.10/fs/iomap/ |
H A D | buffered-io.c | 1060 * We're now finished for good with this ioend structure. Update the page 1062 * ioend after this. 1065 iomap_finish_ioend(struct iomap_ioend *ioend, int error) in iomap_finish_ioend() argument 1067 struct inode *inode = ioend->io_inode; in iomap_finish_ioend() 1068 struct bio *bio = &ioend->io_inline_bio; in iomap_finish_ioend() 1069 struct bio *last = ioend->io_bio, *next; in iomap_finish_ioend() 1071 loff_t offset = ioend->io_offset; in iomap_finish_ioend() 1074 for (bio = &ioend->io_inline_bio; bio; bio = next) { in iomap_finish_ioend() 1079 * For the last bio, bi_private points to the ioend, so we in iomap_finish_ioend() 1093 /* The ioend ha in iomap_finish_ioend() 1103 iomap_finish_ioends(struct iomap_ioend *ioend, int error) iomap_finish_ioends() argument 1122 iomap_ioend_can_merge(struct iomap_ioend *ioend, struct iomap_ioend *next) iomap_ioend_can_merge() argument 1138 iomap_ioend_try_merge(struct iomap_ioend *ioend, struct list_head *more_ioends, void (*merge_private)(struct iomap_ioend *ioend, struct iomap_ioend *next)) iomap_ioend_try_merge() argument 1181 struct iomap_ioend *ioend = bio->bi_private; iomap_writepage_end_bio() local 1195 iomap_submit_ioend(struct iomap_writepage_ctx *wpc, struct iomap_ioend *ioend, int error) iomap_submit_ioend() argument 1223 struct iomap_ioend *ioend; iomap_alloc_ioend() local 1344 struct iomap_ioend *ioend, *next; iomap_writepage_map() local [all...] |
/kernel/linux/linux-6.6/fs/iomap/ |
H A D | buffered-io.c | 1471 * We're now finished for good with this ioend structure. Update the page 1473 * ioend after this. 1476 iomap_finish_ioend(struct iomap_ioend *ioend, int error) in iomap_finish_ioend() argument 1478 struct inode *inode = ioend->io_inode; in iomap_finish_ioend() 1479 struct bio *bio = &ioend->io_inline_bio; in iomap_finish_ioend() 1480 struct bio *last = ioend->io_bio, *next; in iomap_finish_ioend() 1482 loff_t offset = ioend->io_offset; in iomap_finish_ioend() 1486 for (bio = &ioend->io_inline_bio; bio; bio = next) { in iomap_finish_ioend() 1490 * For the last bio, bi_private points to the ioend, so we in iomap_finish_ioend() 1506 /* The ioend ha in iomap_finish_ioend() 1525 iomap_finish_ioends(struct iomap_ioend *ioend, int error) iomap_finish_ioends() argument 1551 iomap_ioend_can_merge(struct iomap_ioend *ioend, struct iomap_ioend *next) iomap_ioend_can_merge() argument 1579 iomap_ioend_try_merge(struct iomap_ioend *ioend, struct list_head *more_ioends) iomap_ioend_try_merge() argument 1618 struct iomap_ioend *ioend = bio->bi_private; iomap_writepage_end_bio() local 1632 iomap_submit_ioend(struct iomap_writepage_ctx *wpc, struct iomap_ioend *ioend, int error) iomap_submit_ioend() argument 1660 struct iomap_ioend *ioend; iomap_alloc_ioend() local 1779 struct iomap_ioend *ioend, *next; iomap_writepage_map() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | iomap.h | 193 struct list_head io_list; /* next ioend in chain */ 218 int (*prepare_ioend)(struct iomap_ioend *ioend, int status); 229 struct iomap_ioend *ioend; member 233 void iomap_finish_ioends(struct iomap_ioend *ioend, int error); 234 void iomap_ioend_try_merge(struct iomap_ioend *ioend, 236 void (*merge_private)(struct iomap_ioend *ioend,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | iomap.h | 293 struct list_head io_list; /* next ioend in chain */ 296 u32 io_folios; /* folios added to ioend */ 300 sector_t io_sector; /* start sector of ioend */ 319 int (*prepare_ioend)(struct iomap_ioend *ioend, int status); 330 struct iomap_ioend *ioend; member 334 void iomap_finish_ioends(struct iomap_ioend *ioend, int error); 335 void iomap_ioend_try_merge(struct iomap_ioend *ioend,
|