Lines Matching refs:rh_lock

128 	(void) pthread_mutex_lock(&h->rh_lock);  in handle_hold_subhandles()
134 (void) pthread_cond_wait(&h->rh_cv, &h->rh_lock); in handle_hold_subhandles()
141 (void) pthread_mutex_unlock(&h->rh_lock); in handle_hold_subhandles()
149 (void) pthread_mutex_lock(&h->rh_lock); in handle_rele_subhandles()
156 (void) pthread_mutex_unlock(&h->rh_lock); in handle_rele_subhandles()
535 assert(MUTEX_HELD(&h->rh_lock)); in handle_do_close()
559 assert(MUTEX_HELD(&h->rh_lock)); in handle_is_bound()
576 assert(MUTEX_HELD(&h->rh_lock)); in handle_has_server_locked()
587 (void) pthread_mutex_lock(&h->rh_lock); in handle_has_server()
589 (void) pthread_mutex_unlock(&h->rh_lock); in handle_has_server()
609 assert(MUTEX_HELD(&h->rh_lock)); in make_door_call()
785 (void) pthread_mutex_init(&ret->rh_lock, NULL); in scf_handle_create()
856 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
858 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
861 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
865 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
867 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
873 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
875 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
883 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
885 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
897 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
900 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
939 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
941 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
969 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_decorate()
973 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_decorate()
1001 (void) pthread_mutex_lock(&handle->rh_lock); in _scf_handle_decorations()
1003 (void) pthread_mutex_unlock(&handle->rh_lock); in _scf_handle_decorations()
1016 (void) pthread_mutex_lock(&handle->rh_lock); in _scf_handle_decorations()
1018 (void) pthread_mutex_unlock(&handle->rh_lock); in _scf_handle_decorations()
1070 assert(MUTEX_HELD(&h->rh_lock)); in datael_attach()
1113 assert(MUTEX_HELD(&h->rh_lock)); in iter_attach()
1170 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_bind()
1172 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1182 (void) pthread_cond_wait(&handle->rh_cv, &handle->rh_lock); in scf_handle_bind()
1188 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1199 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1224 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1243 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1253 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1285 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1300 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1310 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1314 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_bind()
1322 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_unbind()
1324 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_unbind()
1331 (void) pthread_mutex_lock(&h->rh_lock); in handle_get()
1333 (void) pthread_mutex_unlock(&h->rh_lock); in handle_get()
1337 (void) pthread_mutex_unlock(&h->rh_lock); in handle_get()
1358 assert(MUTEX_HELD(&handle->rh_lock)); in handle_unrefed()
1369 (void) pthread_mutex_unlock(&handle->rh_lock); in handle_unrefed()
1383 (void) pthread_mutex_unlock(&handle->rh_lock); in handle_unrefed()
1426 (void) pthread_mutex_lock(&handle->rh_lock); in handle_unrefed()
1440 (void) pthread_mutex_unlock(&handle->rh_lock); in handle_unrefed()
1442 (void) pthread_mutex_destroy(&handle->rh_lock); in handle_unrefed()
1453 (void) pthread_mutex_lock(&handle->rh_lock); in scf_handle_destroy()
1459 (void) pthread_mutex_unlock(&handle->rh_lock); in scf_handle_destroy()
1487 assert(MUTEX_HELD(&h->rh_lock)); in handle_alloc_entityid()
1527 assert(MUTEX_HELD(&h->rh_lock)); in handle_alloc_iterid()
1562 assert(MUTEX_HELD(&handle->rh_lock)); in handle_next_changeid()
1592 (void) pthread_mutex_lock(&h->rh_lock); in datael_init()
1599 (void) pthread_mutex_unlock(&h->rh_lock); in datael_init()
1604 (void) pthread_mutex_unlock(&h->rh_lock); in datael_init()
1616 (void) pthread_mutex_unlock(&h->rh_lock); in datael_init()
1629 (void) pthread_mutex_lock(&h->rh_lock); in datael_destroy()
1663 assert(MUTEX_HELD(&h->rh_lock)); in datael_do_reset_locked()
1677 assert(MUTEX_HELD(&dp->rd_handle->rh_lock)); in datael_reset_locked()
1686 (void) pthread_mutex_lock(&h->rh_lock); in datael_reset()
1688 (void) pthread_mutex_unlock(&h->rh_lock); in datael_reset()
1715 (void) pthread_mutex_lock(&h->rh_lock); in datael_get_name()
1723 (void) pthread_mutex_unlock(&h->rh_lock); in datael_get_name()
1756 (void) pthread_mutex_lock(&h->rh_lock); in datael_get_parent()
1765 (void) pthread_mutex_unlock(&h->rh_lock); in datael_get_parent()
1804 assert(MUTEX_HELD(&h->rh_lock)); in datael_get_child_composed_locked()
1888 assert(MUTEX_HELD(&h->rh_lock)); in datael_get_child_locked()
1972 (void) pthread_mutex_lock(&h->rh_lock); in datael_get_child()
1978 (void) pthread_mutex_unlock(&h->rh_lock); in datael_get_child()
2055 (void) pthread_mutex_lock(&h->rh_lock); in datael_add_child()
2065 (void) pthread_mutex_unlock(&h->rh_lock); in datael_add_child()
2119 (void) pthread_mutex_lock(&h->rh_lock); in datael_add_pg()
2129 (void) pthread_mutex_unlock(&h->rh_lock); in datael_add_pg()
2157 (void) pthread_mutex_lock(&h->rh_lock); in datael_delete()
2165 (void) pthread_mutex_unlock(&h->rh_lock); in datael_delete()
2206 (void) pthread_mutex_lock(&h->rh_lock); in scf_iter_create()
2209 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_create()
2217 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_create()
2223 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_create()
2242 assert(MUTEX_HELD(&iter->iter_handle->rh_lock)); in scf_iter_reset_locked()
2254 (void) pthread_mutex_lock(&iter->iter_handle->rh_lock); in scf_iter_reset()
2256 (void) pthread_mutex_unlock(&iter->iter_handle->rh_lock); in scf_iter_reset()
2272 (void) pthread_mutex_lock(&handle->rh_lock); in scf_iter_destroy()
2295 assert(MUTEX_HELD(&handle->rh_lock)); in handle_get_local_scope_locked()
2324 (void) pthread_mutex_lock(&h->rh_lock); in scf_iter_handle_scopes()
2328 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_handle_scopes()
2333 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_handle_scopes()
2339 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_handle_scopes()
2352 (void) pthread_mutex_lock(&h->rh_lock); in scf_iter_next_scope()
2354 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_scope()
2358 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_scope()
2371 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_scope()
2383 (void) pthread_mutex_lock(&h->rh_lock); in scf_handle_get_scope()
2393 (void) pthread_mutex_unlock(&h->rh_lock); in scf_handle_get_scope()
2411 (void) pthread_mutex_lock(&h->rh_lock); in datael_setup_iter()
2428 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter()
2432 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter()
2436 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter()
2460 (void) pthread_mutex_lock(&h->rh_lock); in datael_setup_iter_pgtyped()
2476 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter_pgtyped()
2481 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter_pgtyped()
2485 (void) pthread_mutex_unlock(&h->rh_lock); in datael_setup_iter_pgtyped()
2501 (void) pthread_mutex_lock(&h->rh_lock); in datael_iter_next()
2504 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2509 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2523 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2528 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2532 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
2536 (void) pthread_mutex_unlock(&h->rh_lock); in datael_iter_next()
3134 (void) pthread_mutex_lock(&h->rh_lock); in snaplevel_next()
3156 (void) pthread_mutex_unlock(&h->rh_lock); in snaplevel_next()
3263 (void) pthread_mutex_lock(&h->rh_lock); in datael_update()
3272 (void) pthread_mutex_unlock(&h->rh_lock); in datael_update()
3317 (void) pthread_mutex_lock(&h->rh_lock); in _scf_pg_wait()
3323 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_pg_wait()
3328 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_pg_wait()
3358 (void) pthread_mutex_lock(&h->rh_lock); in scf_notify_add_pattern()
3365 (void) pthread_mutex_unlock(&h->rh_lock); in scf_notify_add_pattern()
3399 (void) pthread_mutex_lock(&h->rh_lock); in _scf_notify_wait()
3402 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_notify_wait()
3411 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_notify_wait()
3416 (void) pthread_mutex_lock(&h->rh_lock); in _scf_notify_wait()
3464 (void) pthread_mutex_lock(&h->rh_lock); in _scf_snapshot_take()
3475 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_snapshot_take()
3513 (void) pthread_mutex_lock(&h->rh_lock); in _scf_snapshot_take_new_named()
3523 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_snapshot_take_new_named()
3563 (void) pthread_mutex_lock(&h->rh_lock); in _scf_snapshot_attach()
3573 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_snapshot_attach()
3633 assert(MUTEX_HELD(&h->rh_lock)); in property_type_locked()
3660 (void) pthread_mutex_lock(&h->rh_lock); in scf_property_type()
3662 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_type()
3681 (void) pthread_mutex_lock(&h->rh_lock); in scf_property_is_type()
3683 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_is_type()
3767 (void) pthread_mutex_lock(&h->rh_lock); in scf_transaction_start()
3769 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_start()
3783 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_start()
3791 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_start()
3797 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_start()
3809 assert(MUTEX_HELD(&h->rh_lock)); in entry_invalidate()
3838 assert(MUTEX_HELD(&h->rh_lock)); in entry_destroy_locked()
3878 (void) pthread_mutex_lock(&h->rh_lock); in transaction_add()
3949 (void) pthread_mutex_unlock(&h->rh_lock); in transaction_add()
3956 (void) pthread_mutex_unlock(&h->rh_lock); in transaction_add()
4110 (void) pthread_mutex_lock(&h->rh_lock); in scf_transaction_commit()
4113 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4122 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4144 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4156 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4162 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4167 (void) pthread_mutex_unlock(&h->rh_lock); in scf_transaction_commit()
4174 assert(MUTEX_HELD(&tran->tran_pg.rd_d.rd_handle->rh_lock)); in transaction_reset()
4187 (void) pthread_mutex_lock(&tran->tran_pg.rd_d.rd_handle->rh_lock); in scf_transaction_reset_impl()
4256 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_create()
4258 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_create()
4265 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_create()
4283 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_reset()
4285 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_reset()
4293 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_destroy_children()
4308 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_destroy()
4332 (void) pthread_mutex_lock(&h->rh_lock); in scf_entry_add_value()
4335 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4340 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4345 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4350 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4355 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4361 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4366 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4380 (void) pthread_mutex_unlock(&h->rh_lock); in scf_entry_add_value()
4402 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_create()
4404 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_create()
4411 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_create()
4426 assert(MUTEX_HELD(&h->rh_lock)); in scf_value_reset_locked()
4459 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_reset()
4461 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_reset()
4480 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_destroy()
4491 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_base_type()
4493 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_base_type()
4511 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_type()
4513 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_type()
4525 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_is_type()
4527 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_is_type()
4570 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_boolean()
4572 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_boolean()
4580 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_boolean()
4592 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_count()
4594 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_count()
4599 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_count()
4611 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_integer()
4613 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_integer()
4618 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_integer()
4632 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_time()
4634 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_time()
4643 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_time()
4663 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_astring()
4665 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_astring()
4669 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_astring()
4679 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_ustring()
4681 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_ustring()
4685 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_ustring()
4695 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_opaque()
4697 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_opaque()
4705 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_opaque()
4714 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_boolean()
4718 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_boolean()
4726 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_count()
4730 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_count()
4738 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_integer()
4742 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_integer()
4750 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_time()
4753 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_time()
4762 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_time()
4771 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_astring()
4774 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_astring()
4779 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_astring()
4783 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_astring()
4792 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_ustring()
4795 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_ustring()
4800 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_ustring()
4804 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_ustring()
4813 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_opaque()
4816 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_opaque()
4822 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_opaque()
4844 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_as_string_common()
4846 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_as_string_common()
4853 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_get_as_string_common()
4892 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_get_as_string_common()
5012 (void) pthread_mutex_lock(&h->rh_lock); in scf_value_set_from_string()
5018 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_from_string()
5025 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_from_string()
5030 (void) pthread_mutex_unlock(&h->rh_lock); in scf_value_set_from_string()
5063 (void) pthread_mutex_lock(&h->rh_lock); in scf_iter_next_value()
5068 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5073 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5085 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5090 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5094 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5111 (void) pthread_mutex_unlock(&h->rh_lock); in scf_iter_next_value()
5127 (void) pthread_mutex_lock(&h->rh_lock); in scf_property_get_value()
5139 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_get_value()
5145 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_get_value()
5159 (void) pthread_mutex_unlock(&h->rh_lock); in scf_property_get_value()
5861 (void) pthread_mutex_lock(&h->rh_lock); in scf_pg_to_fmri()
5868 (void) pthread_mutex_unlock(&h->rh_lock); in scf_pg_to_fmri()
7408 (void) pthread_mutex_lock(&h->rh_lock); in _scf_request_backup()
7414 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_request_backup()
7450 (void) pthread_mutex_lock(&h->rh_lock); in _scf_repository_switch()
7459 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_repository_switch()
7528 (void) pthread_mutex_lock(&h->rh_lock); in _scf_set_annotation()
7531 (void) pthread_mutex_unlock(&h->rh_lock); in _scf_set_annotation()