Home
last modified time | relevance | path

Searched refs:odp (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dodp.c56 static int check_parent(struct ib_umem_odp *odp, in check_parent() argument
59 struct mlx5_ib_mr *mr = odp->private; in check_parent()
61 return mr && mr->parent == parent && !odp->dying; in check_parent()
64 static struct ib_umem_odp *odp_next(struct ib_umem_odp *odp) in odp_next() argument
66 struct mlx5_ib_mr *mr = odp->private, *parent = mr->parent; in odp_next()
67 struct ib_ucontext *ctx = odp->umem->context; in odp_next()
72 rb = rb_next(&odp->interval_tree.rb); in odp_next()
75 odp = rb_entry(rb, struct ib_umem_odp, interval_tree.rb); in odp_next()
76 if (check_parent(odp, parent)) in odp_next()
80 odp = NULL; in odp_next()
[all …]
DMakefile4 mlx5_ib-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += odp.o
Dmem.c155 const bool odp = umem->odp_data != NULL; in __mlx5_ib_populate_pas() local
157 if (odp) { in __mlx5_ib_populate_pas()