Lines Matching refs:queries
179 static DEFINE_XARRAY_FLAGS(queries, XA_FLAGS_ALLOC | XA_FLAGS_LOCK_IRQ);
1123 xa_lock_irqsave(&queries, flags); in ib_sa_cancel_query()
1124 if (xa_load(&queries, id) != query) { in ib_sa_cancel_query()
1125 xa_unlock_irqrestore(&queries, flags); in ib_sa_cancel_query()
1129 xa_unlock_irqrestore(&queries, flags); in ib_sa_cancel_query()
1309 xa_lock_irqsave(&queries, flags); in send_mad()
1310 ret = __xa_alloc(&queries, &id, query, xa_limit_32b, gfp_mask); in send_mad()
1311 xa_unlock_irqrestore(&queries, flags); in send_mad()
1336 xa_lock_irqsave(&queries, flags); in send_mad()
1337 __xa_erase(&queries, id); in send_mad()
1338 xa_unlock_irqrestore(&queries, flags); in send_mad()
1979 xa_lock_irqsave(&queries, flags); in send_handler()
1980 __xa_erase(&queries, query->id); in send_handler()
1981 xa_unlock_irqrestore(&queries, flags); in send_handler()
2267 WARN_ON(!xa_empty(&queries)); in ib_sa_cleanup()