Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 10 of 10) sorted by relevance

/trusty/user/base/lib/libc-trusty/
Dpthreads.c55 int pthread_mutex_init(pthread_mutex_t* mutex, in pthread_mutex_init() argument
60 int pthread_mutex_destroy(pthread_mutex_t* mutex) { in pthread_mutex_destroy() argument
64 int pthread_mutex_lock(pthread_mutex_t* mutex) { in pthread_mutex_lock() argument
68 int pthread_mutex_trylock(pthread_mutex_t* mutex) { in pthread_mutex_trylock() argument
72 int pthread_mutex_unlock(pthread_mutex_t* mutex) { in pthread_mutex_unlock() argument
77 pthread_mutex_t* restrict mutex) { in pthread_cond_wait() argument
82 pthread_mutex_t* restrict mutex, in pthread_cond_timedwait() argument
/trusty/kernel/lib/libcxx-trusty/
Drules.mk66 $(LIBCXX_DIR)/src/mutex.cpp \
/trusty/kernel/lib/trusty/include/lib/trusty/
Dipc.h126 struct mutex mlock;
/trusty/user/base/lib/libstdc++-trusty/
Drules.mk56 $(LIBCXX_DIR)/src/mutex.cpp \
/trusty/kernel/lib/trusty/
Dhandle_set.c54 struct mutex mlock;
68 static struct mutex g_hset_lock = MUTEX_INITIAL_VALUE(g_hset_lock);
Ductx.c67 struct mutex mlock;
Dipc.c57 static struct mutex ipc_port_lock = MUTEX_INITIAL_VALUE(ipc_port_lock);
/trusty/kernel/lib/unittest/
Dunittest.c50 static struct mutex unittest_lock = MUTEX_INITIAL_VALUE(unittest_lock);
/trusty/kernel/lib/libcxx-trusty/include/
D__external_threading26 #include <kernel/mutex.h>
/trusty/user/base/lib/dlmalloc/
Ddlmalloc.c2612 MLOCK_T mutex; /* locate lock among fields that rarely change */ member
2758 #define PREACTION(M) ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
2759 #define POSTACTION(M) { if (use_lock(M)) RELEASE_LOCK(&(M)->mutex); }
3108 static void pre_fork(void) { ACQUIRE_LOCK(&(gm)->mutex); } in pre_fork()
3109 static void post_fork_parent(void) { RELEASE_LOCK(&(gm)->mutex); } in post_fork_parent()
3110 static void post_fork_child(void) { INITIAL_LOCK(&(gm)->mutex); } in post_fork_child()
3167 (void)INITIAL_LOCK(&gm->mutex); in init_mparams()
5440 (void)INITIAL_LOCK(&m->mutex); in init_user_mstate()
5512 (void)DESTROY_LOCK(&ms->mutex); /* destroy before unmapped */ in destroy_mspace()