/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 1207 int instance; local 1218 instance = di_instance(phci_node); 1220 PICL_PTYPE_INT, PICL_READ, sizeof (instance), 1222 (void) ptree_create_and_add_prop(nodeh, &propinfo, &instance, 1256 int instance; local 1266 instance = di_instance(di_node); 1268 PICL_PTYPE_INT, PICL_READ, sizeof (instance), PICL_PROP_INSTANCE, 1270 (void) ptree_create_and_add_prop(nodeh, &propinfo, &instance, NULL);
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 397 * The attach() function will be called once for each instance 408 int instance; local 424 * get device instance number 426 instance = ddi_get_instance(devinfo); 435 Adapter->instance = instance; 1027 * state associated with a given instance of a device node 1028 * prior to the removal of that instance from the system. 1030 * The detach() function will be called once for each instance 1079 * e1000g_free_priv_devi_node - free a priv_dip entry for driver instance [all...] |
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/ |
H A D | sf.c | 409 * Given the device number return the devinfo pointer or instance 415 int instance = SF_MINOR2INST(getminor((dev_t)arg)); local 420 sf = ddi_get_soft_state(sf_state, instance); 430 *result = (void *)(uintptr_t)instance; 444 int instance; local 466 instance = ddi_get_instance(dip); 468 sf = ddi_get_soft_state(sf_state, instance); 470 "sf_attach: DDI_RESUME for sf%d\n", instance)); 472 cmn_err(CE_WARN, "sf%d: bad soft state", instance); 521 * this instance attachin 914 int instance; local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | rmclomv.c | 387 int instance; local 395 * only allow one instance 397 instance = ddi_get_instance(dip); 398 if (instance != 0) 402 instance, DDI_PSEUDO, NULL); 488 int instance; local 493 instance = ddi_get_instance(dip); 494 if (instance != 0) 1150 int instance = getminor(*dev_p); local 1152 if (instance ! 1911 int instance = getminor(dev); local [all...] |
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 418 * The attach() function will be called once for each instance 429 int instance; local 445 /* Get the device instance */ 446 instance = ddi_get_instance(devinfo); 448 /* Allocate memory for the instance data structure */ 452 igb->instance = instance; 459 /* Attach the instance pointer to the dev_info data structure */ 618 * state associated with a given instance of a device node 619 * prior to the removal of that instance fro [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca.c | 562 int instance; local 586 instance = ddi_get_instance(dip); 588 DBG(NULL, DMOD, "dca: in dca_attach() for %d", instance); 659 if (ddi_soft_state_zalloc(dca_state, instance) != DDI_SUCCESS) { 664 dca = ddi_get_soft_state(dca_state, instance); 837 /* Initialize the local random number pool for this instance */ 888 ddi_soft_state_free(dca_state, instance); 896 int instance; local 900 instance = ddi_get_instance(dip); 902 DBG(NULL, DMOD, "dca: in dca_detach() for %d", instance); [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 409 * The attach() function will be called once for each instance 420 int instance; local 437 /* Get the device instance */ 438 instance = ddi_get_instance(devinfo); 440 /* Allocate memory for the instance data structure */ 444 ixgbe->instance = instance; 451 /* Attach the instance pointer to the dev_info data structure */ 544 (void) sprintf(taskqname, "ixgbe%d_sfp_taskq", instance); 555 (void) sprintf(taskqname, "ixgbe%d_overtemp_taskq", instance); [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 150 * sets. Here we present a composed view of an instance's properties as the 154 * properties of the instance when the snapshot was taken). 157 * group iterator for an instance or snapshot be composed. Property groups 170 * in rc_node_t. For instances, the pointers point to the instance and its 248 * authorization string that is declared in an instance PG is more 452 PC_AUTH_INST /* strings specified in PG of an instance. */ 1233 const char *instance, const char *pg) 1243 (instance != NULL)? ":" : "", (instance != NULL)? instance 1232 rc_notify_deletion(rc_notify_delete_t *ndp, const char *service, const char *instance, const char *pg) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.c | 310 int instance; local 325 instance = ddi_get_instance(dip); 327 if (ddi_soft_state_zalloc(qlt_state, instance) != DDI_SUCCESS) { 331 if ((qlt = (qlt_state_t *)ddi_get_soft_state(qlt_state, instance)) == 336 qlt->instance = instance; 342 cmn_err(CE_WARN, "qlt(%d): can't setup el tracing", instance); 346 EL(qlt, "instance=%d, ptr=%p\n", instance, (void *)qlt); 356 instance, di 568 int instance; local 1201 int instance, i; local 1593 int instance; local 1644 int instance; local 4074 int instance = ddi_get_instance(qlt->dip); local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe.h | 590 int instance; member in struct:_um_device
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 67 #include <sys/instance.h> 1170 int instance; local 1172 if ((instance = dev_to_instance(dev)) == -1) 1175 return (copyout(&instance, uinstancep, sizeof (int))); 1510 * Return the size of the (major,instance) devfspath name. 1513 modctl_devfspath_mi_len(major_t major, int instance, uint_t *len) argument 1520 if (e_ddi_majorinstance_to_path(major, instance, name) != DDI_SUCCESS) { 1538 * return a path - it uses the instance tree. 1541 modctl_devfspath_mi(major_t major, int instance, uint_t len, char *uname) argument 1549 if (e_ddi_majorinstance_to_path(major, instance, nam [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cs.h | 722 uint32_t instance; /* instance number of this adapter */ member in struct:get_physical_adapter_info_t 1018 int32_t instance; /* instance */ member in struct:cs_ddi_info_t
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | domctl.h | 641 uint32_t instance; /* IN: Instance of that type */ member in struct:xen_domctl_hvmcontext_partial
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 264 __func__, qlge->instance); 274 __func__, qlge->instance, value, fn0_net, fn1_net); 412 * Initialize adapter instance 485 __func__, qlge->instance); 561 __func__, qlge->instance, sem_mask); 590 /* Get adapter instance parameter. */ 591 (void) sprintf(buf, "hba%d-%s", qlge->instance, string); 595 /* Adapter instance parameter found? */ 802 __func__, qlge->instance, intr, ctx->irq_cnt)); 819 __func__, qlge->instance, ct 6193 ql_setup_named_kstat(qlge_t *qlge, int instance, char *name, const ql_ksindex_t *ksip, size_t size, int (*update)(kstat_t *, int)) argument 7390 int instance; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 2151 "phyport-instance", -1); 2250 int i, instance; local 2253 instance = ddi_get_instance(dip); 2254 port = (fc_local_port_t *)fc_ulp_get_port_handle(instance); 2272 int i, instance; local 2275 instance = ddi_get_instance(dip); 2276 port = (fc_local_port_t *)fc_ulp_get_port_handle(instance); 2296 int instance; local 2299 instance = ddi_get_instance(dip); 2300 port = (fc_local_port_t *)fc_ulp_get_port_handle(instance); [all...] |
H A D | fp.c | 336 * not specific to an instance. 526 * dev_info_t pointer or the instance number. 534 minor_t instance; local 538 instance = getminor((dev_t)arg); 543 instance)) == NULL) { 551 *result = (void *)(uintptr_t)instance; 668 int instance; local 685 instance = (int)getminor(*devp); 687 port = ddi_get_soft_state(fp_driver_softstate, instance); 731 int instance; local 764 int instance; local 916 int instance; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge.h | 285 * Hydra Device instance state information. 286 * Each instance is dynamically allocated on first attach. 289 dev_info_t *dip; /* device instance */ 290 dev_info_t *p_dip; /* Parent's device instance */ 291 int instance; /* instance number */ member in struct:_hxge_t 383 filter_t filter; /* Current instance filter */
|
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/ |
H A D | daplt.c | 863 int instance, retval, err; local 880 instance = ddi_get_instance(dip); 881 if (ddi_soft_state_zalloc(daplka_state, instance) != DDI_SUCCESS) { 886 dp = ddi_get_soft_state(daplka_state, instance); 888 ddi_soft_state_free(daplka_state, instance); 1024 ddi_soft_state_free(daplka_state, instance); 1035 int instance, err; local 1048 instance = ddi_get_instance(dip); 1049 dp = ddi_get_soft_state(daplka_state, instance); 1075 ddi_soft_state_free(daplka_state, instance); [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 80 * With the dladm model, ibnex will create one ibd instance per port. These 86 * The port instance is a child of the HCA, and will have an entry in the devfs. 108 * The port instance by itself cannot be plumbed. It is only the partition 148 * implications. All properties are specific to an instance of either the 163 * - The properties cannot be set when an instance is plumbed. The 164 * instance has to be unplumbed to effect any setting. 2824 int instance; local 2833 * Get the instance softstate 2835 instance = ddi_get_instance(dip); 2836 state = ddi_get_soft_state(ibd_list, instance); 8745 int instance; local 8829 int instance; local [all...] |
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic.h | 407 * Receive context. There is one such structure per instance of the 478 int instance; member in struct:unm_adapter_s
|
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 741 "one instance\n")); 1061 int instance; local 1067 instance = msg->cnum; 1079 adapter = rsmka_lookup_adapter(adapter_devname, instance);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 384 * has worked -- if this works, then we know that each instance 617 int instance; local 625 instance = ddi_get_instance(dip); 646 if (ddi_soft_state_zalloc(vhci_softstate, instance) != DDI_SUCCESS) { 652 if ((vhci = ddi_get_soft_state(vhci_softstate, instance)) == NULL) { 655 ddi_soft_state_free(vhci_softstate, instance); 661 "vhci%d_cache", instance); 674 vhci->vhci_instance = instance; 712 * Attach this instance with the mpxio framework 723 * Attach this instance o 820 int instance = ddi_get_instance(dip); local 889 int instance = MINOR2INST(getminor((dev_t)arg)); local 1124 int instance, held; local 5407 int instance, held; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 616 int instance; local 631 /* Get the instance and create soft state */ 632 instance = ddi_get_instance(dip); 634 if (ddi_soft_state_zalloc(ohci_statep, instance) != 0) { 639 ohcip = ddi_get_soft_state(ohci_statep, instance); 661 /* Save the dip and instance */ 663 ohcip->ohci_instance = instance; 716 * Make this HCD instance known to USBA 823 int instance; local 829 instance 861 int instance = OHCI_UNIT(dev); local 9687 int instance = ddi_get_instance(dip); local 10922 uint_t instance = ohcip->ohci_instance; local [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 611 int instance; member in struct:qlge
|
/illumos-gate/usr/src/uts/common/io/iwk/ |
H A D | iwk2.c | 476 int instance, err, i; local 511 instance = ddi_get_instance(dip); 512 err = ddi_soft_state_zalloc(iwk_soft_state_p, instance); 518 sc = ddi_get_soft_state(iwk_soft_state_p, instance); 707 * different instance has different WPA door 793 (void) snprintf(strbuf, sizeof (strbuf), DRV_NAME_4965"%d", instance); 795 instance + 1, DDI_NT_NET_WIFI, 0); 846 ddi_soft_state_free(iwk_soft_state_p, instance);
|