/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_bmap.c | 113 cur->bc_rec.b.br_startblock = 0; in xfs_bmbt_lookup_first() 509 ASSERT(mval[i].br_startblock != DELAYSTARTBLOCK && in xfs_bmap_validate_ret() 510 mval[i].br_startblock != HOLESTARTBLOCK); in xfs_bmap_validate_ret() 747 if (isnullstartblock(rec.br_startblock)) in xfs_bmap_extents_to_btree() 904 rec.br_startblock = args.fsbno; in xfs_bmap_local_to_extents() 1414 isnullstartblock(rec.br_startblock)); in xfs_bmap_isaeof() 1511 ASSERT(!isnullstartblock(new->br_startblock)); in xfs_bmap_add_extent_delay_real() 1526 ASSERT(isnullstartblock(PREV.br_startblock)); in xfs_bmap_add_extent_delay_real() 1530 da_old = startblockval(PREV.br_startblock); in xfs_bmap_add_extent_delay_real() 1548 if (isnullstartblock(LEFT.br_startblock)) in xfs_bmap_add_extent_delay_real() [all …]
|
D | xfs_attr_remote.c | 415 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() 614 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_set() [all …]
|
D | xfs_bmap.h | 164 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()
|
D | xfs_bmap_btree.c | 68 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()
|
D | xfs_iext_tree.c | 59 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()
|
D | xfs_types.h | 166 xfs_fsblock_t br_startblock; /* starting block number */ member
|
D | xfs_rtbitmap.c | 76 ASSERT(map.br_startblock != NULLFSBLOCK); in xfs_rtbuf_get() 78 XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_rtbuf_get()
|
D | xfs_inode_fork.c | 552 if (isnullstartblock(rec.br_startblock)) in xfs_iextents_copy()
|
D | xfs_rmap.c | 2482 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add() 2484 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add() 2577 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_alloc_extent() 2599 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_free_extent()
|
D | xfs_da_btree.c | 2538 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()
|
D | xfs_refcount.c | 1265 __xfs_refcount_add(tp, XFS_REFCOUNT_INCREASE, PREV->br_startblock, in xfs_refcount_increase_extent() 1280 __xfs_refcount_add(tp, XFS_REFCOUNT_DECREASE, PREV->br_startblock, in xfs_refcount_decrease_extent()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | bmap.c | 242 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() 336 if (irec->br_startblock == HOLESTARTBLOCK) in xchk_bmap_iextent() 344 if (isnullstartblock(irec->br_startblock)) 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() 357 (!xfs_verify_rtbno(mp, irec->br_startblock) || in xchk_bmap_iextent() 362 (!xfs_verify_fsbno(mp, irec->br_startblock) || in xchk_bmap_iextent() 364 XFS_FSB_TO_AGNO(mp, irec->br_startblock) != in xchk_bmap_iextent() [all …]
|
D | quota.c | 197 if (isnullstartblock(irec.br_startblock) || in xchk_quota_data_fork()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_reflink.c | 189 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() 487 if (isnullstartblock(del.br_startblock)) { in xfs_reflink_cancel_cow_blocks() 496 xfs_refcount_free_cow_extent(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks() 499 xfs_bmap_add_free(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks() 674 xfs_refcount_free_cow_extent(tp, del.br_startblock, del.br_blockcount); in xfs_reflink_end_cow_extent() 1043 if (dmap->br_startblock == smap.br_startblock) { in xfs_reflink_remap_extent() [all …]
|
D | xfs_pnfs.c | 146 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()
|
D | xfs_iomap.c | 45 (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() 280 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) in xfs_iomap_write_direct() 406 isnullstartblock(got.br_startblock) || in xfs_iomap_prealloc_size() 408 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size() 595 if (unlikely(!xfs_valid_startblock(ip, imap.br_startblock))) in xfs_iomap_write_unwritten() [all …]
|
D | xfs_bmap_util.c | 193 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves() 272 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one() 273 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one() 288 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one() 348 if (!isnullstartblock(rec->br_startblock) && in xfs_getbmap_next_rec() 349 rec->br_startblock != DELAYSTARTBLOCK) in xfs_getbmap_next_rec() 350 rec->br_startblock += rec->br_blockcount; in xfs_getbmap_next_rec() 577 !isnullstartblock(del.br_startblock)) { in xfs_bmap_punch_delalloc_range() 668 (imap.br_startblock != HOLESTARTBLOCK || in xfs_free_eofblocks() 1359 ASSERT(tirec.br_startblock != DELAYSTARTBLOCK); in xfs_swap_extent_rmap() [all …]
|
D | xfs_rmap_item.c | 349 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()
|
D | xfs_symlink.c | 53 d = XFS_FSB_TO_DADDR(mp, mval[n].br_startblock); in xfs_readlink_bmap_ilocked() 276 d = XFS_FSB_TO_DADDR(mp, mval[n].br_startblock); in xfs_symlink() 421 XFS_FSB_TO_DADDR(mp, mval[i].br_startblock), in xfs_inactive_symlink_rmt()
|
D | xfs_dquot.c | 326 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_dquot_disk_alloc() 327 (map.br_startblock != HOLESTARTBLOCK)); in xfs_dquot_disk_alloc() 332 dqp->q_blkno = XFS_FSB_TO_DADDR(mp, map.br_startblock); in xfs_dquot_disk_alloc() 419 ASSERT(map.br_startblock != DELAYSTARTBLOCK); in xfs_dquot_disk_read() 420 if (map.br_startblock == HOLESTARTBLOCK) in xfs_dquot_disk_read() 429 dqp->q_blkno = XFS_FSB_TO_DADDR(mp, map.br_startblock); in xfs_dquot_disk_read()
|
D | xfs_refcount_item.c | 520 irec.br_startblock = new_fsb; in xfs_cui_item_recover() 531 irec.br_startblock, in xfs_cui_item_recover() 536 irec.br_startblock, in xfs_cui_item_recover()
|
D | xfs_bmap_item.c | 324 map->me_startblock = bmap->bi_bmap.br_startblock; in xfs_bmap_update_log_item() 380 bmap->bi_bmap.br_startblock, in xfs_bmap_update_finish_item() 509 irec.br_startblock = bmap->me_startblock; in xfs_bui_item_recover()
|
D | xfs_aops.c | 437 imap.br_startblock = HOLESTARTBLOCK; in xfs_map_blocks() 452 if (imap.br_startblock != HOLESTARTBLOCK && in xfs_map_blocks() 453 isnullstartblock(imap.br_startblock)) in xfs_map_blocks()
|
D | xfs_qm.c | 1019 ASSERT(map[i].br_startblock != DELAYSTARTBLOCK); in xfs_qm_reset_dqcounts_buf() 1025 if (map[i].br_startblock == HOLESTARTBLOCK) in xfs_qm_reset_dqcounts_buf() 1034 (map[i+1].br_startblock != HOLESTARTBLOCK)) { in xfs_qm_reset_dqcounts_buf() 1036 rablkno = map[i+1].br_startblock; in xfs_qm_reset_dqcounts_buf() 1050 map[i].br_startblock, in xfs_qm_reset_dqcounts_buf()
|
D | xfs_rtalloc.c | 827 for (bno = map.br_startoff, fsbno = map.br_startblock; in xfs_growfs_rt_alloc()
|