| /linux/fs/xfs/libxfs/ |
| A D | xfs_rmap.c | 108 rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); in xfs_rmap_update() 204 irec->rm_blockcount = be32_to_cpu(rec->rmap.rm_blockcount); in xfs_rmap_btrec_to_irec() 1064 ltrec.rm_blockcount += gtrec.rm_blockcount; in xfs_rmap_map() 1390 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert() 1421 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert() 1460 NEW.rm_blockcount = len + RIGHT.rm_blockcount; in xfs_rmap_convert() 1819 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert_shared() 1846 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert_shared() 1873 NEW.rm_blockcount += RIGHT.rm_blockcount; in xfs_rmap_convert_shared() 2378 ltrec.rm_blockcount += gtrec.rm_blockcount; in xfs_rmap_map_shared() [all …]
|
| A D | xfs_ag.c | 496 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 503 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init() 510 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init() 518 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init() 526 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init() 538 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
|
| A D | xfs_types.h | 182 xfs_extlen_t rm_blockcount; /* extent length */ member
|
| A D | xfs_rmap_btree.c | 197 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rmapbt_init_high_key_from_rec() 217 rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); in xfs_rmapbt_init_rec_from_cur()
|
| A D | xfs_format.h | 1528 __be32 rm_blockcount; /* extent length */ member
|
| /linux/fs/xfs/scrub/ |
| A D | rmap.c | 102 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc() 116 xfs_extlen_t len = irec->rm_blockcount; in xchk_rmapbt_xref() 128 irec->rm_blockcount); in xchk_rmapbt_xref() 213 if (cr->overlap_rec.rm_blockcount == 0) in xchk_rmapbt_check_overlapping() 227 inext = irec->rm_startblock + irec->rm_blockcount; in xchk_rmapbt_check_overlapping() 244 if (cr->prev_rec.rm_blockcount == 0) in xchk_rmap_mergeable() 249 if (r1->rm_startblock + r1->rm_blockcount != r2->rm_startblock) in xchk_rmap_mergeable() 251 if ((unsigned long long)r1->rm_blockcount + r2->rm_blockcount > in xchk_rmap_mergeable() 261 return r1->rm_offset + r1->rm_blockcount == r2->rm_offset; in xchk_rmap_mergeable() 289 xfs_extlen_t fsbcount = irec->rm_blockcount; in xchk_rmapbt_mark_bitmap() [all …]
|
| A D | bmap_repair.c | 200 rec->rm_blockcount)) in xrep_bmap_check_fork_rmap() 205 !xfs_verify_fileext(sc->mp, rec->rm_offset, rec->rm_blockcount)) in xrep_bmap_check_fork_rmap() 215 rec->rm_blockcount, &outcome); in xrep_bmap_check_fork_rmap() 223 rec->rm_startblock, rec->rm_blockcount, &outcome); in xrep_bmap_check_fork_rmap() 258 rb->nblocks += rec->rm_blockcount; in xrep_bmap_walk_rmap() 276 rb->old_bmbt_block_count += rec->rm_blockcount; in xrep_bmap_walk_rmap() 278 rec->rm_blockcount); in xrep_bmap_walk_rmap() 282 rec->rm_blockcount, in xrep_bmap_walk_rmap()
|
| A D | refcount.c | 123 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check() 207 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 226 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 239 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 370 *next_bno = rec->rm_startblock + rec->rm_blockcount; in xchk_refcountbt_rmap_check_gap()
|
| A D | rmap_repair.c | 198 rec->rm_blockcount, &outcome); in xrep_rmap_check_mapping() 219 .rm_blockcount = blockcount, in xrep_rmap_stash() 324 if (rf->accum.rm_blockcount == 0) in xrep_rmap_stash_accumulated() 328 rf->accum.rm_blockcount, rf->accum.rm_owner, in xrep_rmap_stash_accumulated() 357 if (accum->rm_blockcount > 0 && in xrep_rmap_visit_bmbt() 358 rec->br_startoff == accum->rm_offset + accum->rm_blockcount && in xrep_rmap_visit_bmbt() 359 agbno == accum->rm_startblock + accum->rm_blockcount && in xrep_rmap_visit_bmbt() 361 accum->rm_blockcount += rec->br_blockcount; in xrep_rmap_visit_bmbt() 371 accum->rm_blockcount = rec->br_blockcount; in xrep_rmap_visit_bmbt() 1426 rec->rm_startblock + rec->rm_blockcount); in xrep_rmap_find_gaps()
|
| A D | ialloc_repair.c | 403 rec->rm_blockcount)) in xrep_ibt_record_old_btree_blocks() 407 rec->rm_blockcount); in xrep_ibt_record_old_btree_blocks() 422 rec->rm_blockcount); in xrep_ibt_record_inode_blocks() 427 rec->rm_startblock, rec->rm_blockcount, rec->rm_owner, in xrep_ibt_record_inode_blocks() 435 cluster_base < rec->rm_blockcount; in xrep_ibt_record_inode_blocks()
|
| A D | bmap.c | 215 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap() 225 rmap_end = (unsigned long long)rmap.rm_offset + rmap.rm_blockcount; in xchk_bmap_xref_rmap() 283 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap_cow() 608 if (irec.br_blockcount > check_rec.rm_blockcount) in xchk_bmap_check_rmap() 615 check_rec.rm_blockcount -= irec.br_blockcount; in xchk_bmap_check_rmap() 616 if (check_rec.rm_blockcount == 0) in xchk_bmap_check_rmap()
|
| A D | refcount_repair.c | 272 rmap->rm_blockcount); in xrep_refc_walk_rmaps() 277 rr->btblocks += rmap->rm_blockcount; in xrep_refc_walk_rmaps() 280 rmap->rm_blockcount); in xrep_refc_walk_rmaps()
|
| A D | rcbag.c | 102 bagrec.rbg_blockcount = rmap->rm_blockcount; in rcbag_add()
|
| A D | alloc_repair.c | 236 rec->rm_startblock, rec->rm_blockcount); in xrep_abt_walk_rmap() 258 rec->rm_startblock + rec->rm_blockcount); in xrep_abt_walk_rmap()
|
| A D | rcbag_btree.c | 324 rec->rbg_blockcount = rmap->rm_blockcount; in rcbagbt_lookup_eq()
|
| A D | cow_repair.c | 212 rec_len = rec->rm_blockcount; in xrep_cow_mark_missing_staging_rmap()
|
| A D | inode_repair.c | 724 ri->attr_blocks += rec->rm_blockcount; in xrep_dinode_walk_rmap() 731 ri->data_blocks += rec->rm_blockcount; in xrep_dinode_walk_rmap()
|
| A D | common.c | 382 (*sroi->blocks) += rec->rm_blockcount; in xchk_count_rmap_ownedby_irec()
|
| A D | repair.c | 643 for (b = 0; b < rec->rm_blockcount; b++) { in xrep_findroot_rmap()
|
| A D | agheader_repair.c | 480 rec->rm_blockcount); in xrep_agfl_walk_rmap()
|
| A D | trace.h | 2157 __entry->len = rec->rm_blockcount;
|
| /linux/fs/xfs/ |
| A D | xfs_fsmap.c | 227 rec->rm_blockcount, &fbno, &flen, false); in xfs_getfsmap_is_shared() 259 if (info->low.rm_blockcount) in xfs_getfsmap_rec_before_start() 286 len_daddr = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 421 irec.rm_blockcount = rec->ar_blockcount; in xfs_getfsmap_datadev_bnobt_helper() 498 if (info->low.rm_blockcount == 0) { in __xfs_getfsmap_datadev() 505 start_fsb += info->low.rm_blockcount; in __xfs_getfsmap_datadev() 510 info->low.rm_offset += info->low.rm_blockcount; in __xfs_getfsmap_datadev() 517 info->high.rm_blockcount = 0; in __xfs_getfsmap_datadev() 700 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev() 730 irec.rm_blockcount = rtbno; in xfs_getfsmap_rtdev_rtbitmap_helper() [all …]
|
| A D | xfs_notify_failure.c | 61 end_rec = rec->rm_startblock + rec->rm_blockcount; in xfs_failure_pgcnt()
|
| A D | xfs_trace.h | 3860 __entry->len = rmap->rm_blockcount;
|
| /linux/Documentation/filesystems/xfs/ |
| A D | xfs-online-fsck-design.rst | 1019 xfs_extlen_t rm_blockcount; /* extent length */
|