Home
last modified time | relevance | path

Searched refs:_MutexCounter (Results 1 – 4 of 4) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service_ce.h167 #define ACQUIRE_GLOBAL_MUTEX(_MutexCounter) \ argument
169 while (NdisInterlockedIncrement((PULONG)&(_MutexCounter)) != 1)\
171 NdisInterlockedDecrement((PULONG)&(_MutexCounter)); \
176 #define RELEASE_GLOBAL_MUTEX(_MutexCounter) \ argument
178 NdisInterlockedDecrement((PULONG)&(_MutexCounter)); \
Dosdep_service_xp.h177 #define ACQUIRE_GLOBAL_MUTEX(_MutexCounter) \ argument
179 while (NdisInterlockedIncrement((PULONG)&(_MutexCounter)) != 1)\
181 NdisInterlockedDecrement((PULONG)&(_MutexCounter)); \
186 #define RELEASE_GLOBAL_MUTEX(_MutexCounter) \ argument
188 NdisInterlockedDecrement((PULONG)&(_MutexCounter)); \
Dosdep_service_linux.h432 #define ACQUIRE_GLOBAL_MUTEX(_MutexCounter) \ argument
434 while (atomic_inc_return((atomic_t *)&(_MutexCounter)) != 1) { \
435 atomic_dec((atomic_t *)&(_MutexCounter)); \
440 #define RELEASE_GLOBAL_MUTEX(_MutexCounter) \ argument
442 atomic_dec((atomic_t *)&(_MutexCounter)); \
Dosdep_service_bsd.h726 #define ACQUIRE_GLOBAL_MUTEX(_MutexCounter) \ argument
730 #define RELEASE_GLOBAL_MUTEX(_MutexCounter) \ argument