Home
last modified time | relevance | path

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

/drivers/misc/cxl/
Dmain.c234 atomic_set(&adapter->contexts_num, -1); in cxl_alloc_adapter()
282 rc = atomic_inc_unless_negative(&adapter->contexts_num); in cxl_adapter_context_get()
288 atomic_dec_if_positive(&adapter->contexts_num); in cxl_adapter_context_put()
295 rc = atomic_cmpxchg(&adapter->contexts_num, 0, -1); in cxl_adapter_context_lock()
301 int val = atomic_cmpxchg(&adapter->contexts_num, -1, 0); in cxl_adapter_context_unlock()
310 atomic_set(&adapter->contexts_num, 0); in cxl_adapter_context_unlock()
Dcxl.h711 atomic_t contexts_num; member
Dpci.c1962 atomic_read(&adapter->contexts_num)); in cxl_pci_error_detected()