Searched refs:i_cowfp (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 660 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()
|
D | xfs_inode_fork.h | 49 (ip)->i_cowfp))
|
D | xfs_inode_buf.c | 200 ASSERT(ip->i_cowfp == NULL); in xfs_inode_from_disk()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_inode.h | 37 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()
|
D | xfs_bmap_util.c | 1730 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()
|
D | xfs_aops.c | 294 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()
|
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() 363 if (!ip->i_cowfp) { in xfs_reflink_allocate_cow() 550 ASSERT(ip->i_cowfp); in xfs_reflink_cancel_cow_range()
|
D | xfs_icache.c | 62 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()
|
D | xfs_iomap.c | 921 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()
|