Searched refs:i_cowfp (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_inode.h | 36 struct xfs_ifork *i_cowfp; /* copy on write extents */ member 102 return ip->i_cowfp; in xfs_ifork_ptr() 277 return ip->i_cowfp && ip->i_cowfp->if_bytes; in xfs_inode_has_cow_data()
|
A D | xfs_bmap_util.c | 1797 ASSERT(!ip->i_cowfp || in xfs_swap_extents() 1798 ip->i_cowfp->if_format == XFS_DINODE_FMT_EXTENTS); in xfs_swap_extents() 1799 ASSERT(!tip->i_cowfp || in xfs_swap_extents() 1800 tip->i_cowfp->if_format == XFS_DINODE_FMT_EXTENTS); in xfs_swap_extents() 1802 swap(ip->i_cowfp, tip->i_cowfp); in xfs_swap_extents() 1804 if (ip->i_cowfp && ip->i_cowfp->if_bytes) in xfs_swap_extents() 1808 if (tip->i_cowfp && tip->i_cowfp->if_bytes) in xfs_swap_extents()
|
A D | xfs_aops.c | 228 XFS_WPC(wpc)->cow_seq != READ_ONCE(ip->i_cowfp->if_seq)) { in xfs_imap_valid() 333 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks() 336 XFS_WPC(wpc)->cow_seq = READ_ONCE(ip->i_cowfp->if_seq); in xfs_map_blocks()
|
A D | xfs_reflink.c | 256 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked() 277 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked() 326 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap)) in xfs_find_trim_cow_extent() 531 if (!ip->i_cowfp) { in xfs_reflink_allocate_cow() 669 ASSERT(ip->i_cowfp); in xfs_reflink_cancel_cow_range()
|
A D | xfs_iomap.c | 60 if ((iomap_flags & IOMAP_F_SHARED) && ip->i_cowfp) in xfs_iomap_inode_sequence() 61 cookie = (u64)READ_ONCE(ip->i_cowfp->if_seq) << 32; in xfs_iomap_inode_sequence() 1024 if (!ip->i_cowfp) { in xfs_buffered_write_iomap_begin() 1028 cow_eof = !xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, in xfs_buffered_write_iomap_begin() 1317 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &cmap)) in xfs_seek_iomap_begin()
|
A D | xfs_icache.c | 101 ip->i_cowfp = NULL; in xfs_inode_alloc() 138 if (ip->i_cowfp) { in xfs_inode_free_callback() 139 xfs_idestroy_fork(ip->i_cowfp); in xfs_inode_free_callback() 140 kmem_cache_free(xfs_ifork_cache, ip->i_cowfp); in xfs_inode_free_callback()
|
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_inode_fork.c | 661 return ip->i_cowfp; in xfs_iext_state_to_fork() 674 if (ip->i_cowfp) in xfs_ifork_init_cow() 677 ip->i_cowfp = kmem_cache_zalloc(xfs_ifork_cache, in xfs_ifork_init_cow() 679 ip->i_cowfp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifork_init_cow()
|
A D | xfs_inode_buf.c | 179 ASSERT(ip->i_cowfp == NULL); in xfs_inode_from_disk()
|
Completed in 20 milliseconds