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

1 2 3 4 5

  /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...]
  /src/external/bsd/jemalloc.old/dist/src/
jemalloc_cpp.cpp 71 static std::mutex mtx; local
72 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.old/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.old/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:__anon50
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.old/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/include/jemalloc/internal/
ecache.h 11 malloc_mutex_t mtx; member in struct:ecache_s
edata_cache.h 20 malloc_mutex_t mtx; member in struct:edata_cache_s
san_bump.h 19 malloc_mutex_t mtx; member in struct:san_bump_alloc_s
40 bool err = malloc_mutex_init(&sba->mtx, "sanitizer_bump_allocator",
  /src/external/bsd/jemalloc/dist/src/
jemalloc_cpp.cpp 84 static std::mutex mtx; local
85 std::lock_guard<std::mutex> lock(mtx);
  /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:__anon89
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 11 malloc_mutex_t mtx; member in struct:ecache_s
edata_cache.h 20 malloc_mutex_t mtx; member in struct:edata_cache_s
san_bump.h 19 malloc_mutex_t mtx; member in struct:san_bump_alloc_s
40 bool err = malloc_mutex_init(&sba->mtx, "sanitizer_bump_allocator",
  /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...]

Completed in 27 milliseconds

1 2 3 4 5