Home
last modified time | relevance | path

Searched refs:br_blockcount (Results 1 – 23 of 23) sorted by relevance

/linux/fs/xfs/scrub/
H A Dcow_repair.c131 xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_trim_refcount()
133 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_trim_refcount()
223 if (rec_bno + rec_len > xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_mark_missing_staging_rmap()
225 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_mark_missing_staging_rmap()
263 rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1; in xrep_cow_find_bad()
272 rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1; in xrep_cow_find_bad()
280 if (xc->next_bno < xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_find_bad()
283 xc->irec_startbno + xc->irec.br_blockcount - in xrep_cow_find_bad()
292 rm_high.rm_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1; in xrep_cow_find_bad()
305 xc->irec.br_blockcount); in xrep_cow_find_bad()
[all …]
H A Dbmap_repair.c160 irec.br_blockcount = min_t(xfs_filblks_t, blockcount, in xrep_bmap_from_rmap()
180 irec.br_startblock += irec.br_blockcount; in xrep_bmap_from_rmap()
181 irec.br_startoff += irec.br_blockcount; in xrep_bmap_from_rmap()
182 blockcount -= irec.br_blockcount; in xrep_bmap_from_rmap()
347 next_off = irec.br_startoff + irec.br_blockcount; in xrep_bmap_sort_records()
H A Ddir.c844 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
852 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
863 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks()
909 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
916 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
H A Dattr_repair.c900 offset = got.br_startoff + got.br_blockcount) { in xrep_xattr_recover()
912 dabno < got.br_startoff + got.br_blockcount; in xrep_xattr_recover()
921 got.br_blockcount - curr_offset); in xrep_xattr_recover()
990 irec.br_startblock, irec.br_blockcount, in xrep_xattr_fork_remove()
H A Drtbitmap.c183 off += map.br_blockcount; in xchk_rtbitmap_check_extents()
H A Drtrmap_repair.c242 accum->rm_blockcount += rec->br_blockcount; in xrep_rtrmap_visit_bmbt()
252 accum->rm_blockcount = rec->br_blockcount; in xrep_rtrmap_visit_bmbt()
H A Drtsummary.c270 off += map.br_blockcount; in xchk_rtsum_compare()
H A Dquota.c290 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork()
H A Drmap_repair.c361 accum->rm_blockcount += rec->br_blockcount; in xrep_rmap_visit_bmbt()
371 accum->rm_blockcount = rec->br_blockcount; in xrep_rmap_visit_bmbt()
H A Ddir_repair.c973 offset = got.br_startoff + got.br_blockcount) { in xrep_dir_recover()
985 dabno < got.br_startoff + got.br_blockcount; in xrep_dir_recover()
H A Dtrace.h488 __entry->blockcount = cursor->bmap.br_blockcount;
2214 __entry->len = irec->br_blockcount;
2693 __entry->blockcount = irec->br_blockcount;
2856 __entry->len = irec->br_blockcount;
2896 __entry->len = irec->br_blockcount;
2925 __entry->len = irec->br_blockcount;
H A Dinode_repair.c1867 off = got.br_startoff + got.br_blockcount; in xrep_inode_blockdir_size()
/linux/fs/xfs/
H A Dxfs_zone_alloc.c242 error = xfs_bmapi_read(ip, new->br_startoff, new->br_blockcount, &data, in xfs_zoned_map_extent()
251 ASSERT(new->br_blockcount >= data.br_blockcount); in xfs_zoned_map_extent()
252 new->br_blockcount = data.br_blockcount; in xfs_zoned_map_extent()
288 data.br_blockcount, NULL, in xfs_zoned_map_extent()
298 new->br_blockcount); in xfs_zoned_map_extent()
301 rmapip->i_used_blocks += new->br_blockcount; in xfs_zoned_map_extent()
303 xfs_zone_inc_written(oz, new->br_blockcount); in xfs_zoned_map_extent()
312 xfs_zone_skip_blocks(oz, new->br_blockcount); in xfs_zoned_map_extent()
341 new.br_blockcount = end_fsb - new.br_startoff; in xfs_zoned_end_io()
359 new.br_startoff += new.br_blockcount; in xfs_zoned_end_io()
[all …]
H A Dxfs_bmap_item.c272 map->me_len = bi->bi_bmap.br_blockcount; in xfs_bmap_update_log_item()
368 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bmap_defer_add()
382 bi->bi_owner->i_delayed_blks -= bi->bi_bmap.br_blockcount; in xfs_bmap_update_cancel_item()
400 if (!error && bi->bi_bmap.br_blockcount > 0) { in xfs_bmap_update_finish_item()
475 bi->bi_bmap.br_blockcount = map->me_len; in xfs_bui_recover_work()
483 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bui_recover_work()
H A Dxfs_attr_inactive.c69 blkno += map.br_blockcount; in xfs_attr3_rmt_stale()
70 blkcnt -= map.br_blockcount; in xfs_attr3_rmt_stale()
H A Dxfs_qm.c1197 ASSERT(map[i].br_blockcount); in xfs_qm_reset_dqcounts_buf()
1200 lblkno += map[i].br_blockcount; in xfs_qm_reset_dqcounts_buf()
1212 rablkcnt = map[i+1].br_blockcount; in xfs_qm_reset_dqcounts_buf()
1228 map[i].br_blockcount, in xfs_qm_reset_dqcounts_buf()
H A Dxfs_dquot.c387 ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_dquot_disk_alloc()
489 ASSERT(map.br_blockcount >= 1); in xfs_dquot_disk_read()
H A Dxfs_trace.h696 __entry->blockcount = r.br_blockcount;
1834 __entry->blockcount = irec ? irec->br_blockcount : 0;
3394 __entry->l_len = ri->ri_bmap.br_blockcount;
3476 __entry->l_len = bi->bi_bmap.br_blockcount;
4062 __entry->len = irec->br_blockcount;
5592 __entry->lcount = left->br_blockcount;
5595 __entry->ccount = curr->br_blockcount;
5598 __entry->ncount = new->br_blockcount;
5601 __entry->rcount = right->br_blockcount;
H A Dxfs_icache.c1897 got.br_startoff, got.br_blockcount); in xfs_check_delalloc()
H A Dxfs_inode.c1131 off < got.br_startoff + got.br_blockcount; in xfs_inactive_dir()
/linux/fs/xfs/libxfs/
H A Dxfs_types.h158 xfs_filblks_t br_blockcount; /* number of blocks */ member
H A Dxfs_da_btree.c2369 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2379 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2381 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2763 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_dabuf_map()
2764 off += irecs[i].br_blockcount; in xfs_dabuf_map()
2790 irecs[i].br_blockcount, in xfs_dabuf_map()
H A Dxfs_refcount.c1611 PREV->br_blockcount); in xfs_refcount_increase_extent()
1627 PREV->br_blockcount); in xfs_refcount_decrease_extent()