/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp.c | 707 int instance; local 719 instance = sbdp_info->instance; 723 SBDP_DBG_MISC("sbdp_setup_instance: instance %d wnode %d\n", instance, 745 int instance; local 757 instance = sbdp_info->instance; 760 SBDP_DBG_MISC("sbdp_teardown_instance: instance %d wnode %d\n", 761 instance, wnod [all...] |
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_utils.c | 205 * the corresponding device instance. 221 if (dp->instance < nprops) { 222 ret = props[dp->instance];
|
/illumos-gate/usr/src/lib/libdladm/common/ |
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...] |
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | mp_utils.c | 51 #define DDI_INSTANCE "ddi.instance" 200 int32_t *instance = NULL; local 421 DDI_INSTANCE, &instance, &nelem); 434 if ((NULL != instance) & (NULL != major)) { 441 *val = MP_STORE_INST_TO_ID(*instance, *val);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_impl.h | 142 int instance; member in struct:x86pi_hcfmri_info_s
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_srvtab.c | 401 /* The maximum sizes for V4 aname, realm, sname, and instance +1 */ 447 char name[SNAME_SZ], instance[INST_SZ], realm[REALM_SZ]; local 457 kerror = read_field(fp, instance, sizeof(instance)); 474 kerror = krb5_425_conv_principal(context, name, instance, realm,
|
/illumos-gate/usr/src/lib/libshare/autofs/ |
H A D | libshare_autofs.c | 446 char *instance = NULL; local 457 instance, sctype, AUTOFS_FMRI, &bufsz); 539 char *value, *instance = NULL; local 559 instance, sctype, AUTOFS_FMRI); 561 * Make an instance based FMRI.
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclkstat.c | 333 serial_port_state(kstat_ctl_t *kc, char *driver, int instance) argument 346 (void) snprintf(device, sizeof (device), "/dev/tty%c", instance+'a'); 382 serial_port_cond(kstat_ctl_t *kc, char *driver, int instance) argument 384 switch (serial_port_state(kc, driver, instance)) {
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.h | 103 int32_t instance; member in struct:aac_query_disk
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | gmac.h | 111 cmac_instance *instance; member in struct:cmac
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi.h | 148 uint16_t instance; member in struct:_hpi_handle_function
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | axq.c | 293 int instance; local 298 instance = ddi_get_instance(devi); 309 softsp = ddi_get_soft_state(axq_softp, instance); 321 if (ddi_soft_state_zalloc(axq_softp, instance) != DDI_SUCCESS) 324 softsp = ddi_get_soft_state(axq_softp, instance); 372 * Make sure that some axq instance does 396 /* update the axq array for this new instance */ 409 ddi_soft_state_free(axq_softp, instance); 523 int instance; local 528 /* get the instance o 625 int instance, ret; local 1361 int instance = ddi_get_instance(dip); local [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/sys/ |
H A D | iosramio.h | 82 extern int iosram_switchfrom(int instance);
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | envctrl.h | 177 int instance; /* instance of this type */ member in struct:envctrl_ps 186 int instance; /* instance of this type */ member in struct:envctrl_fan 194 int instance; member in struct:envctrl_encl 725 int instance; member in struct:envctrlunit
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vgen_stats.h | 131 kstat_t *vgen_setup_kstats(char *ks_mod, int instance,
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_pci.c | 335 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local 337 instance); 348 *result = (void *)(uintptr_t)instance; 371 int instance; local 389 instance = ddi_get_instance(devi); 390 if (ddi_soft_state_zalloc(ppb_state, instance) != DDI_SUCCESS) 392 ppb = (ppb_devstate_t *)ddi_get_soft_state(ppb_state, instance); 398 ddi_soft_state_free(ppb_state, instance); 740 * Pseudo nodes indicate a prototype node with per-instance 807 * Pseudo nodes indicate a prototype node with per-instance 1549 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(*devp)); local 1606 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local 1647 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local 1727 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mii.h | 115 * instance number (PPA) is not the same as the devinfo instance 123 * instance The instance (PPA) of the interface. 129 mii_handle_t mii_alloc_instance(void *private, dev_info_t *dip, int instance,
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_config.h | 58 scf_instance_t *instance; member in struct:idmap_cfg_handles
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | sa_kstat.c | 201 * kstats *must* be for the same instance and have the same kid. 202 * If 'instance' argument is set to -1 don't use it as a filter. 206 int instance, char *name, int *errp) 209 sdata_t *sdp, *sdpp; /* kstat instance pointer/previous-pointer */ 214 (instance == -1 || ksp->ks_instance == instance)) { 221 * If we find one for the same instance and with the 223 * If we find one for the same instance but with a 241 /* add a new kstat instance */ 243 /* first instance */ 205 update_sdata_list(sdata_t *list, kstat_ctl_t *kc, char *module, int instance, char *name, int *errp) argument [all...] |
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | events.c | 58 int32_t *instance, *offender_cpu; local 75 instance = (int32_t *)(data->dtada_data + rec2->dtrd_offset); 79 EVENT_NAME_MAX, "%s#%d", offense_name, *instance);
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci.c | 198 * Allocates resources for each EHCI host controller instance. 207 int instance; local 222 /* Get the instance and create soft state */ 223 instance = ddi_get_instance(dip); 225 if (ddi_soft_state_zalloc(ehci_statep, instance) != 0) { 230 ehcip = ddi_get_soft_state(ehci_statep, instance); 249 /* Save the dip and instance */ 251 ehcip->ehci_instance = instance; 314 * Make this HCD instance known to USBA 543 int instance; local 581 int instance = EHCI_UNIT(dev); local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/usb_ia/ |
H A D | usb_ia.c | 262 int instance = getminor((dev_t)arg); local 268 instance)) != NULL) { 279 *result = (void *)(intptr_t)instance; 518 int instance = ddi_get_instance(dip); local 528 usb_ia = ddi_get_soft_state(usb_ia_statep, instance); 542 if (ddi_soft_state_zalloc(usb_ia_statep, instance) != DDI_SUCCESS) { 546 usb_ia = ddi_get_soft_state(usb_ia_statep, instance); 559 usb_ia->ia_instance = instance; 593 if (ddi_create_minor_node(dip, "usb_ia", S_IFCHR, instance, 646 instance); 1229 int instance = ddi_get_instance(dip); local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/usb_mid/ |
H A D | usb_mid.c | 281 int instance = local 288 instance)) != NULL) { 299 *result = (void *)(intptr_t)instance; 571 int instance = ddi_get_instance(dip); local 582 instance); 601 if (ddi_soft_state_zalloc(usb_mid_statep, instance) != DDI_SUCCESS) { 605 usb_mid = ddi_get_soft_state(usb_mid_statep, instance); 619 usb_mid->mi_instance = instance; 644 instance << USB_MID_MINOR_INSTANCE_SHIFT, 703 instance); 1437 int instance = ddi_get_instance(dip); local [all...] |
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng.c | 164 int instance; local 169 instance = ddi_get_instance(dip); 170 DBG1(NULL, DENTRY, "n2rng_attach called, instance %d", instance); 172 * Only instance 0 of n2rng driver is allowed. 174 if (instance != 0) { 175 n2rng_diperror(dip, "only one instance (0) allowed"); 182 instance); 195 rv = ddi_soft_state_zalloc(n2rng_softstate, instance); 200 n2rng = (n2rng_t *)ddi_get_soft_state(n2rng_softstate, instance); 329 int instance; local [all...] |
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | lw8.c | 357 int instance; local 363 * only allow one instance 365 instance = ddi_get_instance(dip); 366 if (instance != 0) 370 instance, DDI_PSEUDO, NULL); 424 int instance; local 429 instance = ddi_get_instance(dip); 430 if (instance != 0) 813 int instance = getminor(*dev_p); local 816 if (instance ! 1079 int instance = getminor(dev); local [all...] |