Home
last modified time | relevance | path

Searched refs:mutex1 (Results 1 – 9 of 9) sorted by relevance

/external/jemalloc_new/include/jemalloc/internal/
Dmutex_pool.h61 malloc_mutex_t *mutex1 = mutex_pool_mutex(pool, key1); in mutex_pool_lock2() local
63 if ((uintptr_t)mutex1 < (uintptr_t)mutex2) { in mutex_pool_lock2()
64 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2()
66 } else if ((uintptr_t)mutex1 == (uintptr_t)mutex2) { in mutex_pool_lock2()
67 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2()
70 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2()
77 malloc_mutex_t *mutex1 = mutex_pool_mutex(pool, key1); in mutex_pool_unlock2() local
79 if (mutex1 == mutex2) { in mutex_pool_unlock2()
80 malloc_mutex_unlock(tsdn, mutex1); in mutex_pool_unlock2()
82 malloc_mutex_unlock(tsdn, mutex1); in mutex_pool_unlock2()
/external/python/cffi/testing/embedding/
Dthread-test.h11 pthread_mutex_t mutex1; member
20 return (pthread_mutex_init(&sem->mutex1, NULL) || in sem_init()
26 pthread_mutex_lock(&sem->mutex1); in sem_post()
29 pthread_mutex_unlock(&sem->mutex1); in sem_post()
35 pthread_mutex_lock(&sem->mutex1); in sem_wait()
37 pthread_cond_wait(&sem->cond1, &sem->mutex1); in sem_wait()
39 pthread_mutex_unlock(&sem->mutex1); in sem_wait()
Dperf-test.c6 static pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER; variable
58 pthread_mutex_lock(&mutex1); in start_routine()
62 pthread_mutex_unlock(&mutex1); in start_routine()
84 pthread_mutex_lock(&mutex1); in main()
86 pthread_cond_wait(&cond1, &mutex1); in main()
87 pthread_mutex_unlock(&mutex1); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/
D1-1.c18 pthread_mutex_t mutex1, mutex2; variable
34 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main()
53 if ((rc = pthread_mutex_destroy(&mutex1)) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
D1-1.c26 pthread_mutex_t mutex1, mutex2; in main() local
37 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main()
/external/bcc/tools/
Ddeadlock_detector.c37 u64 mutex1; member
115 edge_key.mutex1 = leaf->held_mutexes[i].mutex; in trace_mutex_acquire()
128 edge_key.mutex1, edge_key.mutex2, result); in trace_mutex_acquire()
Ddeadlock_detector.py526 key.mutex1,
/external/jemalloc_new/src/
Dmutex.c118 mutex_addr_comp(const witness_t *witness1, void *mutex1, in mutex_addr_comp() argument
120 assert(mutex1 != NULL); in mutex_addr_comp()
122 uintptr_t mu1int = (uintptr_t)mutex1; in mutex_addr_comp()
/external/tensorflow/tensorflow/core/framework/
Dmodel_test.cc1098 std::shared_ptr<mutex> mutex1 = std::make_shared<mutex>(); in TEST_P() local
1105 /*value=*/model::kAutotune, mutex1, cv1), in TEST_P()