Home
last modified time | relevance | path

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

12

/Linux-v5.15/fs/xfs/libxfs/
Dxfs_bmap.c123 cur->bc_rec.b.br_startblock = 0; in xfs_bmbt_lookup_first()
512 ASSERT(mval[i].br_startblock != DELAYSTARTBLOCK && in xfs_bmap_validate_ret()
513 mval[i].br_startblock != HOLESTARTBLOCK); in xfs_bmap_validate_ret()
747 if (isnullstartblock(rec.br_startblock)) in xfs_bmap_extents_to_btree()
901 rec.br_startblock = args.fsbno; in xfs_bmap_local_to_extents()
1395 isnullstartblock(rec.br_startblock)); in xfs_bmap_isaeof()
1460 ASSERT(!isnullstartblock(new->br_startblock)); in xfs_bmap_add_extent_delay_real()
1475 ASSERT(isnullstartblock(PREV.br_startblock)); in xfs_bmap_add_extent_delay_real()
1479 da_old = startblockval(PREV.br_startblock); in xfs_bmap_add_extent_delay_real()
1497 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()
549 if (XFS_IS_CORRUPT(mp, map->br_startblock == DELAYSTARTBLOCK) || in xfs_attr_rmtval_stale()
550 XFS_IS_CORRUPT(mp, map->br_startblock == HOLESTARTBLOCK)) in xfs_attr_rmtval_stale()
554 XFS_FSB_TO_DADDR(mp, map->br_startblock), in xfs_attr_rmtval_stale()
617 ASSERT((map->br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_set_blk()
[all …]
Dxfs_bmap.h164 return irec->br_startblock != HOLESTARTBLOCK && in xfs_bmap_is_real_extent()
165 irec->br_startblock != DELAYSTARTBLOCK && in xfs_bmap_is_real_extent()
166 !isnullstartblock(irec->br_startblock); in xfs_bmap_is_real_extent()
Dxfs_bmap_btree.c68 irec->br_startblock = ((l0 & xfs_mask64lo(9)) << 43) | (l1 >> 21); in xfs_bmbt_disk_get_all()
110 ASSERT(!(s->br_startblock & xfs_mask64hi(64-BMBT_STARTBLOCK_BITLEN))); in xfs_bmbt_disk_set_all()
115 ((xfs_bmbt_rec_base_t)s->br_startblock >> 43), &r->l0); in xfs_bmbt_disk_set_all()
117 ((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.h171 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_inode_fork.c557 if (isnullstartblock(rec.br_startblock)) in xfs_iextents_copy()
Dxfs_rmap.c2480 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2482 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2575 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_alloc_extent()
2597 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_free_extent()
Dxfs_da_btree.c2538 if (irecs[i].br_startblock == HOLESTARTBLOCK || in xfs_dabuf_map()
2539 irecs[i].br_startblock == DELAYSTARTBLOCK) in xfs_dabuf_map()
2544 map[i].bm_bn = XFS_FSB_TO_DADDR(mp, irecs[i].br_startblock); in xfs_dabuf_map()
2570 irecs[i].br_startblock, in xfs_dabuf_map()
Dxfs_refcount.c1259 __xfs_refcount_add(tp, XFS_REFCOUNT_INCREASE, PREV->br_startblock, in xfs_refcount_increase_extent()
1274 __xfs_refcount_add(tp, XFS_REFCOUNT_DECREASE, PREV->br_startblock, in xfs_refcount_decrease_extent()
/Linux-v5.15/fs/xfs/
Dxfs_reflink.c189 agno = XFS_FSB_TO_AGNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared()
190 agbno = XFS_FSB_TO_AGBNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared()
232 !isnullstartblock(imap->br_startblock)) { in xfs_bmap_trim_cow()
261 if (WARN_ON_ONCE(isnullstartblock(got.br_startblock))) in xfs_reflink_convert_cow_locked()
332 if (isnullstartblock(cmap->br_startblock)) { in xfs_find_trim_cow_extent()
475 if (isnullstartblock(del.br_startblock)) { in xfs_reflink_cancel_cow_blocks()
484 xfs_refcount_free_cow_extent(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks()
487 xfs_bmap_add_free(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks()
666 xfs_refcount_free_cow_extent(tp, del.br_startblock, del.br_blockcount); in xfs_reflink_end_cow_extent()
1063 if (dmap->br_startblock == smap.br_startblock) { in xfs_reflink_remap_extent()
[all …]
Dxfs_pnfs.c146 ASSERT(!nimaps || imap.br_startblock != DELAYSTARTBLOCK); in xfs_fs_map_blocks()
149 (!nimaps || imap.br_startblock == HOLESTARTBLOCK)) { in xfs_fs_map_blocks()
152 else if (nimaps && imap.br_startblock == HOLESTARTBLOCK) in xfs_fs_map_blocks()
203 if (imap.br_startblock == HOLESTARTBLOCK || in xfs_pnfs_validate_isize()
204 imap.br_startblock == DELAYSTARTBLOCK || in xfs_pnfs_validate_isize()
Dxfs_iomap.c45 (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()
275 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) in xfs_iomap_write_direct()
399 isnullstartblock(got.br_startblock) || in xfs_iomap_prealloc_size()
401 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size()
585 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()
617 !isnullstartblock(del.br_startblock)) { in xfs_bmap_punch_delalloc_range()
708 return imap.br_startblock != HOLESTARTBLOCK || ip->i_delayed_blks; in xfs_can_free_eofblocks()
1397 ASSERT(tirec.br_startblock != DELAYSTARTBLOCK); in xfs_swap_extent_rmap()
[all …]
Dxfs_symlink.c54 d = XFS_FSB_TO_DADDR(mp, mval[n].br_startblock); in xfs_readlink_bmap_ilocked()
281 d = XFS_FSB_TO_DADDR(mp, mval[n].br_startblock); in xfs_symlink()
425 XFS_FSB_TO_DADDR(mp, mval[i].br_startblock), in xfs_inactive_symlink_rmt()
Dxfs_rmap_item.c349 return XFS_FSB_TO_AGNO(mp, ra->ri_bmap.br_startblock) - in xfs_rmap_update_diff_items()
350 XFS_FSB_TO_AGNO(mp, rb->ri_bmap.br_startblock); in xfs_rmap_update_diff_items()
375 map->me_startblock = rmap->ri_bmap.br_startblock; in xfs_rmap_update_log_item()
427 rmap->ri_bmap.br_startoff, rmap->ri_bmap.br_startblock, in xfs_rmap_update_finish_item()
Dxfs_aops.c334 imap.br_startblock = HOLESTARTBLOCK; in xfs_map_blocks()
349 if (imap.br_startblock != HOLESTARTBLOCK && in xfs_map_blocks()
350 isnullstartblock(imap.br_startblock)) in xfs_map_blocks()
Dxfs_dquot.c332 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_dquot_disk_alloc()
333 (map.br_startblock != HOLESTARTBLOCK)); in xfs_dquot_disk_alloc()
338 dqp->q_blkno = XFS_FSB_TO_DADDR(mp, map.br_startblock); in xfs_dquot_disk_alloc()
425 ASSERT(map.br_startblock != DELAYSTARTBLOCK); in xfs_dquot_disk_read()
426 if (map.br_startblock == HOLESTARTBLOCK) in xfs_dquot_disk_read()
435 dqp->q_blkno = XFS_FSB_TO_DADDR(mp, map.br_startblock); in xfs_dquot_disk_read()
Dxfs_bmap_item.c323 map->me_startblock = bmap->bi_bmap.br_startblock; in xfs_bmap_update_log_item()
379 bmap->bi_bmap.br_startblock, in xfs_bmap_update_finish_item()
524 irec.br_startblock = bmap->me_startblock; in xfs_bui_item_recover()
Dxfs_refcount_item.c533 irec.br_startblock = new_fsb; in xfs_cui_item_recover()
544 irec.br_startblock, in xfs_cui_item_recover()
549 irec.br_startblock, in xfs_cui_item_recover()
Dxfs_qm.c1020 ASSERT(map[i].br_startblock != DELAYSTARTBLOCK); in xfs_qm_reset_dqcounts_buf()
1026 if (map[i].br_startblock == HOLESTARTBLOCK) in xfs_qm_reset_dqcounts_buf()
1035 (map[i+1].br_startblock != HOLESTARTBLOCK)) { in xfs_qm_reset_dqcounts_buf()
1037 rablkno = map[i+1].br_startblock; in xfs_qm_reset_dqcounts_buf()
1051 map[i].br_startblock, in xfs_qm_reset_dqcounts_buf()
Dxfs_rtalloc.c832 for (bno = map.br_startoff, fsbno = map.br_startblock; in xfs_growfs_rt_alloc()
/Linux-v5.15/fs/xfs/scrub/
Dbmap.c242 xchk_xref_is_used_rt_space(info->sc, irec->br_startblock, in xchk_bmap_rt_iextent_xref()
259 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
260 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
340 if (irec->br_startblock == HOLESTARTBLOCK) in xchk_bmap_iextent()
348 if (isnullstartblock(irec->br_startblock)) in xchk_bmap_iextent()
357 !xfs_verify_rtext(mp, irec->br_startblock, irec->br_blockcount)) in xchk_bmap_iextent()
361 !xfs_verify_fsbext(mp, irec->br_startblock, irec->br_blockcount)) in xchk_bmap_iextent()
429 irec.br_startblock != iext_irec.br_startblock || in xchk_bmapbt_rec()
520 if (irec.br_startblock != XFS_AGB_TO_FSB(sc->mp, in xchk_bmap_check_rmap()
713 if (isnullstartblock(irec.br_startblock)) in xchk_bmap()
Dquota.c196 if (isnullstartblock(irec.br_startblock) || in xchk_quota_data_fork()

12