Searched refs:i_cowfp (Results 1 – 9 of 9) sorted by relevance
/fs/xfs/ |
D | xfs_bmap_util.c | 1779 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()
|
D | xfs_inode.h | 37 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()
|
D | xfs_aops.c | 210 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()
|
D | xfs_reflink.c | 253 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()
|
D | xfs_icache.c | 100 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()
|
D | xfs_iomap.c | 926 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/ |
D | xfs_inode_fork.c | 670 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()
|
D | xfs_inode_fork.h | 102 (ip)->i_cowfp))
|
D | xfs_inode_buf.c | 180 ASSERT(ip->i_cowfp == NULL); in xfs_inode_from_disk()
|