Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/hbaapi/common/
H A DHBAAPILIB.c226 pthread_mutex_t _hbaapi_AL_mutex = PTHREAD_MUTEX_INITIALIZER; variable
228 CRITICAL_SECTION _hbaapi_AL_mutex; variable
837 ret = pthread_mutex_init(&_hbaapi_AL_mutex, NULL); in HBA_LoadLibrary()
863 InitializeCriticalSection(&_hbaapi_AL_mutex); in HBA_LoadLibrary()
888 GRAB_MUTEX(&_hbaapi_AL_mutex); in HBA_FreeLibrary()
940 RELEASE_MUTEX(&_hbaapi_AL_mutex); in HBA_FreeLibrary()
960 pthread_mutex_destroy(&_hbaapi_AL_mutex); in HBA_FreeLibrary()
964 DeleteCriticalSection(&_hbaapi_AL_mutex); in HBA_FreeLibrary()
1002 GRAB_MUTEX(&_hbaapi_AL_mutex); in HBA_GetNumberOfAdapters()
1063 RELEASE_MUTEX(&_hbaapi_AL_mutex); in HBA_GetNumberOfAdapters()
[all …]
H A DHBAAPILIB-sun.c436 RELEASE_MUTEX_RETURN(&_hbaapi_AL_mutex, ret); in Sun_HBA_GetTgtAdapterName()
456 GRAB_MUTEX(&_hbaapi_AL_mutex); in Sun_HBA_OpenTgtAdapter()
476 RELEASE_MUTEX_RETURN(&_hbaapi_AL_mutex, handle); in Sun_HBA_OpenTgtAdapter()
/illumos-gate/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c305 pthread_mutex_t _hbaapi_AL_mutex = PTHREAD_MUTEX_INITIALIZER; variable
307 CRITICAL_SECTION _hbaapi_AL_mutex; variable
1099 ret = pthread_mutex_init(&_hbaapi_AL_mutex, NULL); in HBA_LoadLibrary()
1141 InitializeCriticalSection(&_hbaapi_AL_mutex); in HBA_LoadLibrary()
1176 GRAB_MUTEX(&_hbaapi_AL_mutex); in HBA_FreeLibrary()
1240 RELEASE_MUTEX(&_hbaapi_AL_mutex); in HBA_FreeLibrary()
1265 (void) pthread_mutex_destroy(&_hbaapi_AL_mutex); in HBA_FreeLibrary()
1269 DeleteCriticalSection(&_hbaapi_AL_mutex); in HBA_FreeLibrary()
1311 GRAB_MUTEX(&_hbaapi_AL_mutex); in HBA_GetNumberOfAdapters()
1374 RELEASE_MUTEX(&_hbaapi_AL_mutex); in HBA_GetNumberOfAdapters()
[all …]