Lines Matching refs:owner

37 	uint64_t		owner,  in xfs_rmap_lookup_le()  argument
48 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_le()
74 uint64_t owner, in xfs_rmap_lookup_eq() argument
81 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_eq()
121 uint64_t owner, in xfs_rmap_insert() argument
129 len, owner, offset, flags); in xfs_rmap_insert()
131 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_insert()
141 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert()
163 uint64_t owner, in xfs_rmap_delete() argument
171 len, owner, offset, flags); in xfs_rmap_delete()
173 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_delete()
348 uint64_t owner, in xfs_rmap_find_left_neighbor() argument
362 info.high.rm_owner = owner; in xfs_rmap_find_left_neighbor()
363 if (!XFS_RMAP_NON_INODE_OWNER(owner) && in xfs_rmap_find_left_neighbor()
375 cur->bc_ag.pag->pag_agno, bno, 0, owner, offset, flags); in xfs_rmap_find_left_neighbor()
393 error = xfs_rmap_lookup_le(cur, bno, owner, offset, flags, irec, in xfs_rmap_find_left_neighbor()
449 uint64_t owner, in xfs_rmap_lookup_le_range() argument
460 info.high.rm_owner = owner; in xfs_rmap_lookup_le_range()
461 if (!XFS_RMAP_NON_INODE_OWNER(owner) && !(flags & XFS_RMAP_BMBT_BLOCK)) in xfs_rmap_lookup_le_range()
471 bno, 0, owner, offset, flags); in xfs_rmap_lookup_le_range()
489 error = xfs_rmap_lookup_le(cur, bno, owner, offset, flags, irec, in xfs_rmap_lookup_le_range()
519 uint64_t owner, in xfs_rmap_free_check_owner() argument
525 if (owner == XFS_RMAP_OWN_UNKNOWN) in xfs_rmap_free_check_owner()
537 if (XFS_IS_CORRUPT(mp, owner != rec->rm_owner)) { in xfs_rmap_free_check_owner()
543 if (XFS_RMAP_NON_INODE_OWNER(owner)) in xfs_rmap_free_check_owner()
599 uint64_t owner; in xfs_rmap_unmap() local
604 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_unmap()
605 ignore_off = XFS_RMAP_NON_INODE_OWNER(owner) || in xfs_rmap_unmap()
617 error = xfs_rmap_lookup_le(cur, bno, owner, offset, flags, &ltrec, &i); in xfs_rmap_unmap()
638 if (owner == XFS_RMAP_OWN_NULL) { in xfs_rmap_unmap()
655 if (owner == XFS_RMAP_OWN_UNKNOWN && in xfs_rmap_unmap()
685 error = xfs_rmap_free_check_owner(mp, ltoff, &ltrec, len, owner, in xfs_rmap_unmap()
826 uint64_t owner, in xfs_rmap_is_mergeable() argument
831 if (irec->rm_owner != owner) in xfs_rmap_is_mergeable()
866 uint64_t owner; in xfs_rmap_map() local
871 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_map()
872 ASSERT(owner != 0); in xfs_rmap_map()
873 ignore_off = XFS_RMAP_NON_INODE_OWNER(owner) || in xfs_rmap_map()
886 error = xfs_rmap_lookup_le(cur, bno, owner, offset, flags, &ltrec, in xfs_rmap_map()
896 if (!xfs_rmap_is_mergeable(&ltrec, owner, flags)) in xfs_rmap_map()
931 if (!xfs_rmap_is_mergeable(&gtrec, owner, flags)) in xfs_rmap_map()
1015 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_map()
1019 owner, offset, flags); in xfs_rmap_map()
1092 uint64_t owner; in xfs_rmap_convert() local
1102 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_convert()
1103 ASSERT(!(XFS_RMAP_NON_INODE_OWNER(owner) || in xfs_rmap_convert()
1115 error = xfs_rmap_lookup_le(cur, bno, owner, offset, oldext, &PREV, &i); in xfs_rmap_convert()
1171 xfs_rmap_is_mergeable(&LEFT, owner, newext)) in xfs_rmap_convert()
1209 xfs_rmap_is_mergeable(&RIGHT, owner, newext)) in xfs_rmap_convert()
1226 error = xfs_rmap_lookup_le(cur, bno, owner, offset, oldext, NULL, &i); in xfs_rmap_convert()
1411 NEW.rm_owner = owner; in xfs_rmap_convert()
1417 len, owner, offset, newext); in xfs_rmap_convert()
1459 error = xfs_rmap_lookup_eq(cur, bno, len, owner, offset, in xfs_rmap_convert()
1468 NEW.rm_owner = owner; in xfs_rmap_convert()
1474 len, owner, offset, newext); in xfs_rmap_convert()
1492 NEW.rm_owner = owner; in xfs_rmap_convert()
1520 error = xfs_rmap_lookup_eq(cur, bno, len, owner, offset, in xfs_rmap_convert()
1532 owner, offset, newext); in xfs_rmap_convert()
1581 uint64_t owner; in xfs_rmap_convert_shared() local
1591 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_convert_shared()
1592 ASSERT(!(XFS_RMAP_NON_INODE_OWNER(owner) || in xfs_rmap_convert_shared()
1604 error = xfs_rmap_lookup_le_range(cur, bno, owner, offset, oldext, in xfs_rmap_convert_shared()
1628 error = xfs_rmap_find_left_neighbor(cur, bno, owner, offset, newext, in xfs_rmap_convert_shared()
1640 if (xfs_rmap_is_mergeable(&LEFT, owner, newext)) in xfs_rmap_convert_shared()
1645 error = xfs_rmap_lookup_eq(cur, bno + len, len, owner, offset + len, in xfs_rmap_convert_shared()
1666 if (xfs_rmap_is_mergeable(&RIGHT, owner, newext)) in xfs_rmap_convert_shared()
1847 error = xfs_rmap_insert(cur, bno, len, owner, offset, newext); in xfs_rmap_convert_shared()
1906 error = xfs_rmap_insert(cur, bno, len, owner, offset, newext); in xfs_rmap_convert_shared()
1919 NEW.rm_owner = owner; in xfs_rmap_convert_shared()
1947 NEW.rm_owner = owner; in xfs_rmap_convert_shared()
2006 uint64_t owner; in xfs_rmap_unmap_shared() local
2010 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_unmap_shared()
2021 error = xfs_rmap_lookup_le_range(cur, bno, owner, offset, flags, in xfs_rmap_unmap_shared()
2041 if (XFS_IS_CORRUPT(mp, owner != ltrec.rm_owner)) { in xfs_rmap_unmap_shared()
2195 uint64_t owner; in xfs_rmap_map_shared() local
2199 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_map_shared()
2206 error = xfs_rmap_find_left_neighbor(cur, bno, owner, offset, flags, in xfs_rmap_map_shared()
2211 !xfs_rmap_is_mergeable(&ltrec, owner, flags)) in xfs_rmap_map_shared()
2215 error = xfs_rmap_lookup_eq(cur, bno + len, len, owner, offset + len, in xfs_rmap_map_shared()
2232 if (!xfs_rmap_is_mergeable(&gtrec, owner, flags)) in xfs_rmap_map_shared()
2316 error = xfs_rmap_insert(cur, bno, len, owner, offset, flags); in xfs_rmap_map_shared()
2547 uint64_t owner, in __xfs_rmap_add() argument
2557 owner, whichfork, in __xfs_rmap_add()
2565 ri->ri_owner = owner; in __xfs_rmap_add()
2643 uint64_t owner) in xfs_rmap_alloc_extent() argument
2655 __xfs_rmap_add(tp, XFS_RMAP_ALLOC, owner, XFS_DATA_FORK, &bmap); in xfs_rmap_alloc_extent()
2665 uint64_t owner) in xfs_rmap_free_extent() argument
2677 __xfs_rmap_add(tp, XFS_RMAP_FREE, owner, XFS_DATA_FORK, &bmap); in xfs_rmap_free_extent()