Searched refs:hem_alloc_size (Results 1 – 1 of 1) sorted by relevance
252 unsigned long hem_alloc_size, in hns_roce_alloc_hem() argument261 order = get_order(hem_alloc_size); in hns_roce_alloc_hem()262 if (PAGE_SIZE << order != hem_alloc_size) { in hns_roce_alloc_hem()264 hem_alloc_size); in hns_roce_alloc_hem()273 buf = dma_alloc_coherent(hr_dev->dev, hem_alloc_size, in hns_roce_alloc_hem()279 hem->size = hem_alloc_size; in hns_roce_alloc_hem()