Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c377 rdi->qp_dev = kzalloc_node(sizeof(*rdi->qp_dev), GFP_KERNEL, in rvt_driver_qp_init()
379 if (!rdi->qp_dev) in rvt_driver_qp_init()
383 rdi->qp_dev->qp_table_size = rdi->dparms.qp_table_size; in rvt_driver_qp_init()
384 rdi->qp_dev->qp_table_bits = ilog2(rdi->dparms.qp_table_size); in rvt_driver_qp_init()
385 rdi->qp_dev->qp_table = in rvt_driver_qp_init()
386 kmalloc_array_node(rdi->qp_dev->qp_table_size, in rvt_driver_qp_init()
387 sizeof(*rdi->qp_dev->qp_table), in rvt_driver_qp_init()
389 if (!rdi->qp_dev->qp_table) in rvt_driver_qp_init()
392 for (i = 0; i < rdi->qp_dev->qp_table_size; i++) in rvt_driver_qp_init()
393 RCU_INIT_POINTER(rdi->qp_dev->qp_table[i], NULL); in rvt_driver_qp_init()
[all …]
/linux-6.1.9/include/rdma/
Drdmavt_qp.h707 u32 n = hash_32(qpn, rdi->qp_dev->qp_table_bits); in rvt_lookup_qpn()
709 for (qp = rcu_dereference(rdi->qp_dev->qp_table[n]); qp; in rvt_lookup_qpn()
Drdma_vt.h407 struct rvt_qp_ibdev *qp_dev; member