/freebsd/sys/cddl/dev/dtrace/ |
H A D | dtrace_load.c | 91 mutex_init(&dtrace_lock,"dtrace probe state", MUTEX_DEFAULT, NULL); in dtrace_load() 92 mutex_init(&dtrace_provider_lock,"dtrace provider state", MUTEX_DEFAULT, NULL); in dtrace_load() 93 mutex_init(&dtrace_meta_lock,"dtrace meta-provider state", MUTEX_DEFAULT, NULL); in dtrace_load() 95 mutex_init(&dtrace_errlock,"dtrace error lock", MUTEX_DEFAULT, NULL); in dtrace_load()
|
/freebsd/contrib/netbsd-tests/rump/kernspace/ |
H A D | lockme.c | 56 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE); in rumptest_lockme() 76 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE); in rumptest_lockme() 88 mutex_init(&some->mutexetum, MUTEX_DEFAULT, IPL_NONE); in rumptest_lockme()
|
H A D | thread.c | 94 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE); in rumptest_thread()
|
H A D | tsleep.c | 88 mutex_init(&mymtx, MUTEX_DEFAULT, IPL_NONE); in rumptest_tsleep()
|
H A D | alloc.c | 85 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE); in rumptest_alloc()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_misc.c | 458 mutex_init(&scl->scl_lock, NULL, MUTEX_DEFAULT, NULL); in spa_config_lock_init() 703 mutex_init(&spa->spa_async_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() 704 mutex_init(&spa->spa_errlist_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() 705 mutex_init(&spa->spa_errlog_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() 706 mutex_init(&spa->spa_evicting_os_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() 707 mutex_init(&spa->spa_history_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() 708 mutex_init(&spa->spa_proc_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() 709 mutex_init(&spa->spa_props_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() 710 mutex_init(&spa->spa_cksum_tmpls_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() 711 mutex_init(&spa->spa_scrub_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add() [all …]
|
H A D | aggsum.c | 92 mutex_init(&as->as_lock, NULL, MUTEX_DEFAULT, NULL); in aggsum_init() 102 mutex_init(&as->as_buckets[i].asc_lock, in aggsum_init()
|
H A D | zthr.c | 292 mutex_init(&t->zthr_state_lock, NULL, MUTEX_DEFAULT, NULL); in zthr_create_timer() 293 mutex_init(&t->zthr_request_lock, NULL, MUTEX_DEFAULT, NULL); in zthr_create_timer()
|
H A D | zfs_ratelimit.c | 43 mutex_init(&rl->lock, NULL, MUTEX_DEFAULT, NULL); in zfs_ratelimit_init()
|
H A D | bplist.c | 33 mutex_init(&bpl->bpl_lock, NULL, MUTEX_DEFAULT, NULL); in bplist_create()
|
H A D | unique.c | 56 mutex_init(&unique_mtx, NULL, MUTEX_DEFAULT, NULL); in unique_init()
|
H A D | zfs_onexit.c | 79 mutex_init(&zo->zo_lock, NULL, MUTEX_DEFAULT, NULL); in zfs_onexit_init()
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | mutex.h | 98 #undef mutex_init 99 #define mutex_init(mp, name, type, ibc) \ macro
|
/freebsd/sys/contrib/openzfs/module/icp/core/ |
H A D | kcf_prov_tabs.c | 80 mutex_init(&prov_tab_mutex, NULL, MUTEX_DEFAULT, NULL); in kcf_prov_tab_init() 214 mutex_init(&desc->pd_lock, NULL, MUTEX_DEFAULT, NULL); in kcf_alloc_provider_desc()
|
/freebsd/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris.c | 62 mutex_init(&cpu_lock, "OpenSolaris CPU lock", MUTEX_DEFAULT, NULL); in opensolaris_load()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | mutex.h | 54 #define mutex_init(lock, desc, type, arg) do { \ macro
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | callb.c | 102 mutex_init(&callb_safe_mutex, NULL, MUTEX_DEFAULT, NULL); in callb_init() 103 mutex_init(&callb_table.ct_lock, NULL, MUTEX_DEFAULT, NULL); in callb_init()
|
/freebsd/lib/libc/include/ |
H A D | reentrant.h | 97 #define mutex_init(m, a) _pthread_mutex_init(m, a) macro
|
/freebsd/contrib/unbound/util/ |
H A D | locks.h | 197 #define lock_basic_init(lock) LOCKRET(mutex_init(lock, USYNC_THREAD, NULL)) 204 #define lock_quick_init(lock) LOCKRET(mutex_init(lock, USYNC_THREAD, NULL))
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | zfs_debug.c | 62 mutex_init(&zfs_dbgmsgs_lock, NULL, MUTEX_DEFAULT, NULL); in zfs_dbgmsg_init()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_mutex.c | 275 mutex_init(pthread_mutex_t *mutex, in mutex_init() function 307 ret = mutex_init(mutex, &_pthread_mutexattr_default, in init_static() 310 ret = mutex_init(mutex, &_pthread_mutexattr_adaptive_default, in init_static() 394 return (mutex_init(mutex, mutex_attr ? *mutex_attr : NULL, in __Tthr_mutex_init() 419 ret = mutex_init(mutex, &attr, calloc_cb); in _pthread_mutex_init_calloc_cb()
|
/freebsd/sys/contrib/openzfs/module/zstd/ |
H A D | zfs_zstd.c | 871 mutex_init(&mem->barrier, NULL, MUTEX_DEFAULT, NULL); in create_fallback_mem() 884 mutex_init(&zstd_mempool_cctx[i].barrier, NULL, in zstd_mempool_init() 886 mutex_init(&zstd_mempool_dctx[i].barrier, NULL, in zstd_mempool_init()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | mutex.h | 110 #define mutex_init(_m) \ macro
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_simple_attr.c | 70 mutex_init(&sattr->mutex); in simple_attr_open()
|
/freebsd/cddl/contrib/opensolaris/head/ |
H A D | synch.h | 109 int mutex_init(mutex_t *, int, void *);
|