Searched refs:sr_handle (Results 1 – 3 of 3) sorted by relevance
68 scf_handle_t *sr_handle; member301 (void) scf_handle_unbind(res->sr_handle); in release_scf_resources()302 scf_handle_destroy(res->sr_handle); in release_scf_resources()333 if ((res->sr_handle = scf_handle_create(SCF_VERSION)) == NULL) { in create_scf_resources()337 if (scf_handle_bind(res->sr_handle) != 0) { in create_scf_resources()338 scf_handle_destroy(res->sr_handle); in create_scf_resources()341 if ((res->sr_inst = scf_instance_create(res->sr_handle)) == NULL) { in create_scf_resources()344 if (scf_handle_decode_fmri(res->sr_handle, fmri, NULL, NULL, in create_scf_resources()348 if ((res->sr_snap = scf_snapshot_create(res->sr_handle)) == NULL) { in create_scf_resources()355 if ((res->sr_pg = scf_pg_create(res->sr_handle)) == NULL) { in create_scf_resources()[all …]
1429 (void) scf_handle_unbind(res->sr_handle); in ipmgmt_release_scf_resources()1430 scf_handle_destroy(res->sr_handle); in ipmgmt_release_scf_resources()1448 if ((res->sr_handle = scf_handle_create(SCF_VERSION)) == NULL) in ipmgmt_create_scf_resources()1451 if (scf_handle_bind(res->sr_handle) != 0) { in ipmgmt_create_scf_resources()1452 scf_handle_destroy(res->sr_handle); in ipmgmt_create_scf_resources()1455 if ((res->sr_inst = scf_instance_create(res->sr_handle)) == NULL) in ipmgmt_create_scf_resources()1457 if (scf_handle_decode_fmri(res->sr_handle, fmri, NULL, NULL, in ipmgmt_create_scf_resources()1482 if ((res->sr_val = scf_value_create(res->sr_handle)) == NULL) in ipmgmt_set_scfprop_value()1500 if ((res->sr_tx = scf_transaction_create(res->sr_handle)) == NULL) in ipmgmt_set_scfprop_value()1502 if ((res->sr_ent = scf_entry_create(res->sr_handle)) == NULL) in ipmgmt_set_scfprop_value()[all …]
165 scf_handle_t *sr_handle; member