Home
last modified time | relevance | path

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

/optee_os/core/kernel/
H A Dmutex.c48 old_itr_status = cpu_spin_lock_xsave(&m->spin_lock); in __mutex_lock()
57 cpu_spin_unlock_xrestore(&m->spin_lock, old_itr_status); in __mutex_lock()
100 old_itr_status = cpu_spin_lock_xsave(&m->spin_lock); in __mutex_unlock()
107 cpu_spin_unlock_xrestore(&m->spin_lock, old_itr_status); in __mutex_unlock()
137 old_itr_status = cpu_spin_lock_xsave(&m->spin_lock); in __mutex_trylock()
143 cpu_spin_unlock_xrestore(&m->spin_lock, old_itr_status); in __mutex_trylock()
159 old_itr_status = cpu_spin_lock_xsave(&m->spin_lock); in __mutex_read_unlock()
166 cpu_spin_unlock_xrestore(&m->spin_lock, old_itr_status); in __mutex_read_unlock()
193 old_itr_status = cpu_spin_lock_xsave(&m->spin_lock); in __mutex_read_lock()
202 cpu_spin_unlock_xrestore(&m->spin_lock, old_itr_status); in __mutex_read_lock()
[all …]
/optee_os/core/arch/arm/plat-rcar/
H A Dhw_rng.c17 static unsigned int spin_lock __nex_data = SPINLOCK_UNLOCK;
37 exceptions = cpu_spin_lock_xsave(&spin_lock); in hw_get_random_bytes()
51 cpu_spin_unlock_xrestore(&spin_lock, exceptions); in hw_get_random_bytes()
/optee_os/core/include/kernel/
H A Dmutex.h14 unsigned spin_lock; /* used when operating on this struct */ member
80 unsigned int spin_lock; member