Searched refs:ib_umem_num_pages (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/infiniband/core/ |
H A D | umem.c | 191 npages = ib_umem_num_pages(umem); in ib_umem_get() 246 atomic64_sub(ib_umem_num_pages(umem), &mm->pinned_vm); in ib_umem_get() 273 atomic64_sub(ib_umem_num_pages(umem), &umem->owning_mm->pinned_vm); in ib_umem_release()
|
H A D | umem_dmabuf.c | 150 if (!ib_umem_num_pages(umem)) in ib_umem_dmabuf_get()
|
/openbmc/linux/include/rdma/ |
H A D | ib_umem.h | 69 static inline size_t ib_umem_num_pages(struct ib_umem *umem) in ib_umem_num_pages() function
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 1423 atomic_add(ib_umem_num_pages(umem), &dev->mdev->priv.reg_pages); in create_real_mr() 1579 atomic_add(ib_umem_num_pages(mr->umem), &dev->mdev->priv.reg_pages); in mlx5_ib_reg_user_mr_dmabuf() 1675 atomic_sub(ib_umem_num_pages(old_umem), &dev->mdev->priv.reg_pages); in umr_rereg_pas() 1677 atomic_add(ib_umem_num_pages(new_umem), &dev->mdev->priv.reg_pages); in umr_rereg_pas() 1731 atomic_sub(ib_umem_num_pages(umem), &dev->mdev->priv.reg_pages); in mlx5_ib_rereg_user_mr() 1933 atomic_sub(ib_umem_num_pages(mr->umem), in mlx5_ib_dereg_mr()
|
H A D | cq.c | 773 ib_umem_num_pages(cq->buf.umem), page_size, ncont); in create_cq_user()
|
H A D | odp.c | 723 return ib_umem_num_pages(mr->umem); in pagefault_dmabuf_mr()
|
H A D | qp.c | 918 ib_umem_num_pages(rwq->umem), page_size, rwq->rq_num_pas, in create_user_rq()
|
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | mr.c | 353 n = ib_umem_num_pages(umem); in rvt_reg_user_mr()
|