Lines Matching refs:rh_lock
122 (void) pthread_mutex_lock(&h->rh_lock); in handle_hold_subhandles()
128 (void) pthread_cond_wait(&h->rh_cv, &h->rh_lock); in handle_hold_subhandles()
135 (void) pthread_mutex_unlock(&h->rh_lock); in handle_hold_subhandles()
143 (void) pthread_mutex_lock(&h->rh_lock); in handle_rele_subhandles()
150 (void) pthread_mutex_unlock(&h->rh_lock); in handle_rele_subhandles()
517 assert(MUTEX_HELD(&h->rh_lock)); in handle_do_close()
541 assert(MUTEX_HELD(&h->rh_lock)); in handle_is_bound()
558 assert(MUTEX_HELD(&h->rh_lock)); in handle_has_server_locked()
569 (void) pthread_mutex_lock(&h->rh_lock); in handle_has_server()
571 (void) pthread_mutex_unlock(&h->rh_lock); in handle_has_server()
591 assert(MUTEX_HELD(&h->rh_lock)); in make_door_call()
766 (void) pthread_mutex_init(&ret->rh_lock, NULL); in scf_handle_create()
837 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
839 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
842 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
846 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
848 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
854 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
856 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
864 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
866 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
878 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
881 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
913 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
915 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
938 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
941 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
968 (void) pthread_mutex_lock(&handle->rh_lock); in _scf_handle_decorations()
970 (void) pthread_mutex_unlock(&handle->rh_lock); in _scf_handle_decorations()
983 (void) pthread_mutex_lock(&handle->rh_lock); in _scf_handle_decorations()
985 (void) pthread_mutex_unlock(&handle->rh_lock); in _scf_handle_decorations()
1037 assert(MUTEX_HELD(&h->rh_lock)); in datael_attach()
1080 assert(MUTEX_HELD(&h->rh_lock)); in iter_attach()
1137 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_bind()
1139 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1149 (void) pthread_cond_wait(&handle->rh_cv, &handle->rh_lock); in scf_handle_bind()
1155 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1166 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1183 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1193 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1225 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1240 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1250 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1254 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1262 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_unbind()
1264 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_unbind()
1271 (void) pthread_mutex_lock(&h->rh_lock); in handle_get()
1273 (void) pthread_mutex_unlock(&h->rh_lock); in handle_get()
1277 (void) pthread_mutex_unlock(&h->rh_lock); in handle_get()
1298 assert(MUTEX_HELD(&handle->rh_lock)); in handle_unrefed()
1309 (void) pthread_mutex_unlock(&handle->rh_lock); in handle_unrefed()
1323 (void) pthread_mutex_unlock(&handle->rh_lock); in handle_unrefed()
1366 (void) pthread_mutex_lock(&handle->rh_lock); in handle_unrefed()
1380 (void) pthread_mutex_unlock(&handle->rh_lock); in handle_unrefed()
1382 (void) pthread_mutex_destroy(&handle->rh_lock); in handle_unrefed()
1393 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_destroy()
1399 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_destroy()
1427 assert(MUTEX_HELD(&h->rh_lock)); in handle_alloc_entityid()
1467 assert(MUTEX_HELD(&h->rh_lock)); in handle_alloc_iterid()
1502 assert(MUTEX_HELD(&handle->rh_lock)); in handle_next_changeid()
1532 (void) pthread_mutex_lock(&h->rh_lock); in datael_init()
1539 (void) pthread_mutex_unlock(&h->rh_lock); in datael_init()
1544 (void) pthread_mutex_unlock(&h->rh_lock); in datael_init()
1556 (void) pthread_mutex_unlock(&h->rh_lock); in datael_init()
1569 (void) pthread_mutex_lock(&h->rh_lock); in datael_destroy()
1603 assert(MUTEX_HELD(&h->rh_lock)); in datael_do_reset_locked()
1617 assert(MUTEX_HELD(&dp->rd_handle->rh_lock)); in datael_reset_locked()
1626 (void) pthread_mutex_lock(&h->rh_lock); in datael_reset()
1628 (void) pthread_mutex_unlock(&h->rh_lock); in datael_reset()
1655 (void) pthread_mutex_lock(&h->rh_lock); in datael_get_name()
1663 (void) pthread_mutex_unlock(&h->rh_lock); in datael_get_name()
1696 (void) pthread_mutex_lock(&h->rh_lock); in datael_get_parent()
1705 (void) pthread_mutex_unlock(&h->rh_lock); in datael_get_parent()
1744 assert(MUTEX_HELD(&h->rh_lock)); in datael_get_child_composed_locked()
1828 assert(MUTEX_HELD(&h->rh_lock)); in datael_get_child_locked()
1912 (void) pthread_mutex_lock(&h->rh_lock); in datael_get_child()
1918 (void) pthread_mutex_unlock(&h->rh_lock); in datael_get_child()
1995 (void) pthread_mutex_lock(&h->rh_lock); in datael_add_child()
2005 (void) pthread_mutex_unlock(&h->rh_lock); in datael_add_child()
2059 (void) pthread_mutex_lock(&h->rh_lock); in datael_add_pg()
2069 (void) pthread_mutex_unlock(&h->rh_lock); in datael_add_pg()
2097 (void) pthread_mutex_lock(&h->rh_lock); in datael_delete()
2105 (void) pthread_mutex_unlock(&h->rh_lock); in datael_delete()
2146 (void) pthread_mutex_lock(&h->rh_lock); in scf_iter_create()
2149 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_create()
2157 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_create()
2163 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_create()
2182 assert(MUTEX_HELD(&iter->iter_handle->rh_lock)); in scf_iter_reset_locked()
2194 (void) pthread_mutex_lock(&iter->iter_handle->rh_lock); in scf_iter_reset()
2196 (void) pthread_mutex_unlock(&iter->iter_handle->rh_lock); in scf_iter_reset()
2212 (void) pthread_mutex_lock(&handle->rh_lock); in scf_iter_destroy()
2235 assert(MUTEX_HELD(&handle->rh_lock)); in handle_get_local_scope_locked()
2264 (void) pthread_mutex_lock(&h->rh_lock); in scf_iter_handle_scopes()
2268 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_handle_scopes()
2273 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_handle_scopes()
2279 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_handle_scopes()
2292 (void) pthread_mutex_lock(&h->rh_lock); in scf_iter_next_scope()
2294 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_scope()
2298 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_scope()
2311 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_scope()
2323 (void) pthread_mutex_lock(&h->rh_lock); in scf_handle_get_scope()
2333 (void) pthread_mutex_unlock(&h->rh_lock); in scf_handle_get_scope()
2351 (void) pthread_mutex_lock(&h->rh_lock); in datael_setup_iter()
2368 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter()
2372 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter()
2376 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter()
2400 (void) pthread_mutex_lock(&h->rh_lock); in datael_setup_iter_pgtyped()
2416 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter_pgtyped()
2421 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter_pgtyped()
2425 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter_pgtyped()
2441 (void) pthread_mutex_lock(&h->rh_lock); in datael_iter_next()
2444 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2449 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2463 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2468 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2472 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2476 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
3074 (void) pthread_mutex_lock(&h->rh_lock); in snaplevel_next()
3096 (void) pthread_mutex_unlock(&h->rh_lock); in snaplevel_next()
3203 (void) pthread_mutex_lock(&h->rh_lock); in datael_update()
3212 (void) pthread_mutex_unlock(&h->rh_lock); in datael_update()
3257 (void) pthread_mutex_lock(&h->rh_lock); in _scf_pg_wait()
3263 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_pg_wait()
3268 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_pg_wait()
3298 (void) pthread_mutex_lock(&h->rh_lock); in scf_notify_add_pattern()
3305 (void) pthread_mutex_unlock(&h->rh_lock); in scf_notify_add_pattern()
3339 (void) pthread_mutex_lock(&h->rh_lock); in _scf_notify_wait()
3342 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_notify_wait()
3351 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_notify_wait()
3356 (void) pthread_mutex_lock(&h->rh_lock); in _scf_notify_wait()
3404 (void) pthread_mutex_lock(&h->rh_lock); in _scf_snapshot_take()
3415 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_snapshot_take()
3453 (void) pthread_mutex_lock(&h->rh_lock); in _scf_snapshot_take_new_named()
3463 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_snapshot_take_new_named()
3503 (void) pthread_mutex_lock(&h->rh_lock); in _scf_snapshot_attach()
3513 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_snapshot_attach()
3573 assert(MUTEX_HELD(&h->rh_lock)); in property_type_locked()
3600 (void) pthread_mutex_lock(&h->rh_lock); in scf_property_type()
3602 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_type()
3621 (void) pthread_mutex_lock(&h->rh_lock); in scf_property_is_type()
3623 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_is_type()
3707 (void) pthread_mutex_lock(&h->rh_lock); in scf_transaction_start()
3709 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_start()
3723 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_start()
3731 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_start()
3737 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_start()
3749 assert(MUTEX_HELD(&h->rh_lock)); in entry_invalidate()
3778 assert(MUTEX_HELD(&h->rh_lock)); in entry_destroy_locked()
3818 (void) pthread_mutex_lock(&h->rh_lock); in transaction_add()
3889 (void) pthread_mutex_unlock(&h->rh_lock); in transaction_add()
3896 (void) pthread_mutex_unlock(&h->rh_lock); in transaction_add()
4050 (void) pthread_mutex_lock(&h->rh_lock); in scf_transaction_commit()
4053 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4062 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4084 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4096 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4102 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4107 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4114 assert(MUTEX_HELD(&tran->tran_pg.rd_d.rd_handle->rh_lock)); in transaction_reset()
4127 (void) pthread_mutex_lock(&tran->tran_pg.rd_d.rd_handle->rh_lock); in scf_transaction_reset_impl()
4196 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_create()
4198 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_create()
4205 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_create()
4223 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_reset()
4225 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_reset()
4233 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_destroy_children()
4248 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_destroy()
4272 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_add_value()
4275 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4280 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4285 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4290 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4295 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4301 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4306 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4320 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4342 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_create()
4344 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_create()
4351 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_create()
4366 assert(MUTEX_HELD(&h->rh_lock)); in scf_value_reset_locked()
4399 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_reset()
4401 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_reset()
4420 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_destroy()
4431 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_base_type()
4433 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_base_type()
4451 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_type()
4453 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_type()
4465 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_is_type()
4467 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_is_type()
4510 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_boolean()
4512 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_boolean()
4520 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_boolean()
4532 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_count()
4534 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_count()
4539 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_count()
4551 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_integer()
4553 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_integer()
4558 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_integer()
4572 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_time()
4574 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_time()
4583 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_time()
4603 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_astring()
4605 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_astring()
4609 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_astring()
4619 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_ustring()
4621 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_ustring()
4625 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_ustring()
4635 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_opaque()
4637 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_opaque()
4645 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_opaque()
4654 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_boolean()
4658 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_boolean()
4666 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_count()
4670 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_count()
4678 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_integer()
4682 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_integer()
4690 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_time()
4693 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_time()
4702 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_time()
4711 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_astring()
4714 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_astring()
4719 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_astring()
4723 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_astring()
4732 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_ustring()
4735 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_ustring()
4740 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_ustring()
4744 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_ustring()
4753 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_opaque()
4756 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_opaque()
4762 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_opaque()
4784 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_as_string_common()
4786 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_as_string_common()
4793 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_as_string_common()
4832 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_as_string_common()
4952 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_from_string()
4958 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_from_string()
4965 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_from_string()
4970 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_from_string()
5003 (void) pthread_mutex_lock(&h->rh_lock); in scf_iter_next_value()
5008 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5013 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5025 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5030 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5034 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5051 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5067 (void) pthread_mutex_lock(&h->rh_lock); in scf_property_get_value()
5079 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_get_value()
5085 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_get_value()
5099 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_get_value()
5801 (void) pthread_mutex_lock(&h->rh_lock); in scf_pg_to_fmri()
5808 (void) pthread_mutex_unlock(&h->rh_lock); in scf_pg_to_fmri()
7327 (void) pthread_mutex_lock(&h->rh_lock); in _scf_request_backup()
7333 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_request_backup()
7369 (void) pthread_mutex_lock(&h->rh_lock); in _scf_repository_switch()
7378 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_repository_switch()
7447 (void) pthread_mutex_lock(&h->rh_lock); in _scf_set_annotation()
7450 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_set_annotation()