Lines Matching refs:xa_rej_tmout
61 struct xarray *xa_rej_tmout; member
352 deleted = xa_cmpxchg(item->xa_rej_tmout, item->rem_pv_cm_id, item, NULL, 0); in rej_tmout_timeout()
366 xa_lock(&sriov->xa_rej_tmout); in alloc_rej_tmout()
367 item = xa_load(&sriov->xa_rej_tmout, (unsigned long)rem_pv_cm_id); in alloc_rej_tmout()
377 xa_unlock(&sriov->xa_rej_tmout); in alloc_rej_tmout()
386 item->xa_rej_tmout = &sriov->xa_rej_tmout; in alloc_rej_tmout()
388 old = xa_cmpxchg(&sriov->xa_rej_tmout, (unsigned long)rem_pv_cm_id, NULL, item, GFP_KERNEL); in alloc_rej_tmout()
402 xa_unlock(&sriov->xa_rej_tmout); in alloc_rej_tmout()
411 xa_lock(&sriov->xa_rej_tmout); in lookup_rej_tmout_slave()
412 item = xa_load(&sriov->xa_rej_tmout, (unsigned long)rem_pv_cm_id); in lookup_rej_tmout_slave()
421 xa_unlock(&sriov->xa_rej_tmout); in lookup_rej_tmout_slave()
491 xa_init(&dev->sriov.xa_rej_tmout); in mlx4_ib_cm_paravirt_init()
501 xa_lock(&sriov->xa_rej_tmout); in rej_tmout_xa_cleanup()
502 xa_for_each(&sriov->xa_rej_tmout, id, item) { in rej_tmout_xa_cleanup()
509 xa_unlock(&sriov->xa_rej_tmout); in rej_tmout_xa_cleanup()
518 WARN_ON(!xa_empty(&sriov->xa_rej_tmout)); in rej_tmout_xa_cleanup()