/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/ |
H A D | x86pi_impl.h | 153 int instance; member in struct:x86pi_hcfmri_info_s
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_srvtab.c | 370 /* The maximum sizes for V4 aname, realm, sname, and instance +1 */ 417 char name[SNAME_SZ], instance[INST_SZ], realm[REALM_SZ]; local 427 kerror = read_field(fp, instance, sizeof(instance)); 444 kerror = krb5_425_conv_principal(context, name, instance, realm,
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | conv_princ.c | 28 * principal into name, instance, and realm. 41 /* The maximum sizes for V4 aname, realm, sname, and instance +1 */ 174 * instance's domain name if requested. 251 const char *instance, const char *realm, 304 if (instance) { 305 if (instance[0] == '\0') { 306 instance = 0; 318 if ((p->flags & DO_REALM_CONVERSION) && !strchr(instance, '.')) { 322 names[3] = instance; 326 instance 250 krb5_425_conv_principal(krb5_context context, const char *name, const char *instance, const char *realm, krb5_principal *princ) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | menu_text.c | 453 struct grub_menu_viewer *instance; local 455 instance = grub_zalloc (sizeof (*instance)); 456 if (!instance) 462 grub_free (instance); 467 instance->data = data; 468 instance->set_chosen_entry = menu_text_set_chosen_entry; 469 instance->print_timeout = menu_text_print_timeout; 470 instance->clear_timeout = menu_text_clear_timeout; 471 instance [all...] |
/osnet-11/usr/src/lib/efcode/engine/ |
H A D | actions.c | 104 do_buffer_data(fcode_env_t *env, token_t *d, int instance) argument 109 if (instance) {
|
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | svc.c | 66 * places, e.g. launching an instance. 223 scf_instance_t *instance = NULL; local 247 instance = scf_instance_create(fs->fs_scf_handle); 248 if (instance == NULL) { 258 if (scf_service_add_instance(service, inst_name, instance) != NULL) { 265 if (scf_service_get_instance(service, inst_name, instance) 273 rc = scf_instance_add_pg(instance, "filesys", "application", 0, pg); 278 (scf_instance_get_pg(instance, "filesys", pg))) 308 rc = scf_instance_to_fmri(instance, fs->fs_daemon_fmri, 328 if (instance ! 364 scf_instance_t *instance = NULL; local [all...] |
/osnet-11/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 382 int instance; local 414 * Get the driver name and instance number of this node. 420 if ((instance = di_instance(node)) == -1) { 435 instance = di_instance(node); 441 if (instance == -1) { 446 "%s%d", di_driver_name(node), instance);
|
/osnet-11/usr/src/lib/libdhcpsvc/private/ |
H A D | private.c | 54 * to ensure that all threads have finished using an instance before 55 * closing the instance or removing the container it's referencing. 156 unload_public_module(void **instance, dsvc_splapi_t *api) argument 160 if (dlclose(*instance) != 0) 163 *instance = NULL; 171 * instance of opened module, and populates the api argument with the 175 load_public_module(dsvc_datastore_t *ddp, void **instance, dsvc_splapi_t *api) argument 188 *instance = dlopen(path, RTLD_LAZY|RTLD_GROUP|RTLD_WORLD); 189 if (*instance == NULL) 196 api->version = (dsvc_splfuncp_t)dlsym(*instance, "versio 306 void *instance; local 328 void *instance; local 351 void *instance; local 456 void *instance; local 777 void *instance; local [all...] |
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_entity.c | 71 uint8_t id, uint8_t instance) 77 search.ie_instance = instance; 85 cp->ie_entity.ie_instance = instance; 107 ipmi_entity_sdr_parse(ipmi_sdr_t *sdrp, uint8_t *id, uint8_t *instance, argument 116 *instance = fsp->is_fs_entity_instance; 126 *instance = csp->is_cs_entity_instance; 136 *instance = eop->is_eo_entity_instance; 146 *instance = eap->is_ea_entity_instance; 156 *instance = glp->is_gl_instance; 166 *instance 70 ipmi_entity_add_assoc(ipmi_handle_t *ihp, ipmi_entity_impl_t *eip, uint8_t id, uint8_t instance) argument 197 uint8_t id, instance; local 651 ipmi_entity_lookup(ipmi_handle_t *ihp, uint8_t type, uint8_t instance) argument 674 uint8_t id, instance; local [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 30 * svc://[scope@][system-fqn]/service[:instance][@contract-id] 173 * svc:/service[:instance] 416 char *instance = NULL; local 434 err = nvlist_lookup_string(nvl, FM_FMRI_SVC_INSTANCE, &instance); 435 if ((err != 0 && err != ENOENT) || !svc_component_valid(instance)) 473 /* [:instance][@contract-id] */ 474 topo_fmristr_build(&size, buf, buflen, instance, ":", NULL); 587 /* instance */ 645 * no fmri instance OK 646 * instance delete 691 char *instance, *name; local [all...] |
/osnet-11/usr/src/lib/libdevalloc/common/ |
H A D | devalloc_impl.h | 133 int instance; member in struct:_da_devinfo_t
|
H A D | libdevalloc.c | 1798 int instance; local 1844 (void) sscanf(nentry->devinfo.devname, "%*[a-z]%d", &instance); 1845 if (nentry->devinfo.instance == new_instance) 1859 instance = 0; 1861 instance++; 1862 (void) snprintf(dname, sizeof (dname), "%s%d", tname, instance); 1873 nentry->devinfo.instance = new_instance;
|
/osnet-11/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 589 fru_tag_t tag, int instance, 600 fru_tag_t tag, int instance, 611 int instance) 588 frt_get_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t **data, size_t *data_len) argument 599 frt_set_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t *data, size_t data_len) argument 610 frt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance) argument
|
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
H A D | bay.c | 78 /* internal bay instance count */ 498 bay_create_xch(topo_mod_t *mod, topo_instance_t instance, tnode_t *pnode, argument 532 EXTERNALCHASSIS, instance, NULL, auth, NULL, NULL, ch_serial); 540 *tnode = topo_node_bind(mod, pnode, EXTERNALCHASSIS, instance, fmri); 699 /* set the bay instance */ 851 /* set bay instance if not passed in NULL */
|
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_upgrade.c | 152 * service instance related defines 164 scf_instance_t *instance; member in struct:scfutilhandle 197 if (handle->instance != NULL) 198 scf_instance_destroy(handle->instance); 249 handle->instance = scf_instance_create(handle->handle); 251 handle->pg == NULL || handle->instance == NULL) 886 * Get the config info for the instance of a group and create an 891 scf_instance_t *instance) 912 if (scf_instance_get_name(instance, buff, scf_max_name_len) > 0) { 913 if (scf_iter_instance_pgs(iter, instance) ! 890 sa_upgrade_extract_group(nvlist_t *glist, scfutilhandle_t *handle, scf_instance_t *instance) argument 1027 sa_upgrade_instance_is_enabled(scf_instance_t *instance) argument 1066 scf_instance_t *instance; local 1113 scf_instance_t *instance; local [all...] |
/osnet-11/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 801 * From the handle, segment name, tag, and instance of the tag get me: 803 * tagHdl: tag property handle in the tag table for this instance "tag" 807 fru_tag_t tag, int instance, 838 if ((tags_equal(tag, foundTag) == 1) && (instance-- == 0)) { 852 fru_tag_t tag, int instance, 864 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) { 893 fru_tag_t tag, int instance, 903 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) { 923 int instance) 933 tag, instance, 806 get_tag_handle(picl_nodehdl_t handle, const char *segment, fru_tag_t tag, int instance, picl_nodehdl_t *segHdl, picl_prophdl_t *tagHdl) argument 851 fpt_get_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t **data, size_t *data_len) argument 892 fpt_set_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t *data, size_t data_len) argument 922 fpt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance) argument [all...] |
/osnet-11/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 813 * From the handle, segment name, tag, and instance of the tag get me: 815 * tagHdl: tag property handle in the tag table for this instance "tag" 819 fru_tag_t tag, int instance, 850 if ((tags_equal(tag, foundTag) == 1) && (instance-- == 0)) { 864 fru_tag_t tag, int instance, 876 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) { 905 fru_tag_t tag, int instance, 915 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) { 935 int instance) 945 tag, instance, 818 get_tag_handle(picl_nodehdl_t handle, const char *segment, fru_tag_t tag, int instance, picl_nodehdl_t *segHdl, picl_prophdl_t *tagHdl) argument 863 fpt_get_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t **data, size_t *data_len) argument 904 fpt_set_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t *data, size_t data_len) argument 934 fpt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/usb/common/ |
H A D | usb.c | 45 int ued_inst; /* device instance */ 407 * we will not use device instance number here, because 408 * different host controller may have the same instance #. 1025 int instance; local 1211 instance = di_instance(dn); 1212 if (topo_prop_set_int32(tn, TOPO_PGROUP_IO, "instance", 1213 TOPO_PROP_IMMUTABLE, instance, &e) < 0) { 1215 "usb_populate_prop: fail to set instance, %s\n",
|
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | nssbase.py | 199 self.pgs = [] # SMF program groups for this instance 200 self.props = [] # SMF properties for this instance 365 instance = self.svc.get_instfmri() variable 366 if instance == None or instance == '': 367 self.err_msg('No :default instance name found.') 369 cmd = ' '.join(('/usr/sbin/svccfg', '-s', instance, 'refresh'))
|
H A D | nssscf.c | 56 scf_instance_t *inst; /* instance handle */ 74 #define FREE_INSTANCE() { if (instance) free((void *)instance); } 87 /* libscf instance cleanup */ 126 /* libscf instance generic setup */ 165 /* libscf instance specific init */ 207 /* libscf instance specific init */ 217 /* re-set any libscf instance specific init */ 342 char *instance = __getscf_instname(self); local 395 if (instance 500 char *instance = __getscf_instfmri(self); local 686 char *instance = __getscf_instfmri(self); local 732 char *instance = __getscf_instname(self); local 789 char *instance = __getscf_instname(self); local 843 char *instance = __getscf_instname(self); local 899 char *instance = __getscf_instfmri(self); local 953 char *instance = __getscf_instname(self); local 1178 char *instance = __getscf_instfmri(self); local 1264 char *instance = __getscf_instfmri(self); local 1605 char *instance = __getscf_instfmri(self); local [all...] |
/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 352 int32_t instance; local 375 * the instance number is present and is not equal to -1. 382 if (picl_get_propval_by_name(nodeh, PICL_PROP_INSTANCE, &instance, 383 sizeof (instance)) != PICL_SUCCESS) 385 if (instance == -1)
|
/osnet-11/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 352 * service/instance composition while filling the app_props_t. 509 * instance and the desired state for the enabled bit in the instance's 955 * get_inst_state() gets the state string from an instance, and returns 956 * the SCF_STATE_* constant that coincides with the instance's current state. 973 /* Pull the state property from the instance */ 1011 * Sets an instance to be enabled or disabled after reboot, using the 1106 * Create and return a pg from the instance associated with the given handle. 1139 /* Get pg from instance */ 1195 smf_refresh_instance(const char *instance) argument 1201 smf_restart_instance(const char *instance) argument 1207 smf_maintain_instance(const char *instance, int flags) argument 1222 smf_degrade_instance(const char *instance, int flags) argument 1250 smf_restore_instance(const char *instance) argument 1278 smf_get_state(const char *instance) argument 1647 scf_prop_get(scf_handle_t *hin, const char *instance, const char *pgname, const char *propname) argument 1730 scf_simple_prop_get(scf_handle_t *hin, const char *instance, const char *pgname, const char *propname) argument 2784 boolean_t instance = B_TRUE; local 3031 boolean_t instance = B_TRUE; local [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlbridge.c | 114 * Start up SCF and bind the requested instance alone. 194 * the specified instance. When this is done, the get_property() function 776 enable_instance(const char *service_name, const char *instance) argument 779 char *fmri = alloc_fmri(service_name, instance); 790 * Shut down a possibly-running service instance. If this is a permanent 794 shut_down_instance(const char *service_name, const char *instance, argument 798 char *fmri = alloc_fmri(service_name, instance); 839 bind_instance(service_name, instance, &sstate) == 0) { 848 disable_trill(const char *instance, uint32_t flags) argument 850 return (shut_down_instance(TRILL_SVC_NAME, instance, flag 859 enable_trill(const char *instance) argument [all...] |
H A D | libdlwlan.c | 1589 * routines of create instance 1592 add_property_group_to_instance(scf_handle_t *handle, scf_instance_t *instance, argument 1601 if (scf_instance_add_pg(instance, pg_name, pg_type, 0, pg) != 0) { 1645 add_pg_method(scf_handle_t *handle, scf_instance_t *instance, argument 1654 pg = add_property_group_to_instance(handle, instance, 1719 scf_instance_t *instance; local 1721 instance = scf_instance_create(handle); 1722 if (instance == NULL) 1725 if (scf_service_add_instance(svc, instance_name, instance) != 0) { 1727 /* Let the caller deal with the duplicate instance */ 1840 scf_instance_t *instance; local [all...] |
/osnet-11/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 43 * 4) Find the specific tag which contains the instance of this data the user 1162 // if so just add to the instance. 1168 // if not add to the end of the array of instance 0. 1181 get_tag_inst_from_hist(tag_inst_hist_t *hist, fru_tag_t tag, int *instance) argument 1186 *instance = (hist->pairs)[j].inst; 1196 // and an instance of the unknown payload you are looking for. 1199 // instance == the instance of the tag "tag" to read from the list 1201 // instance == the number of instances remaining. 1205 int *instance, fru_tag_ 1204 find_unknown_element(fru_tag_t *tags, int num_tags, int *instance, fru_tag_t *tag) argument 1275 find_known_element(fru_tag_t *tags, int num_tags, Ancestor *ants, int *instance, Ancestor **correct, int *tagInstance) argument 1348 find_known_element_abs(fru_tag_t *tags, int num_tags, int *instance, PathDef *head, Ancestor *ants, Ancestor **correct, int *tagInstance) argument 1412 get_payload(fru_nodehdl_t container, const char *seg_name, int instance, const char *field_path, PathDef **pathDef, Ancestor **ancestors, Ancestor **correct, int *tagInstance, int *instLeft, uint8_t **payload, size_t *payloadLen, int mode) argument 1553 get_seg_and_payload(fru_nodehdl_t container, char **seg_name, int instance, const char *field_path, PathDef **pathDef, Ancestor **ancestors, Ancestor **correct, int *tagInstance, int *instLeft, uint8_t **payload, size_t *payloadLen) argument 1629 fru_read_field(fru_nodehdl_t container, char **seg_name, unsigned int instance, const char *field_path, void **data, size_t *data_len, char **found_path) argument 1706 fru_update_field(fru_nodehdl_t container, char *seg_name, unsigned int instance, const char *field_path, void *data, size_t length) argument 1785 fru_get_num_iterations(fru_nodehdl_t container, char **seg_name, unsigned int instance, const char *iter_path, int *num_there, char **found_path) argument 1960 fru_delete_element(fru_nodehdl_t container, const char *seg_name, unsigned int instance, const char *element) argument [all...] |