Lines Matching defs:shared
741 bool shared = false;
773 error = xfs_reflink_allocate_cow(ip, &imap, &cmap, &shared,
777 if (shared)
869 bool eof = false, cow_eof = false, shared = false;
919 * block adjacent to shared blocks instead of just the shared blocks
921 * than going out to the shared extent tree.
939 * overwriting shared extents. This includes zeroing of
951 /* Trim the mapping to the nearest shared extent boundary. */
952 error = xfs_bmap_trim_cow(ip, &imap, &shared);
956 /* Not shared? Just report the (potentially capped) extent. */
957 if (!shared) {
964 * Fork all the shared blocks from our write offset until the
1158 bool shared = false;
1172 error = xfs_reflink_trim_around_shared(ip, &imap, &shared);
1178 return xfs_bmbt_to_iomap(ip, iomap, &imap, shared ? IOMAP_F_SHARED : 0);