Home
last modified time | relevance | path

Searched refs:i_cowfp (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_inode_fork.c660 return ip->i_cowfp; in xfs_iext_state_to_fork()
673 if (ip->i_cowfp) in xfs_ifork_init_cow()
676 ip->i_cowfp = kmem_cache_zalloc(xfs_ifork_zone, in xfs_ifork_init_cow()
678 ip->i_cowfp->if_flags = XFS_IFEXTENTS; in xfs_ifork_init_cow()
679 ip->i_cowfp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifork_init_cow()
Dxfs_inode_fork.h49 (ip)->i_cowfp))
Dxfs_inode_buf.c200 ASSERT(ip->i_cowfp == NULL); in xfs_inode_from_disk()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_inode.h37 struct xfs_ifork *i_cowfp; /* copy on write extents */ member
194 return ip->i_cowfp && ip->i_cowfp->if_bytes; in xfs_inode_has_cow_data()
Dxfs_bmap_util.c1730 ASSERT(!ip->i_cowfp || in xfs_swap_extents()
1731 ip->i_cowfp->if_format == XFS_DINODE_FMT_EXTENTS); in xfs_swap_extents()
1732 ASSERT(!tip->i_cowfp || in xfs_swap_extents()
1733 tip->i_cowfp->if_format == XFS_DINODE_FMT_EXTENTS); in xfs_swap_extents()
1735 swap(ip->i_cowfp, tip->i_cowfp); in xfs_swap_extents()
1737 if (ip->i_cowfp && ip->i_cowfp->if_bytes) in xfs_swap_extents()
1741 if (tip->i_cowfp && tip->i_cowfp->if_bytes) in xfs_swap_extents()
Dxfs_aops.c294 XFS_WPC(wpc)->cow_seq != READ_ONCE(ip->i_cowfp->if_seq)) in xfs_imap_valid()
395 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
398 XFS_WPC(wpc)->cow_seq = READ_ONCE(ip->i_cowfp->if_seq); in xfs_map_blocks()
Dxfs_reflink.c253 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
274 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked()
323 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap)) in xfs_find_trim_cow_extent()
363 if (!ip->i_cowfp) { in xfs_reflink_allocate_cow()
550 ASSERT(ip->i_cowfp); in xfs_reflink_cancel_cow_range()
Dxfs_icache.c62 ip->i_cowfp = NULL; in xfs_inode_alloc()
95 if (ip->i_cowfp) { in xfs_inode_free_callback()
96 xfs_idestroy_fork(ip->i_cowfp); in xfs_inode_free_callback()
97 kmem_cache_free(xfs_ifork_zone, ip->i_cowfp); in xfs_inode_free_callback()
Dxfs_iomap.c921 if (!ip->i_cowfp) { in xfs_buffered_write_iomap_begin()
925 cow_eof = !xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, in xfs_buffered_write_iomap_begin()
1230 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &cmap)) in xfs_seek_iomap_begin()