Home
last modified time | relevance | path

Searched defs:mutex (Results 1 – 25 of 546) sorted by relevance

12345678910>>...22

/kernel/liteos_a/kernel/base/ipc/
Dlos_mux.c147 LITE_OS_SEC_TEXT UINT32 LOS_MuxSetPrioceiling(LosMux *mutex, INT32 prioceiling, INT32 *oldPrioceili… in LOS_MuxSetPrioceiling()
176 LITE_OS_SEC_TEXT UINT32 LOS_MuxGetPrioceiling(const LosMux *mutex, INT32 *prioceiling) in LOS_MuxGetPrioceiling()
186 LITE_OS_SEC_TEXT BOOL LOS_MuxIsValid(const LosMux *mutex) in LOS_MuxIsValid()
209 LITE_OS_SEC_TEXT UINT32 LOS_MuxInit(LosMux *mutex, const LosMuxAttr *attr) in LOS_MuxInit()
236 LITE_OS_SEC_TEXT UINT32 LOS_MuxDestroy(LosMux *mutex) in LOS_MuxDestroy()
260 STATIC VOID OsMuxBitmapSet(const LosMux *mutex, const LosTaskCB *runTask) in OsMuxBitmapSet()
275 VOID OsMuxBitmapRestore(const LosMux *mutex, const LOS_DL_LIST *list, const LosTaskCB *runTask) in OsMuxBitmapRestore()
287 STATIC UINT32 OsMuxPendOp(LosTaskCB *runTask, LosMux *mutex, UINT32 timeout) in OsMuxPendOp()
344 UINT32 OsMuxLockUnsafe(LosMux *mutex, UINT32 timeout) in OsMuxLockUnsafe()
363 UINT32 OsMuxTrylockUnsafe(LosMux *mutex, UINT32 timeout) in OsMuxTrylockUnsafe()
[all …]
/kernel/liteos_a/compat/posix/src/
Dpthread_mutex.c78 int pthread_mutex_setprioceiling(pthread_mutex_t *mutex, int prioceiling, int *oldPrioceiling) in pthread_mutex_setprioceiling()
83 int pthread_mutex_getprioceiling(const pthread_mutex_t *mutex, int *prioceiling) in pthread_mutex_getprioceiling()
99 int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexAttr) in pthread_mutex_init()
116 int pthread_mutex_destroy(pthread_mutex_t *mutex) in pthread_mutex_destroy()
122 int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock()
127 int pthread_mutex_trylock(pthread_mutex_t *mutex) in pthread_mutex_trylock()
132 int pthread_mutex_unlock(pthread_mutex_t *mutex) in pthread_mutex_unlock()
/kernel/liteos_m/kal/posix/src/
Dpthread_mutex.c130 int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexAttr) in pthread_mutex_init()
165 int pthread_mutex_destroy(pthread_mutex_t *mutex) in pthread_mutex_destroy()
192 STATIC UINT32 MuxPreCheck(const pthread_mutex_t *mutex, const LosTaskCB *runTask) in MuxPreCheck()
214 STATIC UINT32 MuxPendForPosix(pthread_mutex_t *mutex, UINT32 timeout) in MuxPendForPosix()
276 STATIC UINT32 MuxPostForPosix(pthread_mutex_t *mutex) in MuxPostForPosix()
329 int pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *absTimeout) in pthread_mutex_timedlock()
380 int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock()
417 int pthread_mutex_trylock(pthread_mutex_t *mutex) in pthread_mutex_trylock()
450 int pthread_mutex_unlock(pthread_mutex_t *mutex) in pthread_mutex_unlock()
Dpthread_cond.c266 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in pthread_cond_timedwait()
318 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in pthread_cond_wait()
/kernel/linux/linux-5.10/include/linux/
Dmutex.h53 struct mutex { struct
72 struct mutex base; argument
115 #define mutex_init(mutex) \ argument
Drtmutex.h65 # define rt_mutex_init(mutex) \ argument
74 # define rt_mutex_init(mutex) __rt_mutex_init(mutex, NULL, NULL) argument
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_ddp.c105 struct mtk_disp_mutex mutex[10]; member
201 void mtk_disp_mutex_put(struct mtk_disp_mutex *mutex) in mtk_disp_mutex_put()
211 int mtk_disp_mutex_prepare(struct mtk_disp_mutex *mutex) in mtk_disp_mutex_prepare()
218 void mtk_disp_mutex_unprepare(struct mtk_disp_mutex *mutex) in mtk_disp_mutex_unprepare()
225 void mtk_disp_mutex_add_comp(struct mtk_disp_mutex *mutex, in mtk_disp_mutex_add_comp()
276 void mtk_disp_mutex_remove_comp(struct mtk_disp_mutex *mutex, in mtk_disp_mutex_remove_comp()
315 void mtk_disp_mutex_enable(struct mtk_disp_mutex *mutex) in mtk_disp_mutex_enable()
325 void mtk_disp_mutex_disable(struct mtk_disp_mutex *mutex) in mtk_disp_mutex_disable()
335 void mtk_disp_mutex_acquire(struct mtk_disp_mutex *mutex) in mtk_disp_mutex_acquire()
348 void mtk_disp_mutex_release(struct mtk_disp_mutex *mutex) in mtk_disp_mutex_release()
/kernel/liteos_a/net/lwip-2.1/porting/src/
Dsys_arch.c301 err_t sys_mutex_new(sys_mutex_t *mutex) in sys_mutex_new()
311 void sys_mutex_lock(sys_mutex_t *mutex) in sys_mutex_lock()
316 void sys_mutex_unlock(sys_mutex_t *mutex) in sys_mutex_unlock()
321 void sys_mutex_free(sys_mutex_t *mutex) in sys_mutex_free()
326 int sys_mutex_valid(sys_mutex_t *mutex) in sys_mutex_valid()
331 void sys_mutex_set_invalid(sys_mutex_t *mutex) in sys_mutex_set_invalid()
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dsys_arch.c363 err_t sys_mutex_new(sys_mutex_t *mutex) in sys_mutex_new()
378 void sys_mutex_lock(sys_mutex_t *mutex) in sys_mutex_lock()
388 void sys_mutex_unlock(sys_mutex_t *mutex) in sys_mutex_unlock()
398 void sys_mutex_free(sys_mutex_t *mutex) in sys_mutex_free()
408 int sys_mutex_valid(sys_mutex_t *mutex) in sys_mutex_valid()
418 void sys_mutex_set_invalid(sys_mutex_t *mutex) in sys_mutex_set_invalid()
/kernel/uniproton/src/net/lwip-2.1/src/
Dsys_arch.c350 err_t sys_mutex_new(sys_mutex_t *mutex) in sys_mutex_new()
365 void sys_mutex_lock(sys_mutex_t *mutex) in sys_mutex_lock()
375 void sys_mutex_unlock(sys_mutex_t *mutex) in sys_mutex_unlock()
385 void sys_mutex_free(sys_mutex_t *mutex) in sys_mutex_free()
395 int sys_mutex_valid(sys_mutex_t *mutex) in sys_mutex_valid()
405 void sys_mutex_set_invalid(sys_mutex_t *mutex) in sys_mutex_set_invalid()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_mutex.c128 struct nfp_cpp_mutex *mutex; in nfp_cpp_mutex_alloc() local
160 void nfp_cpp_mutex_free(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_free()
171 int nfp_cpp_mutex_lock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_lock()
217 int nfp_cpp_mutex_unlock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_unlock()
262 int nfp_cpp_mutex_trylock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_trylock()
/kernel/linux/linux-5.10/tools/include/linux/
Dspinlock.h25 static inline void arch_spin_lock(arch_spinlock_t *mutex) in arch_spin_lock()
30 static inline void arch_spin_unlock(arch_spinlock_t *mutex) in arch_spin_unlock()
35 static inline bool arch_spin_is_locked(arch_spinlock_t *mutex) in arch_spin_is_locked()
/kernel/linux/linux-5.10/tools/lib/lockdep/
Dpreload.c220 int pthread_mutex_init(pthread_mutex_t *mutex, in pthread_mutex_init()
249 int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock()
278 int pthread_mutex_trylock(pthread_mutex_t *mutex) in pthread_mutex_trylock()
292 int pthread_mutex_unlock(pthread_mutex_t *mutex) in pthread_mutex_unlock()
311 int pthread_mutex_destroy(pthread_mutex_t *mutex) in pthread_mutex_destroy()
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/
Dmutex.h9 pthread_mutex_t mutex; member
31 #define liblockdep_pthread_mutex_init(mutex, mutexattr) \ argument
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/falcon/
Dqmgr.h48 struct mutex mutex; member
62 struct mutex mutex; member
76 struct mutex mutex; member
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.h29 struct mutex mutex; /* protects list of smc ib devices */ member
55 struct mutex mutex; /* protect dev setup+cleanup */ member
/kernel/linux/linux-5.10/drivers/tee/optee/
Doptee_private.h34 struct mutex mutex; member
60 struct mutex mutex; member
108 struct mutex mutex; member
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
DIt_posix_mutex_027.c47 pthread_mutex_t mutex = TEST_MUTEX_INIT; in Testcase() local
DIt_posix_mutex_039.c55 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in Testcase() local
DIt_posix_mutex_087.c43 pthread_mutex_t mutex = TEST_MUTEX_INIT; in Testcase() local
DIt_posix_mutex_048.c54 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in Testcase() local
DIt_posix_mutex_029.c47 pthread_mutex_t mutex = TEST_MUTEX_INIT; in Testcase() local
DIt_posix_mutex_095.c43 pthread_mutex_t mutex = TEST_MUTEX_INIT; in Testcase() local
DIt_posix_mutex_094.c43 pthread_mutex_t mutex = TEST_MUTEX_INIT; in Testcase() local
DIt_posix_mutex_028.c53 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in Testcase() local

12345678910>>...22