Lines Matching refs:b_maps
188 ASSERT(bp->b_maps == NULL); in xfs_buf_get_maps()
192 bp->b_maps = &bp->__b_map; in xfs_buf_get_maps()
196 bp->b_maps = kmem_zalloc(map_count * sizeof(struct xfs_buf_map), in xfs_buf_get_maps()
198 if (!bp->b_maps) in xfs_buf_get_maps()
210 if (bp->b_maps != &bp->__b_map) { in xfs_buf_free_maps()
211 kmem_free(bp->b_maps); in xfs_buf_free_maps()
212 bp->b_maps = NULL; in xfs_buf_free_maps()
262 bp->b_maps[i].bm_bn = map[i].bm_bn; in _xfs_buf_alloc()
263 bp->b_maps[i].bm_len = map[i].bm_len; in _xfs_buf_alloc()
393 start = BBTOB(bp->b_maps[0].bm_bn) >> PAGE_SHIFT; in xfs_buf_allocate_memory()
394 end = (BBTOB(bp->b_maps[0].bm_bn + bp->b_length) + PAGE_SIZE - 1) in xfs_buf_allocate_memory()
770 ASSERT(bp->b_maps[0].bm_bn != XFS_BUF_DADDR_NULL); in _xfs_buf_read()
856 bp->b_maps[0].bm_bn = daddr; in xfs_buf_read_uncached()
891 bp->b_maps[0].bm_bn = XFS_BUF_DADDR_NULL; in xfs_buf_set_empty()
892 bp->b_maps[0].bm_len = bp->b_length; in xfs_buf_set_empty()
1315 sector_t sector = bp->b_maps[map].bm_bn; in xfs_buf_ioapply_map()
1331 size = min_t(int, BBTOB(bp->b_maps[map].bm_len), *count); in xfs_buf_ioapply_map()
1945 diff = ap->b_maps[0].bm_bn - bp->b_maps[0].bm_bn; in xfs_buf_cmp()