/titanic_41/usr/src/lib/libc/sparc/sys/ |
H A D | uadmin.c | 57 void *scf_handle = dlopen("libscf.so.1", RTLD_LAZY); in load_scf() local 58 scf_simple_prop_get_t scf_simple_prop_get = (scf_handle == NULL)? NULL : in load_scf() 59 (scf_simple_prop_get_t)dlsym(scf_handle, "scf_simple_prop_get"); in load_scf() 61 (scf_handle == NULL)? NULL : in load_scf() 62 (scf_simple_prop_next_boolean_t)dlsym(scf_handle, in load_scf() 65 (scf_handle == NULL)? NULL : in load_scf() 66 (scf_simple_prop_free_t)dlsym(scf_handle, "scf_simple_prop_free"); in load_scf() 76 scf_handle = NULL; /* don't dlclose it */ in load_scf() 84 scf_handle = NULL; /* don't dlclose it */ in load_scf() 91 scf_handle = NULL; /* don't dlclose it */ in load_scf() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_scfutil.c | 78 scf_pg_create(handle->scf_handle)) == NULL) in smb_smf_create_service_pgroup() 127 scf_transaction_create(handle->scf_handle); in smb_smf_start_transaction() 195 value = scf_value_create(handle->scf_handle); in smb_smf_set_string_property() 196 entry = scf_entry_create(handle->scf_handle); in smb_smf_set_string_property() 255 value = scf_value_create(handle->scf_handle); in smb_smf_get_string_property() 256 prop = scf_property_create(handle->scf_handle); in smb_smf_get_string_property() 296 value = scf_value_create(handle->scf_handle); in smb_smf_set_integer_property() 297 entry = scf_entry_create(handle->scf_handle); in smb_smf_set_integer_property() 349 value = scf_value_create(handle->scf_handle); in smb_smf_get_integer_property() 350 prop = scf_property_create(handle->scf_handle); in smb_smf_get_integer_property() [all …]
|
H A D | libsmb.h | 88 scf_handle_t *scf_handle; member
|
/titanic_41/usr/src/lib/libshare/smbfs/ |
H A D | smbfs_scfutil.c | 98 if (handle->scf_handle != NULL) { in smb_smf_scf_fini() 101 (void) scf_handle_unbind(handle->scf_handle); in smb_smf_scf_fini() 102 scf_handle_destroy(handle->scf_handle); in smb_smf_scf_fini() 103 handle->scf_handle = NULL; in smb_smf_scf_fini() 122 handle->scf_instance = scf_instance_create(handle->scf_handle); in smb_smf_instance_exists() 157 handle->scf_instance = scf_instance_create(handle->scf_handle); in smb_smf_instance_create() 187 handle->scf_instance = scf_instance_create(handle->scf_handle); in smb_smf_instance_delete() 217 handle->scf_handle = scf_handle_create(SCF_VERSION); in smb_smf_scf_init() 218 if (handle->scf_handle != NULL) { in smb_smf_scf_init() 219 if (scf_handle_bind(handle->scf_handle) == 0) { in smb_smf_scf_init() [all …]
|
H A D | libshare_smbfs.h | 93 scf_handle_t *scf_handle; member
|
/titanic_41/usr/src/lib/libc/i386/sys/ |
H A D | uadmin.c | 72 void *scf_handle = dlopen("libscf.so.1", RTLD_LAZY); in load_scf() local 73 scf_simple_prop_get_t scf_simple_prop_get = (scf_handle == NULL)? NULL : in load_scf() 74 (scf_simple_prop_get_t)dlsym(scf_handle, "scf_simple_prop_get"); in load_scf() 76 (scf_handle == NULL)? NULL : in load_scf() 77 (scf_simple_prop_next_boolean_t)dlsym(scf_handle, in load_scf() 80 (scf_handle == NULL)? NULL : in load_scf() 81 (scf_simple_prop_free_t)dlsym(scf_handle, "scf_simple_prop_free"); in load_scf() 91 scf_handle = NULL; /* don't dlclose it */ in load_scf() 99 scf_handle = NULL; /* don't dlclose it */ in load_scf() 106 scf_handle = NULL; /* don't dlclose it */ in load_scf() [all …]
|
/titanic_41/usr/src/lib/libc/amd64/sys/ |
H A D | uadmin.c | 73 void *scf_handle = dlopen("libscf.so.1", RTLD_LAZY); in load_scf() local 74 scf_simple_prop_get_t scf_simple_prop_get = (scf_handle == NULL)? NULL : in load_scf() 75 (scf_simple_prop_get_t)dlsym(scf_handle, "scf_simple_prop_get"); in load_scf() 77 (scf_handle == NULL)? NULL : in load_scf() 78 (scf_simple_prop_next_boolean_t)dlsym(scf_handle, in load_scf() 81 (scf_handle == NULL)? NULL : in load_scf() 82 (scf_simple_prop_free_t)dlsym(scf_handle, "scf_simple_prop_free"); in load_scf() 92 scf_handle = NULL; /* don't dlclose it */ in load_scf() 100 scf_handle = NULL; /* don't dlclose it */ in load_scf() 107 scf_handle = NULL; /* don't dlclose it */ in load_scf() [all …]
|
/titanic_41/usr/src/lib/libndmp/common/ |
H A D | libndmp_prop.c | 69 scf_handle_t *scf_handle; member 194 if ((value = scf_value_create(h->scf_handle)) == NULL) in ndmp_smf_get_pg_name() 197 if ((prop = scf_property_create(h->scf_handle)) == NULL) { in ndmp_smf_get_pg_name() 248 (void) scf_handle_unbind(handle->scf_handle); in ndmp_smf_scf_fini() 249 scf_handle_destroy(handle->scf_handle); in ndmp_smf_scf_fini() 265 if (((handle->scf_handle = in ndmp_smf_scf_init() 267 (scf_handle_bind(handle->scf_handle) == 0)) { in ndmp_smf_scf_init() 269 scf_scope_create(handle->scf_handle)) == NULL) in ndmp_smf_scf_init() 272 if (scf_handle_get_local_scope(handle->scf_handle, in ndmp_smf_scf_init() 277 scf_service_create(handle->scf_handle)) == NULL) in ndmp_smf_scf_init() [all …]
|
/titanic_41/usr/src/lib/libshare/common/ |
H A D | libshare.c | 3032 add_or_update(scfutilhandle_t *scf_handle, int type, scf_value_t *value, in add_or_update() argument 3039 ret = scf_transaction_property_new(scf_handle->trans, in add_or_update() 3042 ret = scf_transaction_property_change(scf_handle->trans, in add_or_update() 3082 scfutilhandle_t *scf_handle; in sa_set_prop_by_prop() local 3094 scf_handle = impl_handle->scfhandle; in sa_set_prop_by_prop() 3097 entry = scf_entry_create(scf_handle->handle); in sa_set_prop_by_prop() 3118 if (scf_handle->trans == NULL) { in sa_set_prop_by_prop() 3133 ret = sa_get_instance(scf_handle, in sa_set_prop_by_prop() 3143 ret = sa_start_transaction(scf_handle, oname); in sa_set_prop_by_prop() 3151 scf_handle->trans, entry, name); in sa_set_prop_by_prop() [all …]
|
/titanic_41/usr/src/lib/libscf/common/ |
H A D | lowlevel_impl.h | 62 struct scf_handle { struct
|
/titanic_41/usr/src/lib/libscf/inc/ |
H A D | libscf.h | 44 typedef struct scf_handle scf_handle_t;
|