Searched refs:iwkv_ (Results 1 – 1 of 1) sorted by relevance
319 #define ENSURE_OPEN(iwkv_) \ argument320 if (!(iwkv_) || !((iwkv_)->open)) return IW_ERROR_INVALID_STATE; \321 if ((iwkv_)->fatalrc) return (iwkv_)->fatalrc326 #define API_RLOCK(iwkv_, rci_) \ argument327 ENSURE_OPEN(iwkv_); \328 (rci_) = pthread_rwlock_rdlock(&(iwkv_)->rwl); \337 #define API_WLOCK(iwkv_, rci_) \ argument338 ENSURE_OPEN(iwkv_); \339 (rci_) = pthread_rwlock_wrlock(&(iwkv_)->rwl); \348 #define API_UNLOCK(iwkv_, rci_, rc_) \ argument[all …]