Searched refs:b_maps (Results 1 – 5 of 5) sorted by relevance
242 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_size()443 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_format()898 chunks = DIV_ROUND_UP(BBTOB(bp->b_maps[i].bm_len), in xfs_buf_item_init()907 BBTOB(bp->b_maps[i].bm_len)); in xfs_buf_item_init()912 bip->bli_formats[i].blf_blkno = bp->b_maps[i].bm_bn; in xfs_buf_item_init()913 bip->bli_formats[i].blf_len = bp->b_maps[i].bm_len; in xfs_buf_item_init()1029 end = start + BBTOB(bp->b_maps[i].bm_len) - 1; in xfs_buf_item_log()1033 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()1050 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()
190 ASSERT(bp->b_maps == NULL); in xfs_buf_get_maps()194 bp->b_maps = &bp->__b_map; in xfs_buf_get_maps()198 bp->b_maps = kzalloc(map_count * sizeof(struct xfs_buf_map), in xfs_buf_get_maps()200 if (!bp->b_maps) in xfs_buf_get_maps()212 if (bp->b_maps != &bp->__b_map) { in xfs_buf_free_maps()213 kfree(bp->b_maps); in xfs_buf_free_maps()214 bp->b_maps = NULL; in xfs_buf_free_maps()266 bp->b_maps[i].bm_bn = map[i].bm_bn; in _xfs_buf_alloc()267 bp->b_maps[i].bm_len = map[i].bm_len; in _xfs_buf_alloc()804 ASSERT(bp->b_maps[0].bm_bn != XFS_BUF_DADDR_NULL); in _xfs_buf_read()[all …]
197 struct xfs_buf_map *b_maps; /* compound buffer map */ member341 return bp->b_maps[0].bm_bn; in xfs_buf_daddr()
756 chunks = DIV_ROUND_UP(BBTOB(bp->b_maps[i].bm_len), in xreap_buf_loggable()
385 bp->b_maps[0].bm_bn = blkno; in xfs_get_aghdr_buf()