Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_bmap_util.c1779 ASSERT(!ip->i_cowfp || in xfs_swap_extents()
1780 ip->i_cowfp->if_format == XFS_DINODE_FMT_EXTENTS); in xfs_swap_extents()
1781 ASSERT(!tip->i_cowfp || in xfs_swap_extents()
1782 tip->i_cowfp->if_format == XFS_DINODE_FMT_EXTENTS); in xfs_swap_extents()
1784 swap(ip->i_cowfp, tip->i_cowfp); in xfs_swap_extents()
1786 if (ip->i_cowfp && ip->i_cowfp->if_bytes) in xfs_swap_extents()
1790 if (tip->i_cowfp && tip->i_cowfp->if_bytes) in xfs_swap_extents()
Dxfs_inode.h37 struct xfs_ifork *i_cowfp; /* copy on write extents */ member
213 return ip->i_cowfp && ip->i_cowfp->if_bytes; in xfs_inode_has_cow_data()
Dxfs_aops.c210 XFS_WPC(wpc)->cow_seq != READ_ONCE(ip->i_cowfp->if_seq)) in xfs_imap_valid()
310 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
313 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()
530 if (!ip->i_cowfp) { in xfs_reflink_allocate_cow()
668 ASSERT(ip->i_cowfp); in xfs_reflink_cancel_cow_range()
Dxfs_icache.c100 ip->i_cowfp = NULL; in xfs_inode_alloc()
135 if (ip->i_cowfp) { in xfs_inode_free_callback()
136 xfs_idestroy_fork(ip->i_cowfp); in xfs_inode_free_callback()
137 kmem_cache_free(xfs_ifork_zone, ip->i_cowfp); in xfs_inode_free_callback()
Dxfs_iomap.c926 if (!ip->i_cowfp) { in xfs_buffered_write_iomap_begin()
930 cow_eof = !xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, in xfs_buffered_write_iomap_begin()
1233 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &cmap)) in xfs_seek_iomap_begin()
/fs/xfs/libxfs/
Dxfs_inode_fork.c670 return ip->i_cowfp; in xfs_iext_state_to_fork()
683 if (ip->i_cowfp) in xfs_ifork_init_cow()
686 ip->i_cowfp = kmem_cache_zalloc(xfs_ifork_zone, in xfs_ifork_init_cow()
688 ip->i_cowfp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifork_init_cow()
Dxfs_inode_fork.h102 (ip)->i_cowfp))
Dxfs_inode_buf.c180 ASSERT(ip->i_cowfp == NULL); in xfs_inode_from_disk()