Home
last modified time | relevance | path

Searched refs:mux_lock (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_fault.c117 (VOID)LOS_MuxAcquire(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoReadFault()
131 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoReadFault()
135 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoReadFault()
138 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoReadFault()
204 (VOID)LOS_MuxAcquire(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoCowFault()
208 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoCowFault()
234 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoCowFault()
237 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoCowFault()
290 (VOID)LOS_MuxAcquire(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoSharedFault()
304 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoSharedFault()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-mux.c148 rt_mutex_lock_nested(&parent->mux_lock, i2c_adapter_depth(adapter)); in i2c_mux_lock_bus()
159 if (!rt_mutex_trylock(&parent->mux_lock)) in i2c_mux_trylock_bus()
165 rt_mutex_unlock(&parent->mux_lock); in i2c_mux_trylock_bus()
176 rt_mutex_unlock(&parent->mux_lock); in i2c_mux_unlock_bus()
185 rt_mutex_lock_nested(&parent->mux_lock, i2c_adapter_depth(adapter)); in i2c_parent_lock_bus()
195 if (!rt_mutex_trylock(&parent->mux_lock)) in i2c_parent_trylock_bus()
199 rt_mutex_unlock(&parent->mux_lock); in i2c_parent_trylock_bus()
210 rt_mutex_unlock(&parent->mux_lock); in i2c_parent_unlock_bus()
Di2c-core-base.c1422 rt_mutex_init(&adap->mux_lock); in i2c_register_adapter()
/kernel/linux/linux-5.10/include/linux/
Di2c.h706 struct rt_mutex mux_lock; member
/kernel/liteos_a/fs/vfs/
Dvnode.c170 (VOID)LOS_MuxInit(&vnode->mapping.mux_lock, NULL); in VnodeAlloc()