Searched refs:contexts_num (Results 1 – 3 of 3) sorted by relevance
234 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()
711 atomic_t contexts_num; member
1971 atomic_read(&adapter->contexts_num)); in cxl_pci_error_detected()