/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_rmap.c | 47 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() 220 if (irec->rm_blockcount == 0) in xfs_rmap_check_irec() 225 if (irec->rm_blockcount ! in xfs_rmap_check_irec() [all...] |
H A D | xfs_ag.c | 579 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 586 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init() 593 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init() 601 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init() 609 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init() 621 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
|
H A D | xfs_types.h | 193 xfs_extlen_t rm_blockcount; /* extent length */ member
|
H A D | xfs_rmap_btree.c | 194 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rmapbt_init_high_key_from_rec() 214 rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); in xfs_rmapbt_init_rec_from_cur()
|
H A D | xfs_format.h | 1529 __be32 rm_blockcount; /* extent length */ member
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_rmap.c | 40 cur->bc_rec.r.rm_blockcount = len; in xfs_rmap_lookup_le() 62 cur->bc_rec.r.rm_blockcount = len; in xfs_rmap_lookup_eq() 83 irec->rm_startblock, irec->rm_blockcount, in xfs_rmap_update() 87 rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); in xfs_rmap_update() 122 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert() 184 irec->rm_blockcount = be32_to_cpu(rec->rmap.rm_blockcount); in xfs_rmap_btrec_to_irec() 211 if (irec->rm_blockcount == 0) in xfs_rmap_get_rec() 216 if (irec->rm_blockcount ! in xfs_rmap_get_rec() [all...] |
H A D | xfs_ag.c | 171 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 178 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init() 185 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init() 193 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init() 201 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init() 213 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
|
H A D | xfs_rmap_btree.c | 187 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rmapbt_init_high_key_from_rec() 207 rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); in xfs_rmapbt_init_rec_from_cur()
|
H A D | xfs_format.h | 1616 __be32 rm_blockcount; /* extent length */ member 1662 xfs_extlen_t rm_blockcount; /* extent length */ member
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | rmap.c | 92 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc() 106 xfs_extlen_t len = irec->rm_blockcount; in xchk_rmapbt_xref() 118 irec->rm_blockcount); in xchk_rmapbt_xref() 203 if (cr->overlap_rec.rm_blockcount == 0) in xchk_rmapbt_check_overlapping() 207 pnext = cr->overlap_rec.rm_startblock + cr->overlap_rec.rm_blockcount; in xchk_rmapbt_check_overlapping() 217 inext = irec->rm_startblock + irec->rm_blockcount; in xchk_rmapbt_check_overlapping() 234 if (cr->prev_rec.rm_blockcount == 0) in xchk_rmap_mergeable() 239 if (r1->rm_startblock + r1->rm_blockcount != r2->rm_startblock) in xchk_rmap_mergeable() 241 if ((unsigned long long)r1->rm_blockcount + r2->rm_blockcount > in xchk_rmap_mergeable() [all...] |
H A D | refcount.c | 111 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check() 195 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 214 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 227 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 358 *next_bno = rec->rm_startblock + rec->rm_blockcount; in xchk_refcountbt_rmap_check_gap()
|
H A D | bmap.c | 191 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap() 201 rmap_end = (unsigned long long)rmap.rm_offset + rmap.rm_blockcount; in xchk_bmap_xref_rmap() 259 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap_cow() 584 if (irec.br_blockcount > check_rec.rm_blockcount) in xchk_bmap_check_rmap() 591 check_rec.rm_blockcount -= irec.br_blockcount; in xchk_bmap_check_rmap() 592 if (check_rec.rm_blockcount == 0) in xchk_bmap_check_rmap()
|
H A D | repair.c | 623 for (b = 0; b < rec->rm_blockcount; b++) { in xrep_findroot_rmap()
|
H A D | common.c | 345 (*sroi->blocks) += rec->rm_blockcount; in xchk_count_rmap_ownedby_irec()
|
H A D | agheader_repair.c | 486 rec->rm_blockcount); in xrep_agfl_walk_rmap()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | rmap.c | 56 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()
|
H A D | bmap.c | 189 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap() 202 rmap.rm_blockcount; in xchk_bmap_xref_rmap() 527 if (irec.br_blockcount > rec->rm_blockcount) in xchk_bmap_check_rmap() 534 rec->rm_blockcount -= irec.br_blockcount; in xchk_bmap_check_rmap() 535 if (rec->rm_blockcount == 0) in xchk_bmap_check_rmap()
|
H A D | refcount.c | 106 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()
|
H A D | common.c | 339 (*sroi->blocks) += rec->rm_blockcount; in xchk_count_rmap_ownedby_irec()
|
H A D | repair.c | 845 for (b = 0; b < rec->rm_blockcount; b++) { in xrep_findroot_rmap()
|
H A D | agheader_repair.c | 458 error = xbitmap_set(ra->freesp, fsb, rec->rm_blockcount); in xrep_agfl_walk_rmap()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_fsmap.c | 216 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() 322 fmr.fmr_length = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 339 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 379 irec.rm_blockcount = rec->ar_blockcount; in xfs_getfsmap_datadev_bnobt_helper() 419 info->low.rm_blockcount = 0; in xfs_getfsmap_logdev() 428 info->high.rm_blockcount = 0; in xfs_getfsmap_logdev() 440 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev() 463 irec.rm_blockcount in xfs_getfsmap_rtdev_rtbitmap_helper() [all...] |
H A D | xfs_trace.h | 3316 __entry->len = rmap->rm_blockcount;
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_fsmap.c | 168 * Low rmap key for the query. If low.rm_blockcount is nonzero, this 225 rec->rm_blockcount, &fbno, &flen, false); in xfs_getfsmap_is_shared() 257 if (info->low.rm_blockcount) in xfs_getfsmap_rec_before_start() 265 * length could be larger than rm_blockcount in struct xfs_rmap_irec. 284 len_daddr = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 407 irec.rm_blockcount = rec->ar_blockcount; in xfs_getfsmap_datadev_bnobt_helper() 462 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev() 468 len_daddr = XFS_FSB_TO_BB(mp, rmap.rm_blockcount); in xfs_getfsmap_logdev() 492 irec.rm_blockcount = rtbno; in xfs_getfsmap_rtdev_rtbitmap_helper() 618 info->low.rm_blockcount in __xfs_getfsmap_datadev() [all...] |
H A D | xfs_notify_failure.c | 60 end_rec = rec->rm_startblock + rec->rm_blockcount; in xfs_failure_pgcnt()
|