Searched refs:b_maps (Results 1 – 4 of 4) sorted by relevance
240 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_size()441 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_format()823 chunks = DIV_ROUND_UP(BBTOB(bp->b_maps[i].bm_len), in xfs_buf_item_init()832 BBTOB(bp->b_maps[i].bm_len)); in xfs_buf_item_init()837 bip->bli_formats[i].blf_blkno = bp->b_maps[i].bm_bn; in xfs_buf_item_init()838 bip->bli_formats[i].blf_len = bp->b_maps[i].bm_len; in xfs_buf_item_init()954 end = start + BBTOB(bp->b_maps[i].bm_len) - 1; in xfs_buf_item_log()958 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()975 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()
182 ASSERT(bp->b_maps == NULL); in xfs_buf_get_maps()186 bp->b_maps = &bp->__b_map; in xfs_buf_get_maps()190 bp->b_maps = kmem_zalloc(map_count * sizeof(struct xfs_buf_map), in xfs_buf_get_maps()192 if (!bp->b_maps) in xfs_buf_get_maps()204 if (bp->b_maps != &bp->__b_map) { in xfs_buf_free_maps()205 kmem_free(bp->b_maps); in xfs_buf_free_maps()206 bp->b_maps = NULL; in xfs_buf_free_maps()257 bp->b_maps[i].bm_bn = map[i].bm_bn; in _xfs_buf_alloc()258 bp->b_maps[i].bm_len = map[i].bm_len; in _xfs_buf_alloc()717 ASSERT(bp->b_maps[0].bm_bn != XFS_BUF_DADDR_NULL); in _xfs_buf_read()[all …]
165 struct xfs_buf_map *b_maps; /* compound buffer map */ member302 return bp->b_maps[0].bm_bn; in xfs_buf_daddr()
316 bp->b_maps[0].bm_bn = blkno; in xfs_get_aghdr_buf()