HomeSort by: relevance | last modified time | path
    Searched defs:mtx (Results 1 - 25 of 94) sorted by relevancy

1 2 3 4

  /src/sys/ddb/
db_syncobj.c 52 volatile const struct kmutex *mtx = wchan; local
55 db_read_bytes((db_addr_t)&mtx->mtx_owner, sizeof(owner),
  /src/tests/rump/kernspace/
lockme.c 52 kmutex_t mtx; local
56 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE);
60 mutex_enter(&mtx);
61 mutex_enter(&mtx);
76 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE);
79 mutex_destroy(&mtx);
80 mutex_destroy(&mtx);
83 mutex_enter(&mtx);
84 mutex_destroy(&mtx);
thread.c 72 static kmutex_t mtx; variable
80 mutex_enter(&mtx);
83 mutex_exit(&mtx);
94 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE);
101 mutex_enter(&mtx);
103 cv_wait(&cv, &mtx);
104 mutex_exit(&mtx);
alloc.c 51 static kmutex_t mtx; variable
60 mutex_enter(&mtx);
65 cv_wait(&kcv, &mtx);
66 mutex_exit(&mtx);
85 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE);
103 mutex_enter(&mtx);
105 cv_wait(&kcv, &mtx);
106 mutex_exit(&mtx);
112 mutex_enter(&mtx);
115 mutex_exit(&mtx);
    [all...]
workqueue.c 46 kmutex_t mtx; member in struct:test_softc
64 mutex_enter(&sc->mtx);
67 mutex_exit(&sc->mtx);
77 mutex_init(&sc->mtx, MUTEX_DEFAULT, IPL_NONE);
94 mutex_destroy(&sc->mtx);
108 mutex_enter(&sc->mtx);
110 e = cv_timedwait(&sc->cv, &sc->mtx, hz * 2);
113 mutex_exit(&sc->mtx);
  /src/external/bsd/jemalloc/dist/src/
jemalloc_cpp.cpp 71 static std::mutex mtx; local
72 std::lock_guard<std::mutex> lock(mtx);
  /src/external/bsd/jemalloc.old/dist/src/
jemalloc_cpp.cpp 51 static std::mutex mtx; local
52 std::lock_guard<std::mutex> lock(mtx);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_persistent_allocator.h 30 StaticSpinMutex mtx; // Protects alloc of new blocks for region allocator. member in class:__sanitizer::PersistentAllocator
52 SpinMutexLock l(&mtx);
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/
tsan_test_util_posix.cc 47 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; local
48 __interceptor_pthread_mutex_lock(&mtx);
49 __interceptor_pthread_mutex_unlock(&mtx);
50 __interceptor_pthread_mutex_destroy(&mtx);
  /src/sys/kern/
kern_module_hook.c 49 kmutex_t mtx; member in struct:__anon6853
89 mutex_enter(&module_hook.mtx);
98 localcount_drain(lc, &module_hook.cv, &module_hook.mtx);
101 mutex_exit(&module_hook.mtx);
124 localcount_release(lc, &module_hook.cv, &module_hook.mtx);
131 mutex_init(&module_hook.mtx, MUTEX_DEFAULT, IPL_NONE);
  /src/tests/lib/libpthread/weak/lib/
h_pthread_weak.c 50 pthread_mutex_t mtx; local
52 RZ(pthread_mutex_init(&mtx, NULL));
53 RZ(pthread_mutex_lock(&mtx));
54 RZ(pthread_mutex_unlock(&mtx));
55 RZ(pthread_mutex_destroy(&mtx));
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
ecache.h 10 malloc_mutex_t mtx; member in struct:ecache_s
edata_cache.h 19 malloc_mutex_t mtx; member in struct:edata_cache_s
san_bump.h 17 malloc_mutex_t mtx; member in struct:san_bump_alloc_s
38 bool err = malloc_mutex_init(&sba->mtx, "sanitizer_bump_allocator",
  /src/external/bsd/jemalloc/dist/test/unit/
mtx.c 7 mtx_t mtx; local
9 expect_false(mtx_init(&mtx), "Unexpected mtx_init() failure");
10 mtx_lock(&mtx);
11 mtx_unlock(&mtx);
12 mtx_fini(&mtx);
17 mtx_t mtx; member in struct:__anon6793
27 mtx_lock(&arg->mtx);
29 mtx_unlock(&arg->mtx);
39 expect_false(mtx_init(&arg.mtx), "Unexpected mtx_init() failure");
  /src/external/bsd/jemalloc/include/jemalloc/internal/
ecache.h 10 malloc_mutex_t mtx; member in struct:ecache_s
edata_cache.h 19 malloc_mutex_t mtx; member in struct:edata_cache_s
san_bump.h 17 malloc_mutex_t mtx; member in struct:san_bump_alloc_s
38 bool err = malloc_mutex_init(&sba->mtx, "sanitizer_bump_allocator",
base_structs.h 31 malloc_mutex_t mtx; member in struct:base_s
  /src/external/bsd/jemalloc.old/dist/test/unit/
mtx.c 7 mtx_t mtx; local
9 assert_false(mtx_init(&mtx), "Unexpected mtx_init() failure");
10 mtx_lock(&mtx);
11 mtx_unlock(&mtx);
12 mtx_fini(&mtx);
17 mtx_t mtx; member in struct:__anon6896
27 mtx_lock(&arg->mtx);
29 mtx_unlock(&arg->mtx);
39 assert_false(mtx_init(&arg.mtx), "Unexpected mtx_init() failure");
  /src/tests/lib/libpthread/dlopen/
t_dlopen.c 86 pthread_mutex_t mtx; local
90 ATF_REQUIRE(pthread_mutex_init(&mtx, NULL) == 0);
91 ATF_REQUIRE(pthread_mutex_lock(&mtx) == 0);
101 ATF_REQUIRE(pthread_mutex_unlock(&mtx) == 0);
105 ATF_REQUIRE(pthread_mutex_lock(&mtx) == 0);
106 ATF_REQUIRE(pthread_mutex_unlock(&mtx) == 0);
108 pthread_mutex_destroy(&mtx);
136 pthread_mutex_t mtx; local
140 ATF_REQUIRE(pthread_mutex_init(&mtx, NULL) == 0);
141 ATF_REQUIRE(pthread_mutex_lock(&mtx) == 0)
185 pthread_mutex_t mtx; local
    [all...]
  /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/
base_structs.h 31 malloc_mutex_t mtx; member in struct:base_s
  /src/external/bsd/jemalloc.old/include/jemalloc/internal/
base_structs.h 31 malloc_mutex_t mtx; member in struct:base_s
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_mutex_test.cc 27 explicit TestData(MutexType *mtx)
28 : mtx_(mtx) {
98 static void check_locked(MutexType *mtx) {
99 GenericScopedLock<MutexType> l(mtx);
100 mtx->CheckLocked();
104 SpinMutex mtx; local
105 mtx.Init();
106 TestData<SpinMutex> data(&mtx);
115 SpinMutex mtx; local
116 mtx.Init()
127 BlockingMutex *mtx = new(mtxmem) BlockingMutex(LINKER_INITIALIZED); local
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_trace.h 59 Mutex mtx; member in struct:__tsan::Trace
70 : mtx(MutexTypeTrace, StatMtxTrace) {

Completed in 35 milliseconds

1 2 3 4