Home
last modified time | relevance | path

Searched refs:ioend (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_aops.c36 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()
44 struct iomap_ioend *ioend) in xfs_setfilesize_trans_alloc() argument
46 struct xfs_mount *mp = XFS_I(ioend->io_inode)->i_mount; in xfs_setfilesize_trans_alloc()
54 ioend->io_private = tp; in xfs_setfilesize_trans_alloc()
60 __sb_writers_release(ioend->io_inode->i_sb, SB_FREEZE_FS); in xfs_setfilesize_trans_alloc()
117 struct iomap_ioend *ioend, in xfs_setfilesize_ioend() argument
120 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_setfilesize_ioend()
121 struct xfs_trans *tp = ioend->io_private; in xfs_setfilesize_ioend()
[all …]
/kernel/linux/linux-5.10/fs/iomap/
Dbuffered-io.c1065 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()
1103 iomap_finish_ioends(struct iomap_ioend *ioend, int error) in iomap_finish_ioends() argument
1107 list_replace_init(&ioend->io_list, &tmp); in iomap_finish_ioends()
1108 iomap_finish_ioend(ioend, error); in iomap_finish_ioends()
1111 ioend = list_first_entry(&tmp, struct iomap_ioend, io_list); in iomap_finish_ioends()
[all …]
/kernel/linux/linux-5.10/include/linux/
Diomap.h218 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,