Searched refs:_sema_lock (Results 1 – 3 of 3) sorted by relevance
55 extern int _sema_lock(losMutexDef_t *sem);64 #define down(sem) _sema_lock((losMutexDef_t*)(sem))65 #define down_interruptible(sem) _sema_lock((losMutexDef_t*)(sem))
42 #define down_read(sem) _sema_lock((losMutexDef_t*)(sem))44 #define down_write(sem) _sema_lock((losMutexDef_t*)(sem))
58 int _sema_lock(losMutexDef_t *sem) in _sema_lock() function