Home
last modified time | relevance | path

Searched refs:br_startblock (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_bmap.c121 cur->bc_rec.b.br_startblock = 0; in xfs_bmbt_lookup_first()
510 ASSERT(mval[i].br_startblock != DELAYSTARTBLOCK && in xfs_bmap_validate_ret()
511 mval[i].br_startblock != HOLESTARTBLOCK); in xfs_bmap_validate_ret()
695 if (isnullstartblock(rec.br_startblock)) in xfs_bmap_extents_to_btree()
849 rec.br_startblock = args.fsbno; in xfs_bmap_local_to_extents()
1342 isnullstartblock(rec.br_startblock)); in xfs_bmap_isaeof()
1407 ASSERT(!isnullstartblock(new->br_startblock)); in xfs_bmap_add_extent_delay_real()
1422 ASSERT(isnullstartblock(PREV.br_startblock)); in xfs_bmap_add_extent_delay_real()
1426 da_old = startblockval(PREV.br_startblock); in xfs_bmap_add_extent_delay_real()
1444 if (isnullstartblock(LEFT.br_startblock)) in xfs_bmap_add_extent_delay_real()
[all …]
Dxfs_attr_remote.c415 ASSERT((map[i].br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_get()
416 (map[i].br_startblock != HOLESTARTBLOCK)); in xfs_attr_rmtval_get()
417 dblkno = XFS_FSB_TO_DADDR(mp, map[i].br_startblock); in xfs_attr_rmtval_get()
509 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_set_value()
510 (map.br_startblock != HOLESTARTBLOCK)); in xfs_attr_rmtval_set_value()
512 dblkno = XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_attr_rmtval_set_value()
550 if (XFS_IS_CORRUPT(mp, map->br_startblock == DELAYSTARTBLOCK) || in xfs_attr_rmtval_stale()
551 XFS_IS_CORRUPT(mp, map->br_startblock == HOLESTARTBLOCK)) in xfs_attr_rmtval_stale()
555 XFS_FSB_TO_DADDR(mp, map->br_startblock), in xfs_attr_rmtval_stale()
623 ASSERT((map->br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_set_blk()
[all …]
Dxfs_bmap.h149 return irec->br_startblock != HOLESTARTBLOCK && in xfs_bmap_is_real_extent()
150 irec->br_startblock != DELAYSTARTBLOCK && in xfs_bmap_is_real_extent()
151 !isnullstartblock(irec->br_startblock); in xfs_bmap_is_real_extent()
Dxfs_bmap_btree.c70 irec->br_startblock = ((l0 & xfs_mask64lo(9)) << 43) | (l1 >> 21); in xfs_bmbt_disk_get_all()
112 ASSERT(!(s->br_startblock & xfs_mask64hi(64-BMBT_STARTBLOCK_BITLEN))); in xfs_bmbt_disk_set_all()
117 ((xfs_bmbt_rec_base_t)s->br_startblock >> 43), &r->l0); in xfs_bmbt_disk_set_all()
119 ((xfs_bmbt_rec_base_t)s->br_startblock << 21) | in xfs_bmbt_disk_set_all()
Dxfs_iext_tree.c59 ASSERT((irec->br_startblock & ~XFS_IEXT_STARTBLOCK_MASK) == 0); in xfs_iext_set()
64 rec->lo |= (irec->br_startblock << 54); in xfs_iext_set()
65 rec->hi |= ((irec->br_startblock & ~xfs_mask64lo(10)) << (22 - 10)); in xfs_iext_set()
79 irec->br_startblock = rec->lo >> 54; in xfs_iext_get()
80 irec->br_startblock |= (rec->hi & xfs_mask64hi(42)) >> (22 - 10); in xfs_iext_get()
Dxfs_types.h164 xfs_fsblock_t br_startblock; /* starting block number */ member
Dxfs_rtbitmap.c76 ASSERT(map.br_startblock != NULLFSBLOCK); in xfs_rtbuf_get()
78 XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_rtbuf_get()
Dxfs_da_btree.c2550 if (irecs[i].br_startblock == HOLESTARTBLOCK || in xfs_dabuf_map()
2551 irecs[i].br_startblock == DELAYSTARTBLOCK) in xfs_dabuf_map()
2556 map[i].bm_bn = XFS_FSB_TO_DADDR(mp, irecs[i].br_startblock); in xfs_dabuf_map()
2582 irecs[i].br_startblock, in xfs_dabuf_map()
Dxfs_rmap.c2516 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2518 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2611 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_alloc_extent()
2633 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_free_extent()
Dxfs_inode_fork.c555 if (isnullstartblock(rec.br_startblock)) in xfs_iextents_copy()
Dxfs_refcount.c1348 __xfs_refcount_add(tp, XFS_REFCOUNT_INCREASE, PREV->br_startblock, in xfs_refcount_increase_extent()
1363 __xfs_refcount_add(tp, XFS_REFCOUNT_DECREASE, PREV->br_startblock, in xfs_refcount_decrease_extent()
/linux-6.1.9/fs/xfs/
Dxfs_reflink.c189 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, irec->br_startblock)); in xfs_reflink_trim_around_shared()
190 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock); in xfs_reflink_trim_around_shared()
235 !isnullstartblock(imap->br_startblock)) { in xfs_bmap_trim_cow()
264 if (WARN_ON_ONCE(isnullstartblock(got.br_startblock))) in xfs_reflink_convert_cow_locked()
335 if (isnullstartblock(cmap->br_startblock)) { in xfs_find_trim_cow_extent()
485 ASSERT(isnullstartblock(cmap->br_startblock) || in xfs_reflink_fill_delalloc()
486 cmap->br_startblock == DELAYSTARTBLOCK); in xfs_reflink_fill_delalloc()
559 if (isnullstartblock(cmap->br_startblock) || in xfs_reflink_allocate_cow()
560 cmap->br_startblock == DELAYSTARTBLOCK) in xfs_reflink_allocate_cow()
609 if (isnullstartblock(del.br_startblock)) { in xfs_reflink_cancel_cow_blocks()
[all …]
Dxfs_pnfs.c180 ASSERT(!nimaps || imap.br_startblock != DELAYSTARTBLOCK); in xfs_fs_map_blocks()
183 (!nimaps || imap.br_startblock == HOLESTARTBLOCK)) { in xfs_fs_map_blocks()
186 else if (nimaps && imap.br_startblock == HOLESTARTBLOCK) in xfs_fs_map_blocks()
239 if (imap.br_startblock == HOLESTARTBLOCK || in xfs_pnfs_validate_isize()
240 imap.br_startblock == DELAYSTARTBLOCK || in xfs_pnfs_validate_isize()
Dxfs_iomap.c44 (unsigned long long)imap->br_startblock, in xfs_alert_fsblock_zero()
62 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) in xfs_bmbt_to_iomap()
65 if (imap->br_startblock == HOLESTARTBLOCK) { in xfs_bmbt_to_iomap()
68 } else if (imap->br_startblock == DELAYSTARTBLOCK || in xfs_bmbt_to_iomap()
69 isnullstartblock(imap->br_startblock)) { in xfs_bmbt_to_iomap()
73 iomap->addr = BBTOB(xfs_fsb_to_db(ip, imap->br_startblock)); in xfs_bmbt_to_iomap()
284 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) in xfs_iomap_write_direct()
408 isnullstartblock(got.br_startblock) || in xfs_iomap_prealloc_size()
410 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size()
597 if (unlikely(!xfs_valid_startblock(ip, imap.br_startblock))) in xfs_iomap_write_unwritten()
[all …]
Dxfs_bmap_util.c237 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
314 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
315 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
330 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one()
390 if (!isnullstartblock(rec->br_startblock) && in xfs_getbmap_next_rec()
391 rec->br_startblock != DELAYSTARTBLOCK) in xfs_getbmap_next_rec()
392 rec->br_startblock += rec->br_blockcount; in xfs_getbmap_next_rec()
618 !isnullstartblock(del.br_startblock)) { in xfs_bmap_punch_delalloc_range()
711 return imap.br_startblock != HOLESTARTBLOCK || ip->i_delayed_blks; in xfs_can_free_eofblocks()
1404 ASSERT(tirec.br_startblock != DELAYSTARTBLOCK); in xfs_swap_extent_rmap()
[all …]
Dxfs_aops.c357 imap.br_startblock = HOLESTARTBLOCK; in xfs_map_blocks()
372 if (imap.br_startblock != HOLESTARTBLOCK && in xfs_map_blocks()
373 isnullstartblock(imap.br_startblock)) in xfs_map_blocks()
Dxfs_symlink.c55 d = XFS_FSB_TO_DADDR(mp, mval[n].br_startblock); in xfs_readlink_bmap_ilocked()
285 d = XFS_FSB_TO_DADDR(mp, mval[n].br_startblock); in xfs_symlink()
429 XFS_FSB_TO_DADDR(mp, mval[i].br_startblock), in xfs_inactive_symlink_rmt()
Dxfs_rmap_item.c336 return XFS_FSB_TO_AGNO(mp, ra->ri_bmap.br_startblock) - in xfs_rmap_update_diff_items()
337 XFS_FSB_TO_AGNO(mp, rb->ri_bmap.br_startblock); in xfs_rmap_update_diff_items()
362 map->me_startblock = rmap->ri_bmap.br_startblock; in xfs_rmap_update_log_item()
414 rmap->ri_bmap.br_startoff, rmap->ri_bmap.br_startblock, in xfs_rmap_update_finish_item()
Dxfs_dquot.c337 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_dquot_disk_alloc()
338 (map.br_startblock != HOLESTARTBLOCK)); in xfs_dquot_disk_alloc()
343 dqp->q_blkno = XFS_FSB_TO_DADDR(mp, map.br_startblock); in xfs_dquot_disk_alloc()
439 ASSERT(map.br_startblock != DELAYSTARTBLOCK); in xfs_dquot_disk_read()
440 if (map.br_startblock == HOLESTARTBLOCK) in xfs_dquot_disk_read()
449 dqp->q_blkno = XFS_FSB_TO_DADDR(mp, map.br_startblock); in xfs_dquot_disk_read()
Dxfs_bmap_item.c335 map->me_startblock = bmap->bi_bmap.br_startblock; in xfs_bmap_update_log_item()
391 bmap->bi_bmap.br_startblock, in xfs_bmap_update_finish_item()
538 irec.br_startblock = bmap->me_startblock; in xfs_bui_item_recover()
Dxfs_refcount_item.c548 irec.br_startblock = new_fsb; in xfs_cui_item_recover()
559 irec.br_startblock, in xfs_cui_item_recover()
564 irec.br_startblock, in xfs_cui_item_recover()
Dxfs_qm.c1012 ASSERT(map[i].br_startblock != DELAYSTARTBLOCK); in xfs_qm_reset_dqcounts_buf()
1018 if (map[i].br_startblock == HOLESTARTBLOCK) in xfs_qm_reset_dqcounts_buf()
1027 (map[i+1].br_startblock != HOLESTARTBLOCK)) { in xfs_qm_reset_dqcounts_buf()
1029 rablkno = map[i+1].br_startblock; in xfs_qm_reset_dqcounts_buf()
1043 map[i].br_startblock, in xfs_qm_reset_dqcounts_buf()
Dxfs_rtalloc.c835 for (bno = map.br_startoff, fsbno = map.br_startblock; in xfs_growfs_rt_alloc()
/linux-6.1.9/fs/xfs/scrub/
Dbmap.c226 xchk_xref_is_used_rt_space(info->sc, irec->br_startblock, in xchk_bmap_rt_iextent_xref()
243 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
244 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
324 if (irec->br_startblock == HOLESTARTBLOCK) in xchk_bmap_iextent()
332 if (isnullstartblock(irec->br_startblock)) in xchk_bmap_iextent()
341 !xfs_verify_rtext(mp, irec->br_startblock, irec->br_blockcount)) in xchk_bmap_iextent()
345 !xfs_verify_fsbext(mp, irec->br_startblock, irec->br_blockcount)) in xchk_bmap_iextent()
413 irec.br_startblock != iext_irec.br_startblock || in xchk_bmapbt_rec()
504 if (irec.br_startblock != XFS_AGB_TO_FSB(sc->mp, in xchk_bmap_check_rmap()
697 if (isnullstartblock(irec.br_startblock)) in xchk_bmap()
Dquota.c196 if (isnullstartblock(irec.br_startblock) || in xchk_quota_data_fork()

12