Lines Matching refs:hndl
116 mhash_retrieve_entry(scf_handle_t *hndl, const char *name, uchar_t *hash, in mhash_retrieve_entry() argument
136 if ((scope = scf_scope_create(hndl)) == NULL || in mhash_retrieve_entry()
137 (svc = scf_service_create(hndl)) == NULL || in mhash_retrieve_entry()
138 (pg = scf_pg_create(hndl)) == NULL || in mhash_retrieve_entry()
139 (prop = scf_property_create(hndl)) == NULL || in mhash_retrieve_entry()
140 (val = scf_value_create(hndl)) == NULL) { in mhash_retrieve_entry()
145 if (scf_handle_get_local_scope(hndl, scope) < 0) { in mhash_retrieve_entry()
232 mhash_store_entry(scf_handle_t *hndl, const char *name, const char *fname, in mhash_store_entry() argument
251 if ((scope = scf_scope_create(hndl)) == NULL || in mhash_store_entry()
252 (svc = scf_service_create(hndl)) == NULL || in mhash_store_entry()
253 (pg = scf_pg_create(hndl)) == NULL || in mhash_store_entry()
254 (prop = scf_property_create(hndl)) == NULL) { in mhash_store_entry()
261 if (scf_handle_get_local_scope(hndl, scope) != SCF_SUCCESS) { in mhash_store_entry()
356 if ((e = scf_entry_create(hndl)) == NULL || in mhash_store_entry()
357 (val = scf_value_create(hndl)) == NULL || in mhash_store_entry()
358 (fe = scf_entry_create(hndl)) == NULL || in mhash_store_entry()
359 (fval = scf_value_create(hndl)) == NULL || in mhash_store_entry()
360 (ae = scf_entry_create(hndl)) == NULL || in mhash_store_entry()
361 (aval = scf_value_create(hndl)) == NULL) { in mhash_store_entry()
377 tx = scf_transaction_create(hndl); in mhash_store_entry()
581 mhash_test_file(scf_handle_t *hndl, const char *file, uint_t is_profile, in mhash_test_file() argument
642 hashash = mhash_retrieve_entry(hndl, pname, stored_hash, &action) == 0; in mhash_test_file()
742 (void) mhash_store_entry(hndl, pname, file, hash, in mhash_test_file()
774 (void) mhash_store_entry(hndl, pname, file, hash, in mhash_test_file()