Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_rmap.c47 cur->bc_rec.r.rm_blockcount = len; in xfs_rmap_lookup_le()
69 cur->bc_rec.r.rm_blockcount = len; in xfs_rmap_lookup_eq()
90 irec->rm_startblock, irec->rm_blockcount, in xfs_rmap_update()
94 rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); in xfs_rmap_update()
126 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert()
180 irec->rm_blockcount = be32_to_cpu(rec->rmap.rm_blockcount); in xfs_rmap_btrec_to_irec()
207 if (irec->rm_blockcount == 0) in xfs_rmap_get_rec()
212 if (irec->rm_blockcount != XFS_AGFL_BLOCK(mp) + 1) in xfs_rmap_get_rec()
219 irec->rm_startblock + irec->rm_blockcount) in xfs_rmap_get_rec()
222 irec->rm_startblock + irec->rm_blockcount - 1)) in xfs_rmap_get_rec()
[all …]
Dxfs_ag.c115 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
122 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
129 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
137 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
145 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
Dxfs_rmap_btree.c191 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rmapbt_init_high_key_from_rec()
211 rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); in xfs_rmapbt_init_rec_from_cur()
Dxfs_format.h1378 __be32 rm_blockcount; /* extent length */ member
1424 xfs_extlen_t rm_blockcount; /* extent length */ member
/linux-4.19.296/fs/xfs/scrub/
Drmap.c65 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc()
79 xfs_extlen_t len = irec->rm_blockcount; in xchk_rmapbt_xref()
91 irec->rm_blockcount); in xchk_rmapbt_xref()
116 if (irec.rm_startblock + irec.rm_blockcount <= irec.rm_startblock) in xchk_rmapbt_rec()
126 irec.rm_blockcount != XFS_AGFL_BLOCK(mp) + 1) in xchk_rmapbt_rec()
135 irec.rm_blockcount - 1)) in xchk_rmapbt_rec()
Drefcount.c116 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check()
200 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
219 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
232 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
Dbmap.c196 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
209 rmap.rm_blockcount; in xchk_bmap_xref_rmap()
486 if (irec.br_blockcount > rec->rm_blockcount) in xchk_bmap_check_rmap()
493 rec->rm_blockcount -= irec.br_blockcount; in xchk_bmap_check_rmap()
494 if (rec->rm_blockcount == 0) in xchk_bmap_check_rmap()
Dcommon.c337 (*sroi->blocks) += rec->rm_blockcount; in xchk_count_rmap_ownedby_irec()
Drepair.c779 for (b = 0; b < rec->rm_blockcount; b++) { in xrep_findroot_rmap()
Dagheader_repair.c467 error = xfs_bitmap_set(ra->freesp, fsb, rec->rm_blockcount); in xrep_agfl_walk_rmap()
/linux-4.19.296/fs/xfs/
Dxfs_fsmap.c220 rec->rm_blockcount, &fbno, &flen, false); in xfs_getfsmap_is_shared()
254 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
273 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
315 fmr.fmr_length = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
335 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
375 irec.rm_blockcount = rec->ar_blockcount; in xfs_getfsmap_datadev_bnobt_helper()
415 info->low.rm_blockcount = 0; in xfs_getfsmap_logdev()
424 info->high.rm_blockcount = 0; in xfs_getfsmap_logdev()
436 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
459 irec.rm_blockcount = rec->ar_extcount * mp->m_sb.sb_rextsize; in xfs_getfsmap_rtdev_rtbitmap_helper()
[all …]
Dxfs_trace.h3223 __entry->len = rmap->rm_blockcount;