| /linux/fs/xfs/scrub/ |
| H A D | cow_repair.c | 131 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 D | bmap_repair.c | 160 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 D | dir.c | 844 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 D | attr_repair.c | 900 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 D | rtbitmap.c | 183 off += map.br_blockcount; in xchk_rtbitmap_check_extents()
|
| H A D | rtrmap_repair.c | 242 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 D | rtsummary.c | 270 off += map.br_blockcount; in xchk_rtsum_compare()
|
| H A D | rmap_repair.c | 361 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 D | dir_repair.c | 973 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 D | trace.h | 488 __entry->blockcount = cursor->bmap.br_blockcount; 2222 __entry->len = irec->br_blockcount; 2701 __entry->blockcount = irec->br_blockcount; 2864 __entry->len = irec->br_blockcount; 2904 __entry->len = irec->br_blockcount; 2933 __entry->len = irec->br_blockcount;
|
| H A D | inode_repair.c | 1867 off = got.br_startoff + got.br_blockcount; in xrep_inode_blockdir_size()
|
| /linux/fs/xfs/ |
| H A D | xfs_iomap.c | 51 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero() 145 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap() 257 aligned_end_fsb >= irec.br_startoff + irec.br_blockcount) in xfs_iomap_eof_align_last_fsb() 510 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size() 518 plen = prev.br_blockcount; in xfs_iomap_prealloc_size() 522 got.br_startoff + got.br_blockcount != prev.br_startoff || in xfs_iomap_prealloc_size() 523 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size() 525 plen += got.br_blockcount; in xfs_iomap_prealloc_size() 707 if ((numblks_fsb = imap.br_blockcount) == 0) { in xfs_iomap_write_unwritten() 712 ASSERT(imap.br_blockcount); in xfs_iomap_write_unwritten() [all …]
|
| H A D | xfs_zone_alloc.c | 251 error = xfs_bmapi_read(ip, new->br_startoff, new->br_blockcount, &data, in xfs_zoned_map_extent() 260 ASSERT(new->br_blockcount >= data.br_blockcount); in xfs_zoned_map_extent() 261 new->br_blockcount = data.br_blockcount; in xfs_zoned_map_extent() 297 data.br_blockcount, NULL, in xfs_zoned_map_extent() 305 xfs_zone_record_blocks(tp, oz, new->br_startblock, new->br_blockcount); in xfs_zoned_map_extent() 313 xfs_zone_skip_blocks(oz, new->br_blockcount); in xfs_zoned_map_extent() 342 new.br_blockcount = end_fsb - new.br_startoff; in xfs_zoned_end_io() 360 new.br_startoff += new.br_blockcount; in xfs_zoned_end_io() 361 new.br_startblock += new.br_blockcount; in xfs_zoned_end_io() 363 old_startblock += new.br_blockcount; in xfs_zoned_end_io()
|
| H A D | xfs_bmap_item.c | 272 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 D | xfs_qm.c | 1197 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 D | xfs_dquot.c | 387 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 D | xfs_icache.c | 1897 got.br_startoff, got.br_blockcount); in xfs_check_delalloc()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_types.h | 158 xfs_filblks_t br_blockcount; /* number of blocks */ member
|
| H A D | xfs_da_btree.c | 2338 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int() 2348 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int() 2350 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int() 2732 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_dabuf_map() 2733 off += irecs[i].br_blockcount; in xfs_dabuf_map() 2759 irecs[i].br_blockcount, in xfs_dabuf_map()
|
| H A D | xfs_refcount.c | 1611 PREV->br_blockcount); in xfs_refcount_increase_extent() 1627 PREV->br_blockcount); in xfs_refcount_decrease_extent()
|