Lines Matching defs:umem
34 /* @umem: umem object to scan
37 * @count: number of PAGE_SIZE pages covered by umem
42 void mlx5_ib_cont_pages(struct ib_umem *umem, u64 addr,
61 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, entry) {
114 * Populate the given array with bus addresses from the umem.
117 * umem - umem to use to fill the pages
119 * offset - offset into the umem to start from,
126 void __mlx5_ib_populate_pas(struct mlx5_ib_dev *dev, struct ib_umem *umem,
130 unsigned long umem_page_shift = ilog2(umem->page_size);
140 const bool odp = umem->odp_data != NULL;
147 dma_addr_t pa = umem->odp_data->dma_list[offset + i];
156 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, entry) {
175 void mlx5_ib_populate_pas(struct mlx5_ib_dev *dev, struct ib_umem *umem,
178 return __mlx5_ib_populate_pas(dev, umem, page_shift, 0,
179 ib_umem_num_pages(umem), pas,