Searched refs:ib_umem_num_pages (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/infiniband/core/ |
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()
|
D | umem_dmabuf.c | 150 if (!ib_umem_num_pages(umem)) in ib_umem_dmabuf_get()
|
/linux-6.6.21/include/rdma/ |
D | ib_umem.h | 69 static inline size_t ib_umem_num_pages(struct ib_umem *umem) in ib_umem_num_pages() function
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | mr.c | 1414 atomic_add(ib_umem_num_pages(umem), &dev->mdev->priv.reg_pages); in create_real_mr() 1570 atomic_add(ib_umem_num_pages(mr->umem), &dev->mdev->priv.reg_pages); in mlx5_ib_reg_user_mr_dmabuf() 1665 atomic_sub(ib_umem_num_pages(old_umem), &dev->mdev->priv.reg_pages); in umr_rereg_pas() 1667 atomic_add(ib_umem_num_pages(new_umem), &dev->mdev->priv.reg_pages); in umr_rereg_pas() 1721 atomic_sub(ib_umem_num_pages(umem), &dev->mdev->priv.reg_pages); in mlx5_ib_rereg_user_mr() 1923 atomic_sub(ib_umem_num_pages(mr->umem), in mlx5_ib_dereg_mr()
|
D | cq.c | 773 ib_umem_num_pages(cq->buf.umem), page_size, ncont); in create_cq_user()
|
D | odp.c | 725 return ib_umem_num_pages(mr->umem); in pagefault_dmabuf_mr()
|
D | qp.c | 918 ib_umem_num_pages(rwq->umem), page_size, rwq->rq_num_pas, in create_user_rq()
|
/linux-6.6.21/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 353 n = ib_umem_num_pages(umem); in rvt_reg_user_mr()
|