Home
last modified time | relevance | path

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

12

/fs/xfs/libxfs/
A Dxfs_rmap.c110 rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); in xfs_rmap_update()
206 irec->rm_blockcount = be32_to_cpu(rec->rmap.rm_blockcount); in xfs_rmap_btrec_to_irec()
1135 ltrec.rm_blockcount += gtrec.rm_blockcount; in xfs_rmap_map()
1462 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert()
1493 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert()
1532 NEW.rm_blockcount = len + RIGHT.rm_blockcount; in xfs_rmap_convert()
1891 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert_shared()
1918 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert_shared()
1945 NEW.rm_blockcount += RIGHT.rm_blockcount; in xfs_rmap_convert_shared()
2450 ltrec.rm_blockcount += gtrec.rm_blockcount; in xfs_rmap_map_shared()
[all …]
A Dxfs_ag.c419 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
426 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
433 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
441 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
449 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
461 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
A Dxfs_rtrmap_btree.c144 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rtrmapbt_init_high_key_from_rec()
164 rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); in xfs_rtrmapbt_init_rec_from_cur()
1001 .rm_blockcount = mp->m_sb.sb_rextsize, in xfs_rtrmapbt_init_rtsb()
A Dxfs_rmap_btree.c198 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rmapbt_init_high_key_from_rec()
218 rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); in xfs_rmapbt_init_rec_from_cur()
A Dxfs_types.h186 xfs_extlen_t rm_blockcount; /* extent length */ member
/fs/xfs/scrub/
A Drtrmap.c106 if (cr->overlap_rec.rm_blockcount == 0) in xchk_rtrmapbt_check_overlapping()
110 pnext = cr->overlap_rec.rm_startblock + cr->overlap_rec.rm_blockcount; in xchk_rtrmapbt_check_overlapping()
120 inext = irec->rm_startblock + irec->rm_blockcount; in xchk_rtrmapbt_check_overlapping()
137 if (cr->prev_rec.rm_blockcount == 0) in xchk_rtrmap_mergeable()
142 if (r1->rm_startblock + r1->rm_blockcount != r2->rm_startblock) in xchk_rtrmap_mergeable()
144 if ((unsigned long long)r1->rm_blockcount + r2->rm_blockcount > in xchk_rtrmap_mergeable()
149 return r1->rm_offset + r1->rm_blockcount == r2->rm_offset; in xchk_rtrmap_mergeable()
192 irec->rm_blockcount, &fbno, &flen, false); in xchk_rtrmapbt_xref_rtrefc()
210 irec->rm_blockcount); in xchk_rtrmapbt_xref()
213 irec->rm_blockcount); in xchk_rtrmapbt_xref()
A Drmap.c102 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 Dbmap_repair.c209 rec->rm_blockcount)) in xrep_bmap_check_fork_rmap()
224 rec->rm_blockcount, &outcome); in xrep_bmap_check_fork_rmap()
232 rec->rm_startblock, rec->rm_blockcount, &outcome); in xrep_bmap_check_fork_rmap()
266 rb->nblocks += rec->rm_blockcount; in xrep_bmap_walk_rmap()
283 rb->old_bmbt_block_count += rec->rm_blockcount; in xrep_bmap_walk_rmap()
285 rec->rm_blockcount); in xrep_bmap_walk_rmap()
289 rec->rm_blockcount, in xrep_bmap_walk_rmap()
397 rec->rm_blockcount)) in xrep_bmap_check_rtfork_rmap()
402 rec->rm_blockcount); in xrep_bmap_check_rtfork_rmap()
430 rb->nblocks += rec->rm_blockcount; in xrep_bmap_walk_rtrmap()
[all …]
A Drtrmap_repair.c137 rec->rm_blockcount); in xrep_rtrmap_check_mapping()
152 .rm_blockcount = blockcount, in xrep_rtrmap_stash()
210 if (rf->accum.rm_blockcount == 0) in xrep_rtrmap_stash_accumulated()
214 rf->accum.rm_blockcount, rf->accum.rm_owner, in xrep_rtrmap_stash_accumulated()
241 if (accum->rm_blockcount > 0 && in xrep_rtrmap_visit_bmbt()
242 rec->br_startoff == accum->rm_offset + accum->rm_blockcount && in xrep_rtrmap_visit_bmbt()
243 rgbno == accum->rm_startblock + accum->rm_blockcount && in xrep_rtrmap_visit_bmbt()
245 accum->rm_blockcount += rec->br_blockcount; in xrep_rtrmap_visit_bmbt()
255 accum->rm_blockcount = rec->br_blockcount; in xrep_rtrmap_visit_bmbt()
407 rec->rm_blockcount); in xrep_rtrmap_walk_rmap()
A Drefcount.c123 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 Drmap_repair.c201 rec->rm_blockcount, &outcome); in xrep_rmap_check_mapping()
222 .rm_blockcount = blockcount, in xrep_rmap_stash()
327 if (rf->accum.rm_blockcount == 0) in xrep_rmap_stash_accumulated()
331 rf->accum.rm_blockcount, rf->accum.rm_owner, in xrep_rmap_stash_accumulated()
360 if (accum->rm_blockcount > 0 && in xrep_rmap_visit_bmbt()
361 rec->br_startoff == accum->rm_offset + accum->rm_blockcount && in xrep_rmap_visit_bmbt()
362 agbno == accum->rm_startblock + accum->rm_blockcount && in xrep_rmap_visit_bmbt()
364 accum->rm_blockcount += rec->br_blockcount; in xrep_rmap_visit_bmbt()
374 accum->rm_blockcount = rec->br_blockcount; in xrep_rmap_visit_bmbt()
1492 rec->rm_startblock + rec->rm_blockcount); in xrep_rmap_find_gaps()
A Drtrefcount.c137 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_rtrefcountbt_rmap_check()
221 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_rtrefcountbt_process_rmap_fragments()
240 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_rtrefcountbt_process_rmap_fragments()
253 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_rtrefcountbt_process_rmap_fragments()
420 *next_bno = rec->rm_startblock + rec->rm_blockcount; in xchk_rtrefcountbt_rmap_check_gap()
A Dbmap.c225 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
235 rmap_end = (unsigned long long)rmap.rm_offset + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
293 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap_cow()
667 if (irec.br_blockcount > check_rec.rm_blockcount) in xchk_bmap_check_rmap()
674 check_rec.rm_blockcount -= irec.br_blockcount; in xchk_bmap_check_rmap()
675 if (check_rec.rm_blockcount == 0) in xchk_bmap_check_rmap()
A Dialloc_repair.c401 rec->rm_blockcount)) in xrep_ibt_record_old_btree_blocks()
405 rec->rm_blockcount); in xrep_ibt_record_old_btree_blocks()
420 rec->rm_blockcount); in xrep_ibt_record_inode_blocks()
431 cluster_base < rec->rm_blockcount; in xrep_ibt_record_inode_blocks()
A Drefcount_repair.c272 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 Drtrefcount_repair.c260 rmap->rm_blockcount); in xrep_rtrefc_walk_rmaps()
378 rec->rm_blockcount); in xrep_rtrefc_walk_rmap()
A Drepair.c686 for (b = 0; b < rec->rm_blockcount; b++) { in xrep_findroot_rmap()
1321 rec->rm_blockcount)) in xrep_check_ino_btree_mapping()
1326 rec->rm_blockcount, &outcome); in xrep_check_ino_btree_mapping()
A Dalloc_repair.c235 rec->rm_startblock, rec->rm_blockcount); in xrep_abt_walk_rmap()
257 rec->rm_startblock + rec->rm_blockcount); in xrep_abt_walk_rmap()
A Drcbag.c102 bagrec.rbg_blockcount = rmap->rm_blockcount; in rcbag_add()
A Drcbag_btree.c306 rec->rbg_blockcount = rmap->rm_blockcount; in rcbagbt_lookup_eq()
A Dinode_repair.c744 ri->attr_blocks += rec->rm_blockcount; in xrep_dinode_walk_rmap()
751 ri->data_blocks += rec->rm_blockcount; in xrep_dinode_walk_rmap()
799 ri->rt_blocks += rec->rm_blockcount; in xrep_dinode_walk_rtrmap()
A Drtbitmap_repair.c318 rec->rm_startblock + rec->rm_blockcount); in xrep_rtbitmap_walk_rtrmap()
/fs/xfs/
A Dxfs_fsmap.c263 if (info->low.rm_blockcount) { in xfs_getfsmap_frec_before_start()
417 rec->rm_startblock, rec->rm_blockcount, &frec); in xfs_getfsmap_rmapbt_helper()
505 if (info->low.rm_blockcount == 0) { in __xfs_getfsmap_datadev()
512 start_fsb += info->low.rm_blockcount; in __xfs_getfsmap_datadev()
517 info->low.rm_offset += info->low.rm_blockcount; in __xfs_getfsmap_datadev()
524 info->high.rm_blockcount = 0; in __xfs_getfsmap_datadev()
946 if (info->low.rm_blockcount == 0) { in xfs_getfsmap_rtdev_rmapbt()
953 start_rtb += info->low.rm_blockcount; in xfs_getfsmap_rtdev_rmapbt()
958 info->low.rm_offset += info->low.rm_blockcount; in xfs_getfsmap_rtdev_rmapbt()
965 info->high.rm_blockcount = 0; in xfs_getfsmap_rtdev_rmapbt()
[all …]
A Dxfs_zone_gc.c287 irec->rm_startblock + irec->rm_blockcount; in xfs_zone_gc_query_cb()
429 irec->rm_blockcount -= count_fsb; in xfs_zone_gc_iter_advance()
430 if (!irec->rm_blockcount) in xfs_zone_gc_iter_advance()
686 oz = xfs_zone_gc_alloc_blocks(data, &irec.rm_blockcount, &daddr, in xfs_zone_gc_start_chunk()
698 chunk->len = XFS_FSB_TO_B(mp, irec.rm_blockcount); in xfs_zone_gc_start_chunk()
718 xfs_zone_gc_iter_advance(iter, irec.rm_blockcount); in xfs_zone_gc_start_chunk()
A Dxfs_notify_failure.c64 end_rec = rec->rm_startblock + rec->rm_blockcount; in xfs_failure_pgcnt()

Completed in 57 milliseconds

12