Home
last modified time | relevance | path

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

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