Home
last modified time | relevance | path

Searched refs:rm_blockcount (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/fs/xfs/libxfs/
Dxfs_rmap.c47 cur->bc_rec.r.rm_blockcount = 0; in xfs_rmap_lookup_le()
80 cur->bc_rec.r.rm_blockcount = len; in xfs_rmap_lookup_eq()
101 irec->rm_startblock, irec->rm_blockcount, in xfs_rmap_update()
105 rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); in xfs_rmap_update()
140 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert()
202 irec->rm_blockcount = be32_to_cpu(rec->rmap.rm_blockcount); in xfs_rmap_btrec_to_irec()
229 if (irec->rm_blockcount == 0) in xfs_rmap_get_rec()
234 if (irec->rm_blockcount != XFS_AGFL_BLOCK(mp) + 1) in xfs_rmap_get_rec()
241 irec->rm_startblock + irec->rm_blockcount) in xfs_rmap_get_rec()
244 irec->rm_startblock + irec->rm_blockcount - 1)) in xfs_rmap_get_rec()
[all …]
Dxfs_ag.c445 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
452 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
459 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
467 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
475 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
487 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
Dxfs_rmap_btree.c184 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rmapbt_init_high_key_from_rec()
204 rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); in xfs_rmapbt_init_rec_from_cur()
Dxfs_format.h1529 __be32 rm_blockcount; /* extent length */ member
1575 xfs_extlen_t rm_blockcount; /* extent length */ member
/linux-5.19.10/fs/xfs/scrub/
Drmap.c56 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc()
70 xfs_extlen_t len = irec->rm_blockcount; in xchk_rmapbt_xref()
82 irec->rm_blockcount); in xchk_rmapbt_xref()
107 if (irec.rm_startblock + irec.rm_blockcount <= irec.rm_startblock) in xchk_rmapbt_rec()
117 irec.rm_blockcount != XFS_AGFL_BLOCK(mp) + 1) in xchk_rmapbt_rec()
126 irec.rm_blockcount - 1)) in xchk_rmapbt_rec()
Drefcount.c106 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check()
190 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
209 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
222 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
Dbmap.c173 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
186 rmap.rm_blockcount; in xchk_bmap_xref_rmap()
509 if (irec.br_blockcount > check_rec.rm_blockcount) in xchk_bmap_check_rmap()
516 check_rec.rm_blockcount -= irec.br_blockcount; in xchk_bmap_check_rmap()
517 if (check_rec.rm_blockcount == 0) in xchk_bmap_check_rmap()
Dcommon.c343 (*sroi->blocks) += rec->rm_blockcount; in xchk_count_rmap_ownedby_irec()
Drepair.c851 for (b = 0; b < rec->rm_blockcount; b++) { in xrep_findroot_rmap()
Dagheader_repair.c476 error = xbitmap_set(ra->freesp, fsb, rec->rm_blockcount); in xrep_agfl_walk_rmap()
/linux-5.19.10/fs/xfs/
Dxfs_fsmap.c216 rec->rm_blockcount, &fbno, &flen, false); in xfs_getfsmap_is_shared()
264 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
283 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
323 fmr.fmr_length = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
340 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
380 irec.rm_blockcount = rec->ar_blockcount; in xfs_getfsmap_datadev_bnobt_helper()
420 info->low.rm_blockcount = 0; in xfs_getfsmap_logdev()
429 info->high.rm_blockcount = 0; in xfs_getfsmap_logdev()
441 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
464 irec.rm_blockcount = rec->ar_extcount * mp->m_sb.sb_rextsize; in xfs_getfsmap_rtdev_rtbitmap_helper()
[all …]
Dxfs_trace.h3446 __entry->len = rmap->rm_blockcount;