Searched refs:dct_xa (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/infiniband/hw/mlx5/ |
H A D | qpc.c | 98 xa_lock_irqsave(&dev->qp_table.dct_xa, flags); in dct_event_notifier() 99 dct = xa_load(&dev->qp_table.dct_xa, qpn); in dct_event_notifier() 102 xa_unlock_irqrestore(&dev->qp_table.dct_xa, flags); in dct_event_notifier() 222 err = xa_err(xa_store_irq(&dev->qp_table.dct_xa, qp->qpn, dct, GFP_KERNEL)); in mlx5_core_create_dct() 294 tmp = xa_cmpxchg_irq(&table->dct_xa, dct->mqp.qpn, dct, XA_ZERO_ENTRY, GFP_KERNEL); in mlx5_core_destroy_dct() 300 xa_cmpxchg_irq(&table->dct_xa, dct->mqp.qpn, XA_ZERO_ENTRY, dct, 0); in mlx5_core_destroy_dct() 303 xa_erase_irq(&table->dct_xa, dct->mqp.qpn); in mlx5_core_destroy_dct() 508 xa_init(&table->dct_xa); in mlx5_init_qp_table()
|
H A D | qp.h | 13 struct xarray dct_xa; member
|