/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_bmap.c | 114 cur->bc_rec.b.br_blockcount = 0; in xfs_bmbt_lookup_first() 495 ASSERT(mval[i].br_blockcount > 0); in xfs_bmap_validate_ret() 498 ASSERT(mval[i].br_blockcount <= len); in xfs_bmap_validate_ret() 499 ASSERT(mval[i].br_startoff + mval[i].br_blockcount <= in xfs_bmap_validate_ret() 503 ASSERT(mval[i].br_startoff + mval[i].br_blockcount > in xfs_bmap_validate_ret() 507 mval[i - 1].br_startoff + mval[i - 1].br_blockcount == in xfs_bmap_validate_ret() 905 rec.br_blockcount = 1; in xfs_bmap_local_to_extents() 1304 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused() 1412 bma->aeof = bma->offset >= rec.br_startoff + rec.br_blockcount || in xfs_bmap_isaeof() 1446 *last_block = rec.br_startoff + rec.br_blockcount; in xfs_bmap_last_offset() [all …]
|
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() 616 lblkno += map.br_blockcount; in xfs_attr_rmtval_set() 617 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set() 665 lblkno += map.br_blockcount; in xfs_attr_rmtval_invalidate() [all …]
|
D | xfs_bmap_btree.c | 69 irec->br_blockcount = l1 & xfs_mask64lo(21); in xfs_bmbt_disk_get_all() 109 ASSERT(!(s->br_blockcount & xfs_mask64hi(64-BMBT_BLOCKCOUNT_BITLEN))); in xfs_bmbt_disk_set_all() 118 ((xfs_bmbt_rec_base_t)s->br_blockcount & in xfs_bmbt_disk_set_all()
|
D | xfs_types.h | 167 xfs_filblks_t br_blockcount; /* number of blocks */ member
|
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()
|
D | xfs_da_btree.c | 2194 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int() 2205 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int() 2207 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int() 2545 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_dabuf_map() 2546 off += irecs[i].br_blockcount; in xfs_dabuf_map() 2571 irecs[i].br_blockcount, in xfs_dabuf_map()
|
D | xfs_refcount.c | 1266 PREV->br_blockcount); in xfs_refcount_increase_extent() 1281 PREV->br_blockcount); in xfs_refcount_decrease_extent()
|
/kernel/linux/linux-5.10/fs/xfs/ |
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() 219 irec->br_blockcount = fbno - agbno; in xfs_reflink_trim_around_shared() 265 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked() 314 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent() 333 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent() 355 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_reflink_allocate_cow() 375 imap->br_blockcount, xfs_get_cowextsz_hint(ip)); in xfs_reflink_allocate_cow() 410 error = xfs_bmapi_write(tp, ip, imap->br_startoff, imap->br_blockcount, in xfs_reflink_allocate_cow() 475 while (got.br_startoff + got.br_blockcount > offset_fsb) { in xfs_reflink_cancel_cow_blocks() [all …]
|
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() 179 aligned_end_fsb >= irec.br_startoff + irec.br_blockcount) in xfs_iomap_eof_align_last_fsb() 395 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size() 403 plen = prev.br_blockcount; in xfs_iomap_prealloc_size() 407 got.br_startoff + got.br_blockcount != prev.br_startoff || in xfs_iomap_prealloc_size() 408 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size() 410 plen += got.br_blockcount; in xfs_iomap_prealloc_size() 598 if ((numblks_fsb = imap.br_blockcount) == 0) { in xfs_iomap_write_unwritten() 603 ASSERT(imap.br_blockcount); in xfs_iomap_write_unwritten() [all …]
|
D | xfs_bmap_util.c | 194 *count += got.br_blockcount; in xfs_bmap_count_leaves() 299 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one() 342 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec() 347 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec() 350 rec->br_startblock += rec->br_blockcount; in xfs_getbmap_next_rec() 351 rec->br_blockcount = total_end - end; in xfs_getbmap_next_rec() 510 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap() 567 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range() 576 if (!del.br_blockcount || in xfs_bmap_punch_delalloc_range() 841 allocated_fsb = imapp->br_blockcount; in xfs_alloc_file_space() [all …]
|
D | xfs_bmap_item.c | 326 map->me_len = bmap->bi_bmap.br_blockcount; in xfs_bmap_update_log_item() 375 count = bmap->bi_bmap.br_blockcount; in xfs_bmap_update_finish_item() 385 bmap->bi_bmap.br_blockcount = count; in xfs_bmap_update_finish_item() 510 irec.br_blockcount = count; in xfs_bui_item_recover()
|
D | xfs_symlink.c | 54 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap_ilocked() 277 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink() 422 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0, in xfs_inactive_symlink_rmt()
|
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()
|
D | xfs_refcount_item.c | 521 irec.br_blockcount = new_len; in xfs_cui_item_recover() 532 irec.br_blockcount); in xfs_cui_item_recover() 537 irec.br_blockcount); in xfs_cui_item_recover()
|
D | xfs_aops.c | 435 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks() 448 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks() 449 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks()
|
D | xfs_dir2_readdir.c | 301 if (map.br_blockcount < geo->fsbcount && in xfs_dir2_leaf_readbuf() 313 next_ra < map.br_startoff + map.br_blockcount) { in xfs_dir2_leaf_readbuf()
|
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()
|
D | xfs_pnfs.c | 154 imap.br_blockcount); in xfs_fs_map_blocks()
|
D | xfs_qm.c | 1020 ASSERT(map[i].br_blockcount); in xfs_qm_reset_dqcounts_buf() 1023 lblkno += map[i].br_blockcount; in xfs_qm_reset_dqcounts_buf() 1035 rablkcnt = map[i+1].br_blockcount; in xfs_qm_reset_dqcounts_buf() 1051 map[i].br_blockcount, in xfs_qm_reset_dqcounts_buf()
|
D | xfs_rtalloc.c | 828 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc() 865 oblocks = map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
|
D | xfs_dquot.c | 324 ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_dquot_disk_alloc() 418 ASSERT(map.br_blockcount >= 1); in xfs_dquot_disk_read()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | bmap.c | 191 agbno + irec->br_blockcount > rmap_end) in xchk_bmap_xref_rmap() 204 irec->br_startoff + 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() 309 off = irec->br_startoff + irec->br_blockcount - 1; in xchk_bmap_dirattr_extent() 349 if (irec->br_blockcount > MAXEXTLEN) in xchk_bmap_iextent() 352 if (irec->br_startblock + irec->br_blockcount <= irec->br_startblock) in xchk_bmap_iextent() 355 end = irec->br_startblock + irec->br_blockcount - 1; in xchk_bmap_iextent() [all …]
|
D | dir.c | 685 got.br_blockcount != args.geo->fsbcount)) { in xchk_directory_blocks() 708 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 715 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 726 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks() 772 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 779 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
|
D | rtbitmap.c | 91 off += map.br_blockcount; in xchk_rtbitmap_check_extents()
|
D | quota.c | 199 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork()
|