Searched refs:b_maps (Results 1 – 4 of 4) sorted by relevance
120 ASSERT(bp->b_maps == NULL); in xfs_buf_get_maps()124 bp->b_maps = &bp->__b_map; in xfs_buf_get_maps()128 bp->b_maps = kmem_zalloc(map_count * sizeof(struct xfs_buf_map), in xfs_buf_get_maps()130 if (!bp->b_maps) in xfs_buf_get_maps()142 if (bp->b_maps != &bp->__b_map) { in xfs_buf_free_maps()143 kmem_free(bp->b_maps); in xfs_buf_free_maps()144 bp->b_maps = NULL; in xfs_buf_free_maps()195 bp->b_maps[i].bm_bn = map[i].bm_bn; in _xfs_buf_alloc()196 bp->b_maps[i].bm_len = map[i].bm_len; in _xfs_buf_alloc()326 start = BBTOB(bp->b_maps[0].bm_bn) >> PAGE_SHIFT; in xfs_buf_allocate_memory()[all …]
362 offset += bp->b_maps[i].bm_len; in xfs_buf_item_format()793 chunks = DIV_ROUND_UP(BBTOB(bp->b_maps[i].bm_len), in xfs_buf_item_init()798 bip->bli_formats[i].blf_blkno = bp->b_maps[i].bm_bn; in xfs_buf_item_init()799 bip->bli_formats[i].blf_len = bp->b_maps[i].bm_len; in xfs_buf_item_init()918 end = start + BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()920 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()931 start += bp->b_maps[i].bm_len; in xfs_buf_item_log()
177 struct xfs_buf_map *b_maps; /* compound buffer map */ member350 #define XFS_BUF_ADDR(bp) ((bp)->b_maps[0].bm_bn)351 #define XFS_BUF_SET_ADDR(bp, bno) ((bp)->b_maps[0].bm_bn = (xfs_daddr_t)(bno))
137 bp->b_maps[0].bm_bn = blkno; in xfs_growfs_get_hdr_buf()