Home
last modified time | relevance | path

Searched refs:ib_umem_num_pages (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/infiniband/core/
Dumem.c191 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()
Dumem_dmabuf.c150 if (!ib_umem_num_pages(umem)) in ib_umem_dmabuf_get()
/linux-6.6.21/include/rdma/
Dib_umem.h69 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/
Dmr.c1414 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()
Dcq.c773 ib_umem_num_pages(cq->buf.umem), page_size, ncont); in create_cq_user()
Dodp.c725 return ib_umem_num_pages(mr->umem); in pagefault_dmabuf_mr()
Dqp.c918 ib_umem_num_pages(rwq->umem), page_size, rwq->rq_num_pas, in create_user_rq()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dmr.c353 n = ib_umem_num_pages(umem); in rvt_reg_user_mr()