Lines Matching refs:sr_handle
68 scf_handle_t *sr_handle;
301 (void) scf_handle_unbind(res->sr_handle);
302 scf_handle_destroy(res->sr_handle);
333 if ((res->sr_handle = scf_handle_create(SCF_VERSION)) == NULL) {
337 if (scf_handle_bind(res->sr_handle) != 0) {
338 scf_handle_destroy(res->sr_handle);
341 if ((res->sr_inst = scf_instance_create(res->sr_handle)) == NULL) {
344 if (scf_handle_decode_fmri(res->sr_handle, fmri, NULL, NULL,
348 if ((res->sr_snap = scf_snapshot_create(res->sr_handle)) == NULL) {
355 if ((res->sr_pg = scf_pg_create(res->sr_handle)) == NULL) {
358 if ((res->sr_prop = scf_property_create(res->sr_handle)) == NULL) {
361 if ((res->sr_val = scf_value_create(res->sr_handle)) == NULL) {
364 if ((res->sr_tx = scf_transaction_create(res->sr_handle)) == NULL) {
367 if ((res->sr_ent = scf_entry_create(res->sr_handle)) == NULL) {