Home
last modified time | relevance | path

Searched refs:rm_flags (Results 1 – 15 of 15) sorted by relevance

/linux/fs/xfs/scrub/
H A Dbmap_repair.c204 !(rec->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK))) in xrep_bmap_check_fork_rmap()
213 if (!(rec->rm_flags & XFS_RMAP_BMBT_BLOCK) && in xrep_bmap_check_fork_rmap()
218 if ((rec->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK)) && in xrep_bmap_check_fork_rmap()
219 (rec->rm_flags & XFS_RMAP_UNWRITTEN)) in xrep_bmap_check_fork_rmap()
270 (rec->rm_flags & XFS_RMAP_ATTR_FORK)) in xrep_bmap_walk_rmap()
273 !(rec->rm_flags & XFS_RMAP_ATTR_FORK)) in xrep_bmap_walk_rmap()
277 if ((rec->rm_flags & XFS_RMAP_UNWRITTEN) && !rb->allow_unwritten) in xrep_bmap_walk_rmap()
282 if (rec->rm_flags & XFS_RMAP_BMBT_BLOCK) { in xrep_bmap_walk_rmap()
290 rec->rm_flags & XFS_RMAP_UNWRITTEN); in xrep_bmap_walk_rmap()
380 if (rec->rm_flags & XFS_RMAP_ATTR_FORK) in xrep_bmap_check_rtfork_rmap()
[all …]
H A Drmap.c96 is_bmbt = irec->rm_flags & XFS_RMAP_BMBT_BLOCK; in xchk_rmapbt_xref_refc()
97 is_attr = irec->rm_flags & XFS_RMAP_ATTR_FORK; in xchk_rmapbt_xref_refc()
98 is_unwritten = irec->rm_flags & XFS_RMAP_UNWRITTEN; in xchk_rmapbt_xref_refc()
194 if (irec->rm_flags & (XFS_RMAP_BMBT_BLOCK | XFS_RMAP_ATTR_FORK | in xchk_rmapbt_is_shareable()
257 if (r1->rm_flags != r2->rm_flags) in xchk_rmap_mergeable()
259 if (r1->rm_flags & XFS_RMAP_BMBT_BLOCK) in xchk_rmap_mergeable()
H A Drtrmap_repair.c152 .rm_flags = flags, in xrep_rtrmap_stash()
212 rf->accum.rm_offset, rf->accum.rm_flags); in xrep_rtrmap_stash_accumulated()
241 rmap_flags == accum->rm_flags) { in xrep_rtrmap_visit_bmbt()
254 accum->rm_flags = rmap_flags; in xrep_rtrmap_visit_bmbt()
H A Drtrefcount_repair.c208 if (rmap->rm_flags & XFS_RMAP_UNWRITTEN) in xrep_rtrefc_rmap_shareable()
258 (rmap->rm_flags & (XFS_RMAP_ATTR_FORK | in xrep_rtrefc_walk_rmaps()
H A Drmap_repair.c222 .rm_flags = flags, in xrep_rmap_stash()
329 rf->accum.rm_offset, rf->accum.rm_flags); in xrep_rmap_stash_accumulated()
360 rmap_flags == accum->rm_flags) { in xrep_rmap_visit_bmbt()
373 accum->rm_flags = rmap_flags; in xrep_rmap_visit_bmbt()
H A Dinode_repair.c743 if (rec->rm_flags & XFS_RMAP_ATTR_FORK) { in xrep_dinode_walk_rmap()
745 if (!(rec->rm_flags & XFS_RMAP_BMBT_BLOCK)) in xrep_dinode_walk_rmap()
752 if (!(rec->rm_flags & XFS_RMAP_BMBT_BLOCK)) in xrep_dinode_walk_rmap()
796 if (rec->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK)) in xrep_dinode_walk_rtrmap()
H A Drefcount_repair.c216 if (rmap->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK | in xrep_refc_rmap_shareable()
H A Dtrace.h2104 __entry->flags = rec->rm_flags;
2255 __entry->flags = rec->rm_flags;
3870 __entry->flags = rec->rm_flags;
/linux/fs/xfs/libxfs/
H A Dxfs_rmap.h57 if (irec->rm_flags & XFS_RMAP_ATTR_FORK) in xfs_rmap_irec_offset_pack()
59 if (irec->rm_flags & XFS_RMAP_BMBT_BLOCK) in xfs_rmap_irec_offset_pack()
61 if (irec->rm_flags & XFS_RMAP_UNWRITTEN) in xfs_rmap_irec_offset_pack()
75 irec->rm_flags = 0; in xfs_rmap_irec_offset_unpack()
77 irec->rm_flags |= XFS_RMAP_ATTR_FORK; in xfs_rmap_irec_offset_unpack()
79 irec->rm_flags |= XFS_RMAP_BMBT_BLOCK; in xfs_rmap_irec_offset_unpack()
81 irec->rm_flags |= XFS_RMAP_UNWRITTEN; in xfs_rmap_irec_offset_unpack()
H A Dxfs_types.h189 unsigned int rm_flags; /* state flags */ member
/linux/fs/xfs/
H A Dxfs_fsmap.c267 .rm_flags = frec->rm_flags, in xfs_getfsmap_frec_before_start()
353 if (frec->rm_flags & XFS_RMAP_UNWRITTEN) in xfs_getfsmap_helper()
355 if (frec->rm_flags & XFS_RMAP_ATTR_FORK) in xfs_getfsmap_helper()
357 if (frec->rm_flags & XFS_RMAP_BMBT_BLOCK) in xfs_getfsmap_helper()
411 .rm_flags = rec->rm_flags, in xfs_getfsmap_rmapbt_helper()
443 irec->rm_flags = 0; in xfs_getfsmap_set_irec_flags()
445 irec->rm_flags |= XFS_RMAP_ATTR_FORK; in xfs_getfsmap_set_irec_flags()
447 irec->rm_flags |= XFS_RMAP_BMBT_BLOCK; in xfs_getfsmap_set_irec_flags()
449 irec->rm_flags |= XFS_RMAP_UNWRITTEN; in xfs_getfsmap_set_irec_flags()
459 if (r->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK | in rmap_not_shareable()
[all …]
H A Dxfs_fsmap.h37 unsigned int rm_flags; /* rmap state flags */ member
H A Dxfs_verify_media.c48 (rec->rm_flags & XFS_RMAP_ATTR_FORK); in xfs_verify_report_data_lost()
62 if (rec->rm_flags & XFS_RMAP_BMBT_BLOCK) { in xfs_verify_report_data_lost()
H A Dxfs_notify_failure.c88 (rec->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK))) { in xfs_dax_failure_fn()
H A Dxfs_zone_gc.c275 ASSERT(!(irec->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK))); in xfs_zone_gc_query_cb()