Lines Matching refs:bmap
2477 struct xfs_bmbt_irec *bmap) in __xfs_rmap_add() argument
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()
2486 bmap->br_startoff, in __xfs_rmap_add()
2487 bmap->br_blockcount, in __xfs_rmap_add()
2488 bmap->br_state); in __xfs_rmap_add()
2495 ri->ri_bmap = *bmap; in __xfs_rmap_add()
2572 struct xfs_bmbt_irec bmap; in xfs_rmap_alloc_extent() local
2577 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_alloc_extent()
2578 bmap.br_blockcount = len; in xfs_rmap_alloc_extent()
2579 bmap.br_startoff = 0; in xfs_rmap_alloc_extent()
2580 bmap.br_state = XFS_EXT_NORM; in xfs_rmap_alloc_extent()
2582 __xfs_rmap_add(tp, XFS_RMAP_ALLOC, owner, XFS_DATA_FORK, &bmap); in xfs_rmap_alloc_extent()
2594 struct xfs_bmbt_irec bmap; in xfs_rmap_free_extent() local
2599 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_free_extent()
2600 bmap.br_blockcount = len; in xfs_rmap_free_extent()
2601 bmap.br_startoff = 0; in xfs_rmap_free_extent()
2602 bmap.br_state = XFS_EXT_NORM; in xfs_rmap_free_extent()
2604 __xfs_rmap_add(tp, XFS_RMAP_FREE, owner, XFS_DATA_FORK, &bmap); in xfs_rmap_free_extent()