Home
last modified time | relevance | path

Searched refs:rm_owner (Results 1 – 14 of 14) sorted by relevance

/fs/xfs/libxfs/
Dxfs_rmap.c41 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_le()
63 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_eq()
84 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
88 rec.rmap.rm_owner = cpu_to_be64(irec->rm_owner); in xfs_rmap_update()
123 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert()
185 irec->rm_owner = be64_to_cpu(rec->rmap.rm_owner); in xfs_rmap_btrec_to_irec()
214 if (irec->rm_owner != XFS_RMAP_OWN_FS) in xfs_rmap_get_rec()
230 if (!(xfs_verify_ino(mp, irec->rm_owner) || in xfs_rmap_get_rec()
231 (irec->rm_owner <= XFS_RMAP_OWN_FS && in xfs_rmap_get_rec()
232 irec->rm_owner >= XFS_RMAP_OWN_MIN))) in xfs_rmap_get_rec()
[all …]
Dxfs_rmap_btree.c168 key->rmap.rm_owner = rec->rmap.rm_owner; in xfs_rmapbt_init_key_from_rec()
191 key->rmap.rm_owner = rec->rmap.rm_owner; in xfs_rmapbt_init_high_key_from_rec()
193 if (XFS_RMAP_NON_INODE_OWNER(be64_to_cpu(rec->rmap.rm_owner)) || in xfs_rmapbt_init_high_key_from_rec()
208 rec->rmap.rm_owner = cpu_to_be64(cur->bc_rec.r.rm_owner); in xfs_rmapbt_init_rec_from_cur()
239 x = be64_to_cpu(kp->rm_owner); in xfs_rmapbt_key_diff()
240 y = rec->rm_owner; in xfs_rmapbt_key_diff()
271 x = be64_to_cpu(kp1->rm_owner); in xfs_rmapbt_diff_two_keys()
272 y = be64_to_cpu(kp2->rm_owner); in xfs_rmapbt_diff_two_keys()
387 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
388 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
[all …]
Dxfs_ag.c172 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_FS); in xfs_rmaproot_init()
179 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
187 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_INOBT); in xfs_rmaproot_init()
194 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
202 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_REFC); in xfs_rmaproot_init()
214 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_LOG); in xfs_rmaproot_init()
Dxfs_attr_remote.c82 if (ino != be64_to_cpu(rmt->rm_owner)) in xfs_attr3_rmt_hdr_ok()
110 if (rmt->rm_owner == 0) in xfs_attr3_rmt_verify()
256 rmt->rm_owner = cpu_to_be64(ino); in xfs_attr3_rmt_hdr_set()
Dxfs_format.h1617 __be64 rm_owner; /* extent owner */ member
1663 uint64_t rm_owner; /* extent owner */ member
1675 __be64 rm_owner; /* extent owner */ member
Dxfs_da_format.h784 __be64 rm_owner; member
/fs/xfs/scrub/
Drmap.c49 non_inode = XFS_RMAP_NON_INODE_OWNER(irec->rm_owner); in xchk_rmapbt_xref_refc()
76 if (irec->rm_owner == XFS_RMAP_OWN_INODES) in xchk_rmapbt_xref()
80 if (irec->rm_owner == XFS_RMAP_OWN_COW) in xchk_rmapbt_xref()
110 if (irec.rm_owner == XFS_RMAP_OWN_FS) { in xchk_rmapbt_rec()
131 non_inode = XFS_RMAP_NON_INODE_OWNER(irec.rm_owner); in xchk_rmapbt_rec()
149 if (!xfs_verify_ino(mp, irec.rm_owner)) in xchk_rmapbt_rec()
153 if (irec.rm_owner <= XFS_RMAP_OWN_MIN || in xchk_rmapbt_rec()
154 irec.rm_owner > XFS_RMAP_OWN_FS) in xchk_rmapbt_rec()
Drepair.c841 if (!XFS_RMAP_NON_INODE_OWNER(rec->rm_owner)) in xrep_findroot_rmap()
848 if (rec->rm_owner != fab->rmap_owner) in xrep_findroot_rmap()
851 rec->rm_owner, rec->rm_startblock + b, in xrep_findroot_rmap()
Dcommon.c335 if (rec->rm_owner != sroi->oinfo->oi_owner) in xchk_count_rmap_ownedby_irec()
338 if (XFS_RMAP_NON_INODE_OWNER(rec->rm_owner) || irec_attr == oinfo_attr) in xchk_count_rmap_ownedby_irec()
Dbmap.c209 if (rmap.rm_owner != owner) in xchk_bmap_xref_rmap()
492 if (rec->rm_owner != sc->ip->i_ino) in xchk_bmap_check_rmap()
Drefcount.c110 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
Dagheader_repair.c455 if (rec->rm_owner == XFS_RMAP_OWN_AG) { in xrep_agfl_walk_rmap()
/fs/xfs/
Dxfs_fsmap.c66 dest->rm_owner = src->fmr_owner; in xfs_fsmap_owner_to_rmap()
73 dest->rm_owner = 0; in xfs_fsmap_owner_to_rmap()
76 dest->rm_owner = XFS_RMAP_OWN_NULL; in xfs_fsmap_owner_to_rmap()
79 dest->rm_owner = XFS_RMAP_OWN_UNKNOWN; in xfs_fsmap_owner_to_rmap()
82 dest->rm_owner = XFS_RMAP_OWN_FS; in xfs_fsmap_owner_to_rmap()
85 dest->rm_owner = XFS_RMAP_OWN_LOG; in xfs_fsmap_owner_to_rmap()
88 dest->rm_owner = XFS_RMAP_OWN_AG; in xfs_fsmap_owner_to_rmap()
91 dest->rm_owner = XFS_RMAP_OWN_INOBT; in xfs_fsmap_owner_to_rmap()
94 dest->rm_owner = XFS_RMAP_OWN_INODES; in xfs_fsmap_owner_to_rmap()
97 dest->rm_owner = XFS_RMAP_OWN_REFC; in xfs_fsmap_owner_to_rmap()
[all …]
Dxfs_trace.h3317 __entry->owner = rmap->rm_owner;