Home
last modified time | relevance | path

Searched refs:mutex_init (Results 1 – 25 of 183) sorted by relevance

12345678

/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_load.c91 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 Dlockme.c56 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 Dthread.c94 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE); in rumptest_thread()
H A Dtsleep.c88 mutex_init(&mymtx, MUTEX_DEFAULT, IPL_NONE); in rumptest_tsleep()
H A Dalloc.c85 mutex_init(&mtx, MUTEX_DEFAULT, IPL_NONE); in rumptest_alloc()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c458 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 Daggsum.c92 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 Dzthr.c292 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 Dzfs_ratelimit.c43 mutex_init(&rl->lock, NULL, MUTEX_DEFAULT, NULL); in zfs_ratelimit_init()
H A Dbplist.c33 mutex_init(&bpl->bpl_lock, NULL, MUTEX_DEFAULT, NULL); in bplist_create()
H A Dunique.c56 mutex_init(&unique_mtx, NULL, MUTEX_DEFAULT, NULL); in unique_init()
H A Dzfs_onexit.c79 mutex_init(&zo->zo_lock, NULL, MUTEX_DEFAULT, NULL); in zfs_onexit_init()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dmutex.h98 #undef mutex_init
99 #define mutex_init(mp, name, type, ibc) \ macro
/freebsd/sys/contrib/openzfs/module/icp/core/
H A Dkcf_prov_tabs.c80 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 Dopensolaris.c62 mutex_init(&cpu_lock, "OpenSolaris CPU lock", MUTEX_DEFAULT, NULL); in opensolaris_load()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dmutex.h54 #define mutex_init(lock, desc, type, arg) do { \ macro
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dcallb.c102 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 Dreentrant.h97 #define mutex_init(m, a) _pthread_mutex_init(m, a) macro
/freebsd/contrib/unbound/util/
H A Dlocks.h197 #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 Dzfs_debug.c62 mutex_init(&zfs_dbgmsgs_lock, NULL, MUTEX_DEFAULT, NULL); in zfs_dbgmsg_init()
/freebsd/lib/libthr/thread/
H A Dthr_mutex.c275 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 Dzfs_zstd.c871 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 Dmutex.h110 #define mutex_init(_m) \ macro
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_simple_attr.c70 mutex_init(&sattr->mutex); in simple_attr_open()
/freebsd/cddl/contrib/opensolaris/head/
H A Dsynch.h109 int mutex_init(mutex_t *, int, void *);

12345678