/linux/fs/xfs/libxfs/ |
A D | xfs_bmap.c | 1478 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount in xfs_bmap_add_extent_delay_real() 1494 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount; in xfs_bmap_add_extent_delay_real() 1539 LEFT.br_blockcount += PREV.br_blockcount; in xfs_bmap_add_extent_delay_real() 1637 LEFT.br_blockcount += new->br_blockcount; in xfs_bmap_add_extent_delay_real() 2026 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount in xfs_bmap_add_extent_unwritten_real() 2041 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2094 LEFT.br_blockcount += PREV.br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2203 LEFT.br_blockcount += new->br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2208 PREV.br_blockcount -= new->br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2688 left.br_blockcount += new->br_blockcount + right.br_blockcount; in xfs_bmap_add_extent_hole_real() [all …]
|
A D | xfs_attr_remote.c | 418 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get() 432 lblkno += map[i].br_blockcount; in xfs_attr_rmtval_get() 433 blkcnt -= map[i].br_blockcount; in xfs_attr_rmtval_get() 513 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set_value() 530 lblkno += map.br_blockcount; in xfs_attr_rmtval_set_value() 531 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set_value() 555 XFS_FSB_TO_BB(mp, map->br_blockcount), incore_flags); in xfs_attr_rmtval_stale() 621 dac->lblkno += map->br_blockcount; in xfs_attr_rmtval_set_blk() 622 dac->blkcnt -= map->br_blockcount; in xfs_attr_rmtval_set_blk() 662 lblkno += map.br_blockcount; in xfs_attr_rmtval_invalidate() [all …]
|
A D | xfs_bmap_btree.c | 71 irec->br_blockcount = l1 & xfs_mask64lo(21); in xfs_bmbt_disk_get_all() 111 ASSERT(!(s->br_blockcount & xfs_mask64hi(64-BMBT_BLOCKCOUNT_BITLEN))); in xfs_bmbt_disk_set_all() 120 ((xfs_bmbt_rec_base_t)s->br_blockcount & in xfs_bmbt_disk_set_all()
|
A D | xfs_iext_tree.c | 58 ASSERT((irec->br_blockcount & ~XFS_IEXT_LENGTH_MASK) == 0); in xfs_iext_set() 62 rec->hi = irec->br_blockcount & XFS_IEXT_LENGTH_MASK; in xfs_iext_set() 77 irec->br_blockcount = rec->hi & XFS_IEXT_LENGTH_MASK; in xfs_iext_get() 973 *end = gotp->br_startoff + gotp->br_blockcount; in xfs_iext_lookup_extent_before()
|
A D | xfs_types.h | 172 xfs_filblks_t br_blockcount; /* number of blocks */ member
|
A D | xfs_da_btree.c | 2191 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int() 2202 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int() 2204 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int() 2542 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_dabuf_map() 2543 off += irecs[i].br_blockcount; in xfs_dabuf_map() 2568 irecs[i].br_blockcount, in xfs_dabuf_map()
|
A D | xfs_refcount.c | 1259 PREV->br_blockcount); in xfs_refcount_increase_extent() 1274 PREV->br_blockcount); in xfs_refcount_decrease_extent()
|
/linux/fs/xfs/ |
A D | xfs_reflink.c | 191 aglen = irec->br_blockcount; in xfs_reflink_trim_around_shared() 209 irec->br_blockcount = flen; in xfs_reflink_trim_around_shared() 265 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked() 468 if (!del.br_blockcount) { in xfs_reflink_cancel_cow_blocks() 485 del.br_blockcount); in xfs_reflink_cancel_cow_blocks() 500 del.br_blockcount); in xfs_reflink_cancel_cow_blocks() 656 rlen = del.br_blockcount; in xfs_reflink_end_cow_extent() 673 (long)del.br_blockcount); in xfs_reflink_end_cow_extent() 1053 dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount); in xfs_reflink_remap_extent() 1054 ASSERT(dmap->br_blockcount == smap.br_blockcount); in xfs_reflink_remap_extent() [all …]
|
A D | xfs_iomap.c | 47 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero() 80 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap() 396 plen = prev.br_blockcount; in xfs_iomap_prealloc_size() 403 plen += got.br_blockcount; in xfs_iomap_prealloc_size() 588 if ((numblks_fsb = imap.br_blockcount) == 0) { in xfs_iomap_write_unwritten() 593 ASSERT(imap.br_blockcount); in xfs_iomap_write_unwritten() 769 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_direct_write_iomap_begin() 970 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_buffered_write_iomap_begin() 1236 if (data_fsb < cow_fsb + cmap.br_blockcount) in xfs_seek_iomap_begin() 1253 imap.br_blockcount = cow_fsb - offset_fsb; in xfs_seek_iomap_begin() [all …]
|
A D | xfs_bmap_util.c | 238 *count += got.br_blockcount; in xfs_bmap_count_leaves() 389 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec() 393 rec->br_blockcount = total_end - end; in xfs_getbmap_next_rec() 616 if (!del.br_blockcount || in xfs_bmap_punch_delalloc_range() 881 allocated_fsb = imapp->br_blockcount; in xfs_alloc_file_space() 1400 ilen = tirec.br_blockcount; in xfs_swap_extent_rmap() 1403 while (tirec.br_blockcount) { in xfs_swap_extent_rmap() 1410 tirec.br_blockcount, &irec, in xfs_swap_extent_rmap() 1421 tirec.br_blockcount, in xfs_swap_extent_rmap() 1422 irec.br_blockcount); in xfs_swap_extent_rmap() [all …]
|
A D | xfs_bmap_item.c | 325 map->me_len = bmap->bi_bmap.br_blockcount; in xfs_bmap_update_log_item() 374 count = bmap->bi_bmap.br_blockcount; in xfs_bmap_update_finish_item() 384 bmap->bi_bmap.br_blockcount = count; in xfs_bmap_update_finish_item() 525 irec.br_blockcount = count; in xfs_bui_item_recover()
|
A D | xfs_symlink.c | 55 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap_ilocked() 282 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink() 426 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0, in xfs_inactive_symlink_rmt()
|
A D | xfs_aops.c | 341 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks() 354 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks() 355 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks()
|
A D | xfs_attr_inactive.c | 68 blkno += map.br_blockcount; in xfs_attr3_rmt_stale() 69 blkcnt -= map.br_blockcount; in xfs_attr3_rmt_stale()
|
A D | xfs_refcount_item.c | 534 irec.br_blockcount = new_len; in xfs_cui_item_recover() 545 irec.br_blockcount); in xfs_cui_item_recover() 550 irec.br_blockcount); in xfs_cui_item_recover()
|
A D | xfs_dir2_readdir.c | 299 if (map.br_blockcount < geo->fsbcount && in xfs_dir2_leaf_readbuf() 311 next_ra < map.br_startoff + map.br_blockcount) { in xfs_dir2_leaf_readbuf()
|
A D | xfs_rmap_item.c | 377 map->me_len = rmap->ri_bmap.br_blockcount; in xfs_rmap_update_log_item() 428 rmap->ri_bmap.br_blockcount, rmap->ri_bmap.br_state, in xfs_rmap_update_finish_item()
|
A D | xfs_pnfs.c | 154 imap.br_blockcount); in xfs_fs_map_blocks()
|
A D | xfs_qm.c | 1021 ASSERT(map[i].br_blockcount); in xfs_qm_reset_dqcounts_buf() 1024 lblkno += map[i].br_blockcount; in xfs_qm_reset_dqcounts_buf() 1036 rablkcnt = map[i+1].br_blockcount; in xfs_qm_reset_dqcounts_buf() 1052 map[i].br_blockcount, in xfs_qm_reset_dqcounts_buf()
|
A D | xfs_rtalloc.c | 833 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc() 870 oblocks = map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
|
A D | xfs_dquot.c | 330 ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_dquot_disk_alloc() 424 ASSERT(map.br_blockcount >= 1); in xfs_dquot_disk_read()
|
/linux/fs/xfs/scrub/ |
A D | bmap.c | 191 agbno + irec->br_blockcount > rmap_end) in xchk_bmap_xref_rmap() 243 irec->br_blockcount); in xchk_bmap_rt_iextent_xref() 261 len = irec->br_blockcount; in xchk_bmap_iextent_xref() 278 irec->br_blockcount); in xchk_bmap_iextent_xref() 282 irec->br_blockcount); in xchk_bmap_iextent_xref() 310 off = irec->br_startoff + irec->br_blockcount - 1; in xchk_bmap_dirattr_extent() 353 if (irec->br_blockcount > MAXEXTLEN) in xchk_bmap_iextent() 430 irec.br_blockcount != iext_irec.br_blockcount || in xchk_bmapbt_rec() 530 check_rec.rm_startblock += irec.br_blockcount; in xchk_bmap_check_rmap() 531 check_rec.rm_offset += irec.br_blockcount; in xchk_bmap_check_rmap() [all …]
|
A D | dir.c | 713 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 720 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 731 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks() 777 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 784 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
|
A D | rtbitmap.c | 88 off += map.br_blockcount; in xchk_rtbitmap_check_extents()
|
A D | quota.c | 198 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork()
|