Home
last modified time | relevance | path

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

12

/fs/xfs/libxfs/
Dxfs_bmap.c122 cur->bc_rec.b.br_blockcount = 0; in xfs_bmbt_lookup_first()
496 ASSERT(mval[i].br_blockcount > 0); in xfs_bmap_validate_ret()
499 ASSERT(mval[i].br_blockcount <= len); in xfs_bmap_validate_ret()
500 ASSERT(mval[i].br_startoff + mval[i].br_blockcount <= in xfs_bmap_validate_ret()
504 ASSERT(mval[i].br_startoff + mval[i].br_blockcount > in xfs_bmap_validate_ret()
508 mval[i - 1].br_startoff + mval[i - 1].br_blockcount == in xfs_bmap_validate_ret()
850 rec.br_blockcount = 1; in xfs_bmap_local_to_extents()
1236 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused()
1340 bma->aeof = bma->offset >= rec.br_startoff + rec.br_blockcount || in xfs_bmap_isaeof()
1374 *last_block = rec.br_startoff + rec.br_blockcount; in xfs_bmap_last_offset()
[all …]
Dxfs_attr_remote.c418 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()
556 XFS_FSB_TO_BB(mp, map->br_blockcount), in xfs_attr_rmtval_stale()
627 attr->xattri_lblkno += map->br_blockcount; in xfs_attr_rmtval_set_blk()
628 attr->xattri_blkcnt -= map->br_blockcount; in xfs_attr_rmtval_set_blk()
668 lblkno += map.br_blockcount; in xfs_attr_rmtval_invalidate()
[all …]
Dxfs_bmap_btree.c71 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()
Dxfs_iext_tree.c58 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()
Dxfs_types.h165 xfs_filblks_t br_blockcount; /* number of blocks */ member
Dxfs_da_btree.c2206 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2217 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2219 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2557 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_dabuf_map()
2558 off += irecs[i].br_blockcount; in xfs_dabuf_map()
2583 irecs[i].br_blockcount, in xfs_dabuf_map()
Dxfs_refcount.c1349 PREV->br_blockcount); in xfs_refcount_increase_extent()
1364 PREV->br_blockcount); in xfs_refcount_decrease_extent()
/fs/xfs/
Dxfs_reflink.c191 aglen = irec->br_blockcount; in xfs_reflink_trim_around_shared()
212 irec->br_blockcount = flen; in xfs_reflink_trim_around_shared()
223 irec->br_blockcount = fbno - agbno; in xfs_reflink_trim_around_shared()
268 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked()
317 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent()
336 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent()
354 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_reflink_convert_unwritten()
397 imap->br_blockcount, xfs_get_cowextsz_hint(ip)); in xfs_reflink_fill_cow_hole()
423 error = xfs_bmapi_write(tp, ip, imap->br_startoff, imap->br_blockcount, in xfs_reflink_fill_cow_hole()
493 cmap->br_blockcount, in xfs_reflink_fill_delalloc()
[all …]
Dxfs_iomap.c46 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero()
84 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap()
185 aligned_end_fsb >= irec.br_startoff + irec.br_blockcount) in xfs_iomap_eof_align_last_fsb()
397 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size()
405 plen = prev.br_blockcount; in xfs_iomap_prealloc_size()
409 got.br_startoff + got.br_blockcount != prev.br_startoff || in xfs_iomap_prealloc_size()
410 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size()
412 plen += got.br_blockcount; in xfs_iomap_prealloc_size()
600 if ((numblks_fsb = imap.br_blockcount) == 0) { in xfs_iomap_write_unwritten()
605 ASSERT(imap.br_blockcount); in xfs_iomap_write_unwritten()
[all …]
Dxfs_bmap_util.c238 *count += got.br_blockcount; in xfs_bmap_count_leaves()
341 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
384 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec()
389 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec()
392 rec->br_startblock += rec->br_blockcount; in xfs_getbmap_next_rec()
393 rec->br_blockcount = total_end - end; in xfs_getbmap_next_rec()
551 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap()
608 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range()
617 if (!del.br_blockcount || in xfs_bmap_punch_delalloc_range()
885 allocated_fsb = imapp->br_blockcount; in xfs_alloc_file_space()
[all …]
Dxfs_bmap_item.c337 map->me_len = bmap->bi_bmap.br_blockcount; in xfs_bmap_update_log_item()
386 count = bmap->bi_bmap.br_blockcount; in xfs_bmap_update_finish_item()
396 bmap->bi_bmap.br_blockcount = count; in xfs_bmap_update_finish_item()
539 irec.br_blockcount = count; in xfs_bui_item_recover()
Dxfs_symlink.c56 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap_ilocked()
286 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink()
430 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0, in xfs_inactive_symlink_rmt()
Dxfs_aops.c355 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
368 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks()
369 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks()
Dxfs_attr_inactive.c68 blkno += map.br_blockcount; in xfs_attr3_rmt_stale()
69 blkcnt -= map.br_blockcount; in xfs_attr3_rmt_stale()
Dxfs_refcount_item.c549 irec.br_blockcount = new_len; in xfs_cui_item_recover()
560 irec.br_blockcount); in xfs_cui_item_recover()
565 irec.br_blockcount); in xfs_cui_item_recover()
Dxfs_dir2_readdir.c300 if (map.br_blockcount < geo->fsbcount && in xfs_dir2_leaf_readbuf()
312 next_ra < map.br_startoff + map.br_blockcount) { in xfs_dir2_leaf_readbuf()
Dxfs_qm.c1013 ASSERT(map[i].br_blockcount); in xfs_qm_reset_dqcounts_buf()
1016 lblkno += map[i].br_blockcount; in xfs_qm_reset_dqcounts_buf()
1028 rablkcnt = map[i+1].br_blockcount; in xfs_qm_reset_dqcounts_buf()
1044 map[i].br_blockcount, in xfs_qm_reset_dqcounts_buf()
Dxfs_rmap_item.c364 map->me_len = rmap->ri_bmap.br_blockcount; in xfs_rmap_update_log_item()
415 rmap->ri_bmap.br_blockcount, rmap->ri_bmap.br_state, in xfs_rmap_update_finish_item()
Dxfs_pnfs.c188 imap.br_blockcount); in xfs_fs_map_blocks()
Dxfs_rtalloc.c836 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
873 oblocks = map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
Dxfs_dquot.c335 ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_dquot_disk_alloc()
438 ASSERT(map.br_blockcount >= 1); in xfs_dquot_disk_read()
/fs/xfs/scrub/
Dbmap.c175 agbno + irec->br_blockcount > rmap_end) in xchk_bmap_xref_rmap()
188 irec->br_startoff + irec->br_blockcount > rmap_end) in xchk_bmap_xref_rmap()
227 irec->br_blockcount); in xchk_bmap_rt_iextent_xref()
245 len = irec->br_blockcount; in xchk_bmap_iextent_xref()
262 irec->br_blockcount); in xchk_bmap_iextent_xref()
266 irec->br_blockcount); in xchk_bmap_iextent_xref()
294 off = irec->br_startoff + irec->br_blockcount - 1; in xchk_bmap_dirattr_extent()
317 if (!xfs_verify_fileext(mp, irec->br_startoff, irec->br_blockcount)) in xchk_bmap_iextent()
337 if (irec->br_blockcount > XFS_MAX_BMBT_EXTLEN) in xchk_bmap_iextent()
341 !xfs_verify_rtext(mp, irec->br_startblock, irec->br_blockcount)) in xchk_bmap_iextent()
[all …]
Ddir.c719 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
727 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
738 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks()
784 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
791 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
Drtbitmap.c89 off += map.br_blockcount; in xchk_rtbitmap_check_extents()
Dquota.c198 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork()

12