Searched refs:__lock (Results 1 – 4 of 4) sorted by relevance
118 _STLP_mutex_spin<__inst>::_M_do_lock(volatile __stl_atomic_t* __lock) { in _M_do_lock() argument120 if (_Atomic_swap(__lock, 1)) { in _M_do_lock()127 if (__i < __my_last_spins/2 || *__lock) { in _M_do_lock()131 if (!_Atomic_swap(__lock, 1)) { in _M_do_lock()150 if (!_Atomic_swap(__lock, 1)) { in _M_do_lock()
256 static void _STLP_CALL _M_do_lock(volatile __stl_atomic_t* __lock);291 volatile __stl_atomic_t* __lock = &_M_lock; in _M_release_lock() local294 *__lock = 0; in _M_release_lock()297 __lock_release(__lock); in _M_release_lock()304 *__lock = 0; in _M_release_lock()306 *__lock = 0; in _M_release_lock()424 _STLP_auto_lock(_STLP_STATIC_MUTEX& __lock) : _M_lock(__lock) in _STLP_auto_lock()
142 static _STLP_STATIC_MUTEX __lock _STLP_MUTEX_INITIALIZER; in xalloc()143 _STLP_auto_lock sentry(__lock); in xalloc()
1046 _STLP_auto_lock __lock(__a->_M_lock); in allocate() local1071 _STLP_auto_lock __lock(__a->_M_lock); in deallocate() local