Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_inode_fork.c93 ASSERT(ip->i_cowfp == NULL); in xfs_iformat_fork()
125 if (ip->i_cowfp) in xfs_iformat_fork()
126 kmem_zone_free(xfs_ifork_zone, ip->i_cowfp); in xfs_iformat_fork()
127 ip->i_cowfp = NULL; in xfs_iformat_fork()
537 kmem_zone_free(xfs_ifork_zone, ip->i_cowfp); in xfs_idestroy_fork()
538 ip->i_cowfp = NULL; in xfs_idestroy_fork()
675 return ip->i_cowfp; in xfs_iext_state_to_fork()
688 if (ip->i_cowfp) in xfs_ifork_init_cow()
691 ip->i_cowfp = kmem_zone_zalloc(xfs_ifork_zone, in xfs_ifork_init_cow()
693 ip->i_cowfp->if_flags = XFS_IFEXTENTS; in xfs_ifork_init_cow()
Dxfs_inode_fork.h47 (ip)->i_cowfp))
/fs/xfs/
Dxfs_inode.h37 struct xfs_ifork *i_cowfp; /* copy on write extents */ member
200 return ip->i_cowfp && ip->i_cowfp->if_bytes; in xfs_inode_has_cow_data()
Dxfs_reflink.c255 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
276 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked()
325 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_find_trim_cow_extent()
365 if (!ip->i_cowfp) { in xfs_reflink_allocate_cow()
552 ASSERT(ip->i_cowfp); in xfs_reflink_cancel_cow_range()
Dxfs_bmap_util.c1891 swap(ip->i_cowfp, tip->i_cowfp); in xfs_swap_extents()
1893 if (ip->i_cowfp && ip->i_cowfp->if_bytes) in xfs_swap_extents()
1897 if (tip->i_cowfp && tip->i_cowfp->if_bytes) in xfs_swap_extents()
Dxfs_aops.c449 wpc->cow_seq != READ_ONCE(ip->i_cowfp->if_seq)) in xfs_imap_valid()
543 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
546 wpc->cow_seq = READ_ONCE(ip->i_cowfp->if_seq); in xfs_map_blocks()
Dxfs_iomap.c595 if (!ip->i_cowfp) { in xfs_file_iomap_begin_delay()
599 cow_eof = !xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, in xfs_file_iomap_begin_delay()
1213 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &cmap)) in xfs_seek_iomap_begin()
Dxfs_icache.c64 ip->i_cowfp = NULL; in xfs_inode_alloc()
97 if (ip->i_cowfp) in xfs_inode_free_callback()