Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_rmap.c48 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_le()
81 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_eq()
102 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
106 rec.rmap.rm_owner = cpu_to_be64(irec->rm_owner); in xfs_rmap_update()
141 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert()
203 irec->rm_owner = be64_to_cpu(rec->rmap.rm_owner); in xfs_rmap_btrec_to_irec()
223 if (irec->rm_owner != XFS_RMAP_OWN_FS) in xfs_rmap_check_irec()
234 if (!(xfs_verify_ino(mp, irec->rm_owner) || in xfs_rmap_check_irec()
235 (irec->rm_owner <= XFS_RMAP_OWN_FS && in xfs_rmap_check_irec()
236 irec->rm_owner >= XFS_RMAP_OWN_MIN))) in xfs_rmap_check_irec()
[all …]
H A Dxfs_rmap_btree.c175 key->rmap.rm_owner = rec->rmap.rm_owner; in xfs_rmapbt_init_key_from_rec()
198 key->rmap.rm_owner = rec->rmap.rm_owner; in xfs_rmapbt_init_high_key_from_rec()
200 if (XFS_RMAP_NON_INODE_OWNER(be64_to_cpu(rec->rmap.rm_owner)) || in xfs_rmapbt_init_high_key_from_rec()
215 rec->rmap.rm_owner = cpu_to_be64(cur->bc_rec.r.rm_owner); in xfs_rmapbt_init_rec_from_cur()
256 x = be64_to_cpu(kp->rm_owner); in xfs_rmapbt_key_diff()
257 y = rec->rm_owner; in xfs_rmapbt_key_diff()
292 if (!mask || mask->rmap.rm_owner) { in xfs_rmapbt_diff_two_keys()
293 x = be64_to_cpu(kp1->rm_owner); in xfs_rmapbt_diff_two_keys()
294 y = be64_to_cpu(kp2->rm_owner); in xfs_rmapbt_diff_two_keys()
303 ASSERT(!mask || mask->rmap.rm_owner); in xfs_rmapbt_diff_two_keys()
[all …]
H A Dxfs_ag.c600 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_FS); in xfs_rmaproot_init()
607 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
615 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_INOBT); in xfs_rmaproot_init()
622 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
630 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_REFC); in xfs_rmaproot_init()
642 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_LOG); in xfs_rmaproot_init()
H A 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()
H A Dxfs_types.h195 uint64_t rm_owner; /* extent owner */ member
H A Dxfs_da_format.h847 __be64 rm_owner; member
H A Dxfs_format.h1530 __be64 rm_owner; /* extent owner */ member
1574 __be64 rm_owner; /* extent owner */ member
/openbmc/linux/fs/xfs/
H A Dxfs_fsmap.c67 dest->rm_owner = src->fmr_owner; in xfs_fsmap_owner_to_rmap()
74 dest->rm_owner = src->fmr_owner; in xfs_fsmap_owner_to_rmap()
77 dest->rm_owner = XFS_RMAP_OWN_NULL; in xfs_fsmap_owner_to_rmap()
80 dest->rm_owner = XFS_RMAP_OWN_UNKNOWN; in xfs_fsmap_owner_to_rmap()
83 dest->rm_owner = XFS_RMAP_OWN_FS; in xfs_fsmap_owner_to_rmap()
86 dest->rm_owner = XFS_RMAP_OWN_LOG; in xfs_fsmap_owner_to_rmap()
89 dest->rm_owner = XFS_RMAP_OWN_AG; in xfs_fsmap_owner_to_rmap()
92 dest->rm_owner = XFS_RMAP_OWN_INOBT; in xfs_fsmap_owner_to_rmap()
95 dest->rm_owner = XFS_RMAP_OWN_INODES; in xfs_fsmap_owner_to_rmap()
98 dest->rm_owner = XFS_RMAP_OWN_REFC; in xfs_fsmap_owner_to_rmap()
[all …]
H A Dxfs_notify_failure.c78 if (XFS_RMAP_NON_INODE_OWNER(rec->rm_owner) || in xfs_dax_failure_fn()
85 error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, XFS_IGET_INCORE, in xfs_dax_failure_fn()
H A Dxfs_trace.h3593 __entry->owner = rmap->rm_owner;
/openbmc/linux/fs/xfs/scrub/
H A Drmap.c85 non_inode = XFS_RMAP_NON_INODE_OWNER(irec->rm_owner); in xchk_rmapbt_xref_refc()
112 if (irec->rm_owner == XFS_RMAP_OWN_INODES) in xchk_rmapbt_xref()
116 if (irec->rm_owner == XFS_RMAP_OWN_COW) in xchk_rmapbt_xref()
182 if (XFS_RMAP_NON_INODE_OWNER(irec->rm_owner)) in xchk_rmapbt_is_shareable()
237 if (r1->rm_owner != r2->rm_owner) in xchk_rmap_mergeable()
244 if (XFS_RMAP_NON_INODE_OWNER(r2->rm_owner)) in xchk_rmap_mergeable()
296 switch (irec->rm_owner) { in xchk_rmapbt_mark_bitmap()
H A Drepair.c619 if (!XFS_RMAP_NON_INODE_OWNER(rec->rm_owner)) in xrep_findroot_rmap()
626 if (rec->rm_owner != fab->rmap_owner) in xrep_findroot_rmap()
629 rec->rm_owner, rec->rm_startblock + b, in xrep_findroot_rmap()
H A Dbmap.c207 if (rmap.rm_owner != owner) in xchk_bmap_xref_rmap()
265 if (rmap.rm_owner != owner) in xchk_bmap_xref_rmap_cow()
547 if (rec->rm_owner != sc->ip->i_ino) in xchk_bmap_check_rmap()
H A Dcommon.c341 if (rec->rm_owner != sroi->oinfo->oi_owner) in xchk_count_rmap_ownedby_irec()
344 if (XFS_RMAP_NON_INODE_OWNER(rec->rm_owner) || irec_attr == oinfo_attr) in xchk_count_rmap_ownedby_irec()
H A Drefcount.c115 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
H A Dagheader_repair.c484 if (rec->rm_owner == XFS_RMAP_OWN_AG) { in xrep_agfl_walk_rmap()
/openbmc/linux/Documentation/filesystems/
H A Dxfs-online-fsck-design.rst1020 uint64_t rm_owner; /* extent owner */