Lines Matching refs:bmap
111 struct xfs_map_extent *bmap, in xfs_trans_set_bmap_flags() argument
116 bmap->me_flags = 0; in xfs_trans_set_bmap_flags()
120 bmap->me_flags = type; in xfs_trans_set_bmap_flags()
126 bmap->me_flags |= XFS_BMAP_EXTENT_UNWRITTEN; in xfs_trans_set_bmap_flags()
128 bmap->me_flags |= XFS_BMAP_EXTENT_ATTR_FORK; in xfs_trans_set_bmap_flags()
139 struct xfs_bmap_intent *bmap; in xfs_bmap_update_log_item() local
143 bmap = container_of(item, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_log_item()
156 map->me_owner = bmap->bi_owner->i_ino; in xfs_bmap_update_log_item()
157 map->me_startblock = bmap->bi_bmap.br_startblock; in xfs_bmap_update_log_item()
158 map->me_startoff = bmap->bi_bmap.br_startoff; in xfs_bmap_update_log_item()
159 map->me_len = bmap->bi_bmap.br_blockcount; in xfs_bmap_update_log_item()
160 xfs_trans_set_bmap_flags(map, bmap->bi_type, bmap->bi_whichfork, in xfs_bmap_update_log_item()
161 bmap->bi_bmap.br_state); in xfs_bmap_update_log_item()
182 struct xfs_bmap_intent *bmap; in xfs_bmap_update_finish_item() local
186 bmap = container_of(item, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_finish_item()
187 count = bmap->bi_bmap.br_blockcount; in xfs_bmap_update_finish_item()
189 bmap->bi_type, in xfs_bmap_update_finish_item()
190 bmap->bi_owner, bmap->bi_whichfork, in xfs_bmap_update_finish_item()
191 bmap->bi_bmap.br_startoff, in xfs_bmap_update_finish_item()
192 bmap->bi_bmap.br_startblock, in xfs_bmap_update_finish_item()
194 bmap->bi_bmap.br_state); in xfs_bmap_update_finish_item()
196 ASSERT(bmap->bi_type == XFS_BMAP_UNMAP); in xfs_bmap_update_finish_item()
197 bmap->bi_bmap.br_blockcount = count; in xfs_bmap_update_finish_item()
200 kmem_free(bmap); in xfs_bmap_update_finish_item()
217 struct xfs_bmap_intent *bmap; in xfs_bmap_update_cancel_item() local
219 bmap = container_of(item, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_cancel_item()
220 kmem_free(bmap); in xfs_bmap_update_cancel_item()