Lines Matching defs:shared
788 bool shared = false;
821 error = xfs_reflink_allocate_cow(ip, &imap, &cmap, &shared,
826 if (shared)
963 bool eof = false, cow_eof = false, shared = false;
1020 * block adjacent to shared blocks instead of just the shared blocks
1022 * than going out to the shared extent tree.
1040 * overwriting shared extents. This includes zeroing of
1052 /* Trim the mapping to the nearest shared extent boundary. */
1053 error = xfs_bmap_trim_cow(ip, &imap, &shared);
1057 /* Not shared? Just report the (potentially capped) extent. */
1058 if (!shared) {
1065 * Fork all the shared blocks from our write offset until the
1244 bool shared = false;
1259 error = xfs_reflink_trim_around_shared(ip, &imap, &shared);
1260 seq = xfs_iomap_inode_sequence(ip, shared ? IOMAP_F_SHARED : 0);
1267 shared ? IOMAP_F_SHARED : 0, seq);