Searched refs:iwkv_ (Results 1 – 1 of 1) sorted by relevance
273 #define ENSURE_OPEN(iwkv_) \ argument274 if (!(iwkv_) || !((iwkv_)->open)) return IW_ERROR_INVALID_STATE; \275 if ((iwkv_)->fatalrc) return (iwkv_)->fatalrc280 #define API_RLOCK(iwkv_, rci_) \ argument281 ENSURE_OPEN(iwkv_); \282 (rci_) = pthread_rwlock_rdlock(&(iwkv_)->rwl); \291 #define API_WLOCK(iwkv_, rci_) \ argument292 ENSURE_OPEN(iwkv_); \293 (rci_) = pthread_rwlock_wrlock(&(iwkv_)->rwl); \302 #define API_UNLOCK(iwkv_, rci_, rc_) \ argument[all …]