/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_module.c | 104 (void) pthread_mutex_lock(&mp->mod_lock); in fmd_module_start() 115 ASSERT(MUTEX_HELD(&mp->mod_lock)); in fmd_module_start() 119 (void) pthread_mutex_unlock(&mp->mod_lock); in fmd_module_start() 166 (void) pthread_mutex_lock(&mp->mod_lock); in fmd_module_start() 171 (void) pthread_mutex_unlock(&mp->mod_lock); in fmd_module_start() 188 (void) pthread_mutex_init(&mp->mod_lock, NULL); in fmd_module_create() 280 (void) pthread_mutex_lock(&mp->mod_lock); in fmd_module_create() 286 (void) pthread_mutex_unlock(&mp->mod_lock); in fmd_module_create() 298 (void) pthread_cond_wait(&mp->mod_cv, &mp->mod_lock); in fmd_module_create() 306 (void) pthread_mutex_unlock(&mp->mod_lock); in fmd_module_create() [all …]
|
H A D | fmd_builtin.c | 58 (void) pthread_mutex_unlock(&mp->mod_lock); in bltin_init() 68 (void) pthread_mutex_lock(&mp->mod_lock); in bltin_init()
|
H A D | fmd_rtld.c | 66 (void) pthread_mutex_unlock(&mp->mod_lock); in rtld_init() 76 (void) pthread_mutex_lock(&mp->mod_lock); in rtld_init()
|
H A D | fmd.c | 517 (void) pthread_mutex_init(&dp->d_rmod->mod_lock, NULL); in fmd_create() 533 (void) pthread_mutex_lock(&dp->d_rmod->mod_lock); in fmd_create() 535 (void) pthread_mutex_unlock(&dp->d_rmod->mod_lock); in fmd_create() 645 (void) pthread_mutex_lock(&dp->d_rmod->mod_lock); in fmd_destroy() 647 (void) pthread_mutex_unlock(&dp->d_rmod->mod_lock); in fmd_destroy()
|
H A D | fmd_module.h | 101 pthread_mutex_t mod_lock; /* lock for mod_cv/owner/flags/refs */ member
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_root.c | 81 mutex_enter(&mod_lock); in objfs_root_do_lookup() 90 mutex_exit(&mod_lock); in objfs_root_do_lookup() 93 mutex_enter(&mod_lock); in objfs_root_do_lookup() 98 mutex_exit(&mod_lock); in objfs_root_do_lookup() 114 mutex_enter(&mod_lock); in objfs_root_do_readdir() 119 mutex_exit(&mod_lock); in objfs_root_do_readdir() 136 mutex_exit(&mod_lock); in objfs_root_do_readdir() 143 mutex_exit(&mod_lock); in objfs_root_do_readdir()
|
H A D | objfs_common.c | 97 mutex_enter(&mod_lock); in objfs_nobjs() 105 mutex_exit(&mod_lock); in objfs_nobjs()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 125 kmutex_t mod_lock; /* protects &modules insert linkage, */ variable 2691 mutex_enter(&mod_lock); in modrload() 2693 mutex_exit(&mod_lock); in modrload() 2841 mutex_enter(&mod_lock); in modunrload() 2845 mutex_exit(&mod_lock); in modunrload() 2956 mutex_enter(&mod_lock); in mod_hold_stub() 2967 mutex_exit(&mod_lock); in mod_hold_stub() 2991 mutex_exit(&mod_lock); in mod_hold_stub() 2994 mutex_exit(&mod_lock); in mod_hold_stub() 3051 mutex_enter(&mod_lock); in mod_hold_stub() [all …]
|
H A D | modsubr.c | 351 mutex_enter(&mod_lock); in mod_getctl() 355 mutex_exit(&mod_lock); in mod_getctl() 359 mutex_exit(&mod_lock); in mod_getctl()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_mod.c | 65 mutex_enter(&mod_lock); in kctl_mod_loaded() 67 mutex_exit(&mod_lock); in kctl_mod_loaded() 75 mutex_exit(&mod_lock); in kctl_mod_loaded()
|
H A D | kctl_dmod.c | 200 mutex_enter(&mod_lock); in kctl_dmod_load() 205 mutex_exit(&mod_lock); in kctl_dmod_load()
|
H A D | kctl_main.c | 307 mutex_enter(&mod_lock); in kctl_startup_boot() 319 mutex_exit(&mod_lock); in kctl_startup_boot()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 36 static mutex_t mod_lock; /* protects module list */ variable 333 (void) mutex_lock(&mod_lock); in cli_module_hold() 344 (void) mutex_unlock(&mod_lock); in cli_module_hold() 352 (void) mutex_unlock(&mod_lock); in cli_module_hold() 363 (void) mutex_unlock(&mod_lock); in cli_module_hold() 378 (void) mutex_lock(&mod_lock); in cli_module_rele() 380 (void) mutex_unlock(&mod_lock); in cli_module_rele() 402 (void) mutex_unlock(&mod_lock); in cli_module_rele() 1522 (void) mutex_lock(&mod_lock); in rsrc_mod_info() 1530 (void) mutex_unlock(&mod_lock); in rsrc_mod_info() [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_admin.c | 40 static mutex_t mod_lock = DEFAULTMUTEX; variable 109 (void) mutex_lock(&mod_lock); in _nscd_server_setadmin() 232 (void) mutex_unlock(&mod_lock); in _nscd_server_setadmin()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cms.c | 155 mutex_enter(&mod_lock); in cms_hold() 157 mutex_exit(&mod_lock); in cms_hold() 166 mutex_enter(&mod_lock); in cms_rele() 168 mutex_exit(&mod_lock); in cms_rele()
|
H A D | cmi.c | 162 mutex_enter(&mod_lock); in cmi_hold() 164 mutex_exit(&mod_lock); in cmi_hold() 173 mutex_enter(&mod_lock); in cmi_rele() 175 mutex_exit(&mod_lock); in cmi_rele()
|
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_video.c | 832 mutex_enter(&mod_lock); in hotkey_init() 835 mutex_exit(&mod_lock); in hotkey_init() 870 mutex_enter(&mod_lock); in hotkey_fini() 873 mutex_exit(&mod_lock); in hotkey_fini()
|
/illumos-gate/usr/src/uts/common/ctf/ |
H A D | ctf_mod.c | 164 ASSERT(MUTEX_HELD(&mod_lock)); in ctf_modopen()
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | syscall.c | 971 mutex_enter(&mod_lock); in lock_syscall() 974 mutex_exit(&mod_lock); in lock_syscall() 983 mutex_exit(&mod_lock); in lock_syscall()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | syscall.c | 1139 mutex_enter(&mod_lock); in lock_syscall() 1142 mutex_exit(&mod_lock); in lock_syscall() 1150 mutex_exit(&mod_lock); in lock_syscall()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 453 mutex_enter(&mod_lock); in reset_bus_ops() 461 mutex_exit(&mod_lock); in reset_bus_ops() 466 mutex_exit(&mod_lock); in reset_bus_ops() 472 mutex_exit(&mod_lock); in reset_bus_ops() 481 mutex_exit(&mod_lock); in reset_bus_ops() 497 mutex_exit(&mod_lock); in reset_bus_ops() 501 mutex_exit(&mod_lock); in reset_bus_ops() 521 mutex_enter(&mod_lock); in modify_bus_ops() 529 mutex_exit(&mod_lock); in modify_bus_ops() 534 mutex_exit(&mod_lock); in modify_bus_ops() [all …]
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 2132 mutex_enter(&mod_lock); in module_assign() 2135 mutex_exit(&mod_lock); in module_assign() 2155 mutex_enter(&mod_lock); in kobj_unload_module() 2157 mutex_exit(&mod_lock); in kobj_unload_module() 3130 mutex_enter(&mod_lock); in kobj_getsymvalue() 3140 mutex_exit(&mod_lock); in kobj_getsymvalue() 3164 mutex_enter(&mod_lock); in kobj_getsymname() 3172 mutex_exit(&mod_lock); in kobj_getsymname() 4278 ASSERT(MUTEX_HELD(&mod_lock)); in kobj_textwin_alloc()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | modctl.h | 546 extern kmutex_t mod_lock;
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 8402 mutex_enter(&mod_lock); in dtrace_unregister() 8416 mutex_exit(&mod_lock); in dtrace_unregister() 8450 mutex_exit(&mod_lock); in dtrace_unregister() 8526 mutex_exit(&mod_lock); in dtrace_unregister() 8840 mutex_enter(&mod_lock); in dtrace_probe_provide() 8851 mutex_exit(&mod_lock); in dtrace_probe_provide() 15851 mutex_enter(&mod_lock); in dtrace_module_loaded() 15862 mutex_exit(&mod_lock); in dtrace_module_loaded() 15907 mutex_enter(&mod_lock); in dtrace_module_unloaded() 15916 mutex_exit(&mod_lock); in dtrace_module_unloaded() [all …]
|