fsbno 2803 fs/xfs/libxfs/xfs_alloc.c ASSERT(XFS_FSB_TO_AGNO(mp, args->fsbno) < mp->m_sb.sb_agcount); fsbno 2804 fs/xfs/libxfs/xfs_alloc.c ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); fsbno 2808 fs/xfs/libxfs/xfs_alloc.c if (XFS_FSB_TO_AGNO(mp, args->fsbno) >= mp->m_sb.sb_agcount || fsbno 2809 fs/xfs/libxfs/xfs_alloc.c XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || fsbno 2812 fs/xfs/libxfs/xfs_alloc.c args->fsbno = NULLFSBLOCK; fsbno 2824 fs/xfs/libxfs/xfs_alloc.c args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); fsbno 2835 fs/xfs/libxfs/xfs_alloc.c args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); fsbno 2846 fs/xfs/libxfs/xfs_alloc.c args->fsbno = XFS_AGB_TO_FSB(mp, fsbno 2851 fs/xfs/libxfs/xfs_alloc.c args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); fsbno 2862 fs/xfs/libxfs/xfs_alloc.c args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); fsbno 2870 fs/xfs/libxfs/xfs_alloc.c args->agno = sagno = XFS_FSB_TO_AGNO(mp, args->fsbno); fsbno 2928 fs/xfs/libxfs/xfs_alloc.c args->fsbno); fsbno 2948 fs/xfs/libxfs/xfs_alloc.c args->fsbno = NULLFSBLOCK; fsbno 2950 fs/xfs/libxfs/xfs_alloc.c args->fsbno = XFS_AGB_TO_FSB(mp, args->agno, args->agbno); fsbno 2955 fs/xfs/libxfs/xfs_alloc.c XFS_AG_CHECK_DADDR(mp, XFS_FSB_TO_DADDR(mp, args->fsbno), fsbno 2961 fs/xfs/libxfs/xfs_alloc.c error = xfs_zero_extent(args->ip, args->fsbno, args->len); fsbno 58 fs/xfs/libxfs/xfs_alloc.h xfs_fsblock_t fsbno; /* file system block number */ fsbno 701 fs/xfs/libxfs/xfs_bmap.c args.fsbno = XFS_INO_TO_FSB(mp, ip->i_ino); fsbno 704 fs/xfs/libxfs/xfs_bmap.c args.fsbno = tp->t_firstblock; fsbno 707 fs/xfs/libxfs/xfs_bmap.c args.fsbno = tp->t_firstblock; fsbno 716 fs/xfs/libxfs/xfs_bmap.c if (WARN_ON_ONCE(args.fsbno == NULLFSBLOCK)) { fsbno 726 fs/xfs/libxfs/xfs_bmap.c tp->t_firstblock = args.fsbno; fsbno 730 fs/xfs/libxfs/xfs_bmap.c abp = xfs_btree_get_bufl(mp, tp, args.fsbno); fsbno 763 fs/xfs/libxfs/xfs_bmap.c *pp = cpu_to_be64(args.fsbno); fsbno 862 fs/xfs/libxfs/xfs_bmap.c args.fsbno = XFS_INO_TO_FSB(args.mp, ip->i_ino); fsbno 865 fs/xfs/libxfs/xfs_bmap.c args.fsbno = tp->t_firstblock; fsbno 875 fs/xfs/libxfs/xfs_bmap.c ASSERT(args.fsbno != NULLFSBLOCK); fsbno 877 fs/xfs/libxfs/xfs_bmap.c tp->t_firstblock = args.fsbno; fsbno 878 fs/xfs/libxfs/xfs_bmap.c bp = xfs_btree_get_bufl(args.mp, tp, args.fsbno); fsbno 899 fs/xfs/libxfs/xfs_bmap.c rec.br_startblock = args.fsbno; fsbno 3268 fs/xfs/libxfs/xfs_bmap.c startag = ag = XFS_FSB_TO_AGNO(mp, args->fsbno); fsbno 3302 fs/xfs/libxfs/xfs_bmap.c ag = XFS_FSB_TO_AGNO(mp, args->fsbno); fsbno 3328 fs/xfs/libxfs/xfs_bmap.c ap->blkno = args->fsbno = XFS_AGB_TO_FSB(mp, ag, 0); fsbno 3457 fs/xfs/libxfs/xfs_bmap.c args.fsbno = ap->blkno; fsbno 3564 fs/xfs/libxfs/xfs_bmap.c if (tryagain && args.fsbno == NULLFSBLOCK) { fsbno 3570 fs/xfs/libxfs/xfs_bmap.c args.fsbno = ap->blkno; fsbno 3578 fs/xfs/libxfs/xfs_bmap.c if (isaligned && args.fsbno == NULLFSBLOCK) { fsbno 3584 fs/xfs/libxfs/xfs_bmap.c args.fsbno = ap->blkno; fsbno 3589 fs/xfs/libxfs/xfs_bmap.c if (args.fsbno == NULLFSBLOCK && nullfb && fsbno 3593 fs/xfs/libxfs/xfs_bmap.c args.fsbno = ap->blkno; fsbno 3597 fs/xfs/libxfs/xfs_bmap.c if (args.fsbno == NULLFSBLOCK && nullfb) { fsbno 3598 fs/xfs/libxfs/xfs_bmap.c args.fsbno = 0; fsbno 3605 fs/xfs/libxfs/xfs_bmap.c if (args.fsbno != NULLFSBLOCK) { fsbno 3612 fs/xfs/libxfs/xfs_bmap.c XFS_FSB_TO_AGNO(mp, args.fsbno)); fsbno 3614 fs/xfs/libxfs/xfs_bmap.c ap->blkno = args.fsbno; fsbno 3616 fs/xfs/libxfs/xfs_bmap.c ap->tp->t_firstblock = args.fsbno; fsbno 207 fs/xfs/libxfs/xfs_bmap_btree.c args.fsbno = cur->bc_tp->t_firstblock; fsbno 211 fs/xfs/libxfs/xfs_bmap_btree.c if (args.fsbno == NULLFSBLOCK) { fsbno 212 fs/xfs/libxfs/xfs_bmap_btree.c args.fsbno = be64_to_cpu(start->l); fsbno 242 fs/xfs/libxfs/xfs_bmap_btree.c if (args.fsbno == NULLFSBLOCK && args.minleft) { fsbno 248 fs/xfs/libxfs/xfs_bmap_btree.c args.fsbno = 0; fsbno 255 fs/xfs/libxfs/xfs_bmap_btree.c if (WARN_ON_ONCE(args.fsbno == NULLFSBLOCK)) { fsbno 261 fs/xfs/libxfs/xfs_bmap_btree.c cur->bc_tp->t_firstblock = args.fsbno; fsbno 268 fs/xfs/libxfs/xfs_bmap_btree.c new->l = cpu_to_be64(args.fsbno); fsbno 285 fs/xfs/libxfs/xfs_bmap_btree.c xfs_fsblock_t fsbno = XFS_DADDR_TO_FSB(mp, XFS_BUF_ADDR(bp)); fsbno 289 fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmap_add_free(cur->bc_tp, fsbno, 1, &oinfo); fsbno 202 fs/xfs/libxfs/xfs_btree.c xfs_fsblock_t fsbno, fsbno 207 fs/xfs/libxfs/xfs_btree.c return xfs_verify_fsbno(cur->bc_mp, fsbno); fsbno 691 fs/xfs/libxfs/xfs_btree.c xfs_fsblock_t fsbno) /* file system block number */ fsbno 695 fs/xfs/libxfs/xfs_btree.c ASSERT(fsbno != NULLFSBLOCK); fsbno 696 fs/xfs/libxfs/xfs_btree.c d = XFS_FSB_TO_DADDR(mp, fsbno); fsbno 842 fs/xfs/libxfs/xfs_btree.c xfs_fsblock_t fsbno, /* file system block number */ fsbno 851 fs/xfs/libxfs/xfs_btree.c if (!xfs_verify_fsbno(mp, fsbno)) fsbno 853 fs/xfs/libxfs/xfs_btree.c d = XFS_FSB_TO_DADDR(mp, fsbno); fsbno 872 fs/xfs/libxfs/xfs_btree.c xfs_fsblock_t fsbno, /* file system block number */ fsbno 878 fs/xfs/libxfs/xfs_btree.c ASSERT(fsbno != NULLFSBLOCK); fsbno 879 fs/xfs/libxfs/xfs_btree.c d = XFS_FSB_TO_DADDR(mp, fsbno); fsbno 992 fs/xfs/libxfs/xfs_btree.c xfs_fsblock_t fsbno; fsbno 1001 fs/xfs/libxfs/xfs_btree.c fsbno = be64_to_cpu(ptr->l); fsbno 1002 fs/xfs/libxfs/xfs_btree.c *daddr = XFS_FSB_TO_DADDR(cur->bc_mp, fsbno); fsbno 267 fs/xfs/libxfs/xfs_btree.h xfs_fsblock_t fsbno, /* btree block disk address */ fsbno 304 fs/xfs/libxfs/xfs_btree.h xfs_fsblock_t fsbno); /* file system block number */ fsbno 345 fs/xfs/libxfs/xfs_btree.h xfs_fsblock_t fsbno, /* file system block number */ fsbno 357 fs/xfs/libxfs/xfs_btree.h xfs_fsblock_t fsbno, /* file system block number */ fsbno 568 fs/xfs/libxfs/xfs_format.h #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ fsbno 569 fs/xfs/libxfs/xfs_format.h XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno)) fsbno 579 fs/xfs/libxfs/xfs_format.h #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) fsbno 587 fs/xfs/libxfs/xfs_format.h #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog) fsbno 806 fs/xfs/libxfs/xfs_format.h #define XFS_FSB_TO_AGNO(mp,fsbno) \ fsbno 807 fs/xfs/libxfs/xfs_format.h ((xfs_agnumber_t)((fsbno) >> (mp)->m_sb.sb_agblklog)) fsbno 808 fs/xfs/libxfs/xfs_format.h #define XFS_FSB_TO_AGBNO(mp,fsbno) \ fsbno 809 fs/xfs/libxfs/xfs_format.h ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog))) fsbno 627 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = NULLFSBLOCK; fsbno 661 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); fsbno 699 fs/xfs/libxfs/xfs_ialloc.c if (unlikely(args.fsbno == NULLFSBLOCK)) { fsbno 721 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); fsbno 739 fs/xfs/libxfs/xfs_ialloc.c if (isaligned && args.fsbno == NULLFSBLOCK) { fsbno 742 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); fsbno 754 fs/xfs/libxfs/xfs_ialloc.c args.fsbno == NULLFSBLOCK) { fsbno 758 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); fsbno 789 fs/xfs/libxfs/xfs_ialloc.c if (args.fsbno == NULLFSBLOCK) { fsbno 86 fs/xfs/libxfs/xfs_ialloc_btree.c args.fsbno = XFS_AGB_TO_FSB(args.mp, cur->bc_private.a.agno, sbno); fsbno 97 fs/xfs/libxfs/xfs_ialloc_btree.c if (args.fsbno == NULLFSBLOCK) { fsbno 103 fs/xfs/libxfs/xfs_ialloc_btree.c new->s = cpu_to_be32(XFS_FSB_TO_AGBNO(args.mp, args.fsbno)); fsbno 874 fs/xfs/libxfs/xfs_refcount.c xfs_fsblock_t fsbno; fsbno 920 fs/xfs/libxfs/xfs_refcount.c fsbno = XFS_AGB_TO_FSB(cur->bc_mp, fsbno 923 fs/xfs/libxfs/xfs_refcount.c xfs_bmap_add_free(cur->bc_tp, fsbno, fsbno 963 fs/xfs/libxfs/xfs_refcount.c fsbno = XFS_AGB_TO_FSB(cur->bc_mp, fsbno 966 fs/xfs/libxfs/xfs_refcount.c xfs_bmap_add_free(cur->bc_tp, fsbno, ext.rc_blockcount, fsbno 69 fs/xfs/libxfs/xfs_refcount_btree.c args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, fsbno 80 fs/xfs/libxfs/xfs_refcount_btree.c if (args.fsbno == NULLFSBLOCK) { fsbno 106 fs/xfs/libxfs/xfs_refcount_btree.c xfs_fsblock_t fsbno = XFS_DADDR_TO_FSB(mp, XFS_BUF_ADDR(bp)); fsbno 110 fs/xfs/libxfs/xfs_refcount_btree.c XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno), 1); fsbno 113 fs/xfs/libxfs/xfs_refcount_btree.c error = xfs_free_extent(cur->bc_tp, fsbno, 1, &XFS_RMAP_OINFO_REFC, fsbno 55 fs/xfs/libxfs/xfs_types.c xfs_fsblock_t fsbno) fsbno 57 fs/xfs/libxfs/xfs_types.c xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); fsbno 61 fs/xfs/libxfs/xfs_types.c return xfs_verify_agbno(mp, agno, XFS_FSB_TO_AGBNO(mp, fsbno)); fsbno 188 fs/xfs/libxfs/xfs_types.h bool xfs_verify_fsbno(struct xfs_mount *mp, xfs_fsblock_t fsbno); fsbno 281 fs/xfs/scrub/bitmap.c xfs_fsblock_t fsbno; fsbno 287 fs/xfs/scrub/bitmap.c fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, bp->b_bn); fsbno 288 fs/xfs/scrub/bitmap.c return xfs_bitmap_set(bitmap, fsbno, 1); fsbno 286 fs/xfs/scrub/repair.c xfs_fsblock_t *fsbno, fsbno 303 fs/xfs/scrub/repair.c *fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.agno, bno); fsbno 314 fs/xfs/scrub/repair.c args.fsbno = XFS_AGB_TO_FSB(args.mp, sc->sa.agno, 0); fsbno 324 fs/xfs/scrub/repair.c if (args.fsbno == NULLFSBLOCK) fsbno 327 fs/xfs/scrub/repair.c *fsbno = args.fsbno; fsbno 438 fs/xfs/scrub/repair.c xfs_fsblock_t fsbno; fsbno 448 fs/xfs/scrub/repair.c for_each_xfs_bitmap_block(fsbno, bmr, n, bitmap) { fsbno 450 fs/xfs/scrub/repair.c if (!xfs_verify_fsbno(sc->mp, fsbno)) fsbno 453 fs/xfs/scrub/repair.c XFS_FSB_TO_DADDR(sc->mp, fsbno), fsbno 522 fs/xfs/scrub/repair.c xfs_fsblock_t fsbno, fsbno 533 fs/xfs/scrub/repair.c agno = XFS_FSB_TO_AGNO(sc->mp, fsbno); fsbno 534 fs/xfs/scrub/repair.c agbno = XFS_FSB_TO_AGBNO(sc->mp, fsbno); fsbno 576 fs/xfs/scrub/repair.c error = xfs_free_extent(sc->tp, fsbno, 1, oinfo, resv); fsbno 602 fs/xfs/scrub/repair.c xfs_fsblock_t fsbno; fsbno 607 fs/xfs/scrub/repair.c for_each_xfs_bitmap_block(fsbno, bmr, n, bitmap) { fsbno 609 fs/xfs/scrub/repair.c XFS_FSB_TO_AGNO(sc->mp, fsbno) == sc->sa.agno); fsbno 611 fs/xfs/scrub/repair.c XFS_FSB_TO_AGNO(sc->mp, fsbno), fsbno 612 fs/xfs/scrub/repair.c XFS_FSB_TO_AGBNO(sc->mp, fsbno), 1); fsbno 614 fs/xfs/scrub/repair.c error = xrep_reap_block(sc, fsbno, oinfo, type); fsbno 25 fs/xfs/scrub/repair.h const struct xfs_owner_info *oinfo, xfs_fsblock_t *fsbno, fsbno 122 fs/xfs/scrub/rtbitmap.c xfs_rtblock_t fsbno, fsbno 134 fs/xfs/scrub/rtbitmap.c startext = fsbno; fsbno 135 fs/xfs/scrub/rtbitmap.c endext = fsbno + len - 1; fsbno 200 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno; fsbno 204 fs/xfs/scrub/trace.h fsbno = XFS_DADDR_TO_FSB(sc->mp, daddr); fsbno 205 fs/xfs/scrub/trace.h agno = XFS_FSB_TO_AGNO(sc->mp, fsbno); fsbno 206 fs/xfs/scrub/trace.h bno = XFS_FSB_TO_AGBNO(sc->mp, fsbno); fsbno 337 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); fsbno 343 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); fsbno 344 fs/xfs/scrub/trace.h __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); fsbno 379 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); fsbno 387 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); fsbno 388 fs/xfs/scrub/trace.h __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); fsbno 421 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); fsbno 426 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); fsbno 427 fs/xfs/scrub/trace.h __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); fsbno 459 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); fsbno 466 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); fsbno 467 fs/xfs/scrub/trace.h __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); fsbno 499 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); fsbno 504 fs/xfs/scrub/trace.h __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); fsbno 505 fs/xfs/scrub/trace.h __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); fsbno 766 fs/xfs/xfs_rtalloc.c xfs_fsblock_t fsbno; /* filesystem block for bno */ fsbno 811 fs/xfs/xfs_rtalloc.c for (bno = map.br_startoff, fsbno = map.br_startblock; fsbno 813 fs/xfs/xfs_rtalloc.c bno++, fsbno++) { fsbno 829 fs/xfs/xfs_rtalloc.c d = XFS_FSB_TO_DADDR(mp, fsbno);