Lines Matching defs:bmap
47 * Compute and fill in the value of the maximum depth of a bmap btree
612 struct xfs_btree_cur *cur; /* bmap btree cursor */
734 * (The bmap-level manipulations are ok, though).
908 struct xfs_btree_cur *cur; /* bmap btree cursor */
3049 struct xfs_bmalloca *ap) /* bmap alloc argument struct */
4103 * for in this bmap call but that wouldn't be as good.
5266 struct xfs_btree_cur *cur; /* bmap btree cursor */
5610 * A bmap extent shift adjusts the file offset of an extent to fill a preceding
6075 struct xfs_bmbt_irec *bmap)
6077 return bmap->br_startblock != HOLESTARTBLOCK &&
6078 bmap->br_startblock != DELAYSTARTBLOCK;
6081 /* Record a bmap intent. */
6088 struct xfs_bmbt_irec *bmap)
6093 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock),
6095 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock),
6097 bmap->br_startoff,
6098 bmap->br_blockcount,
6099 bmap->br_state);
6106 bi->bi_bmap = *bmap;
6140 * Process one of the deferred bmap operations. We pass back the
6148 struct xfs_bmbt_irec *bmap = &bi->bi_bmap;
6154 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock),
6156 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock),
6158 bmap->br_startoff, bmap->br_blockcount,
6159 bmap->br_state);
6170 error = xfs_bmapi_remap(tp, bi->bi_owner, bmap->br_startoff,
6171 bmap->br_blockcount, bmap->br_startblock, 0);
6172 bmap->br_blockcount = 0;
6175 error = __xfs_bunmapi(tp, bi->bi_owner, bmap->br_startoff,
6176 &bmap->br_blockcount, XFS_BMAPI_REMAP, 1);