Searched refs:ioend (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/xfs/ |
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_disk_size; in xfs_ioend_is_append() 82 struct iomap_ioend *ioend) in xfs_end_ioend() argument 84 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_ioend() 86 xfs_off_t offset = ioend->io_offset; in xfs_end_ioend() 87 size_t size = ioend->io_size; in xfs_end_ioend() 113 error = blk_status_to_errno(ioend->io_bio->bi_status); in xfs_end_ioend() 115 if (ioend->io_flags & IOMAP_F_SHARED) { in xfs_end_ioend() 127 if (ioend->io_flags & IOMAP_F_SHARED) in xfs_end_ioend() [all …]
|
/linux-6.1.9/fs/iomap/ |
D | buffered-io.c | 1039 iomap_finish_ioend(struct iomap_ioend *ioend, int error) in iomap_finish_ioend() argument 1041 struct inode *inode = ioend->io_inode; in iomap_finish_ioend() 1042 struct bio *bio = &ioend->io_inline_bio; in iomap_finish_ioend() 1043 struct bio *last = ioend->io_bio, *next; in iomap_finish_ioend() 1045 loff_t offset = ioend->io_offset; in iomap_finish_ioend() 1049 for (bio = &ioend->io_inline_bio; bio; bio = next) { in iomap_finish_ioend() 1088 iomap_finish_ioends(struct iomap_ioend *ioend, int error) in iomap_finish_ioends() argument 1095 list_replace_init(&ioend->io_list, &tmp); in iomap_finish_ioends() 1096 completions = iomap_finish_ioend(ioend, error); in iomap_finish_ioends() 1103 ioend = list_first_entry(&tmp, struct iomap_ioend, io_list); in iomap_finish_ioends() [all …]
|
/linux-6.1.9/include/linux/ |
D | iomap.h | 281 int (*prepare_ioend)(struct iomap_ioend *ioend, int status); 292 struct iomap_ioend *ioend; member 296 void iomap_finish_ioends(struct iomap_ioend *ioend, int error); 297 void iomap_ioend_try_merge(struct iomap_ioend *ioend,
|