/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.c | 2943 * instance - DDI instance number. 2951 skd_construct(skd_device_t *skdev, int instance) argument 4054 skdev->instance, skdev->flags); 4078 skdev->instance, skdev->flags); 4131 Dcmn_err(CE_CONT, "(%s%d): setup_intr", DRV_NAME, skdev->instance); 4298 DRV_NAME, skdev->instance); 4354 * instance - device instance. 4362 uint32_t seq, int instance) 4361 skd_dealloc_resources(dev_info_t *dip, skd_device_t *skdev, uint32_t seq, int instance) argument 4658 int instance; local 4957 int instance; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_dbg.c | 182 qlge->instance, reg, wait_bit); 565 ql_printf("ql_dump_req_pkt(%d):enter\n", qlge->instance); 713 qlge->instance); 769 ql_printf("ql_dump_pci_config(%d): exit\n", qlge->instance); 824 __func__, qlge->instance, cnt)); 892 __func__, qlge->instance, region); 913 __func__, qlge->instance, noptions)); 989 __func__, qlge->instance); 1206 __func__, qlge->instance); 1255 __func__, qlge->instance); [all...] |
H A D | qlge_gld.c | 199 __func__, qlge->instance)); 203 __func__, qlge->instance)); 363 "status %d\n", __func__, qlge->instance, val)); 483 __func__, qlge->instance); 751 __func__, qlge->instance, new_mtu)); 769 qlge->instance, new_mtu, qlge->mac_flags); 777 __func__, qlge->instance,
|
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/ |
H A D | usb_as.c | 252 int instance = USB_AS_MINOR_TO_INSTANCE( local 259 instance)) != NULL) { 269 *result = (void *)(uintptr_t)instance; 283 int instance = ddi_get_instance(dip); local 302 if (ddi_soft_state_zalloc(usb_as_statep, instance) != DDI_SUCCESS) { 310 uasp = (usb_as_state_t *)ddi_get_soft_state(usb_as_statep, instance); 320 uasp->usb_as_instance = instance; 324 ddi_driver_name(dip), instance); 368 USB_AS_CONSTRUCT_MINOR(instance), 413 int instance local 1752 int instance = ddi_get_instance(dip); local [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/usb/clients/hid/ |
H A D | hid.c | 307 int instance = HID_MINOR_TO_INSTANCE(minor); local 311 if ((hidp = ddi_get_soft_state(hid_statep, instance)) != NULL) { 320 *result = (void *)(uintptr_t)instance; 343 int instance = ddi_get_instance(dip); local 357 hidp = ddi_get_soft_state(hid_statep, instance); 368 if (ddi_soft_state_zalloc(hid_statep, instance) == DDI_SUCCESS) { 369 hidp = ddi_get_soft_state(hid_statep, instance); 379 hidp->hid_instance = instance; 660 HID_CONSTRUCT_EXTERNAL_MINOR(instance), 671 HID_CONSTRUCT_INTERNAL_MINOR(instance)) ! 737 int instance = ddi_get_instance(dip); local 777 int instance; local 1324 int instance = ddi_get_instance(dip); local [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 30 * svc://[scope@][system-fqn]/service[:instance][@contract-id] 182 * svc:/service[:instance] 425 char *instance = NULL; local 443 err = nvlist_lookup_string(nvl, FM_FMRI_SVC_INSTANCE, &instance); 444 if ((err != 0 && err != ENOENT) || !svc_component_valid(instance)) 482 /* [:instance][@contract-id] */ 483 topo_fmristr_build(&size, buf, buflen, instance, ":", NULL); 596 /* instance */ 654 * no fmri instance OK 655 * instance delete 702 char *instance, *name; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu.c | 774 immu_alloc_name(const char *str, int instance) argument 782 (void) snprintf(s, slen, "%s%d", str, instance); 798 int instance; local 816 instance = ddi_get_instance(immu->immu_dip); 818 immu->immu_name = immu_alloc_name(nodename, instance); 863 pcachename = immu_alloc_name("immu_pgtable_cache", instance); 867 hcachename = immu_alloc_name("immu_hdl_cache", instance);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 315 "switching mode", vswp->instance); 357 vswp->instance); 367 "device: %s\n", vswp->instance, vswp->physname); 444 * vswp: pointer to the vsw instance 944 vswp->instance); 1003 "the interface", vswp->instance, vswp->pvid); 1012 " for the interface", vswp->instance, 1026 "the port(%d)", vswp->instance, vswp->pvid, 1036 " for the port(%d)", vswp->instance, 1148 "the port(%d)", vswp->instance, [all...] |
/illumos-gate/usr/src/uts/intel/io/vgatext/ |
H A D | vgatext.c | 58 * Each instance of this driver has 2 minor nodes: 323 #define getsoftc(instance) ((struct vgatext_softc *) \ 324 ddi_get_soft_state(vgatext_softc_head, (instance))) 621 int instance = ddi_get_instance(devi); local 622 struct vgatext_softc *softc = getsoftc(instance); 638 (void) ddi_soft_state_free(vgatext_softc_head, instance); 675 int instance; local 681 instance = DEV2INST(dev); 682 softc = getsoftc(instance); 694 *result = (void *)(uintptr_t)instance; [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 131 int32_t instance; local 185 instance = montoya_get_network_instance(path); 189 "NET", instance);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 158 int32_t instance; local 222 instance = monza_get_network_instance(path); 226 "NET", instance);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 145 int32_t instance; local 200 instance = huron_get_network_instance(path); 203 "NET", instance);
|
H A D | pelton.c | 149 int32_t instance; local 198 instance = pelton_get_network_instance(path); 202 "NET", instance);
|
/illumos-gate/usr/src/cmd/intrstat/ |
H A D | intrstat.c | 186 int32_t *instance; local 200 instance = (int32_t *)(data->dtada_data + irec->dtrd_offset); 214 name, *instance);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | srn.c | 58 * Minor number is instance<<8 + clone minor from range 1-255; 177 if (srn.srn_instance != -1) /* Only allow one instance */ 278 int instance; local 289 instance = getminor(dev) >> 8; 290 *result = (void *)(uintptr_t)instance;
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor.h | 106 * Macro and defines used to calculate device instance number from minor 340 * every instance of the Tavor driver. 697 * structure contains a key, a resource type (described above), an instance 698 * (corresponding to the driver instance which inserted the database entry), 777 tavor_umap_db_entry_t *tavor_umap_db_alloc(uint_t instance, uint64_t key, 782 int tavor_umap_db_find(uint_t instance, uint64_t key, uint_t type, 784 int tavor_umap_db_find_nolock(uint_t instance, uint64_t key, uint_t type,
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | ds_impl.h | 303 uint_t drvi; /* driver instance */ 444 int ds_is_my_hdl(ds_svc_hdl_t hdl, int instance); 485 int instance, ds_svc_hdl_t *hdlp); 492 void ds_unreg_all(int instance);
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlib.c | 252 uint_t instance; local 259 * correct instance number of the IP over IB driver instance. 266 * Get the instance number of the IP over IB driver instance which 269 if (dladm_parselink(dpa.dp_dev, NULL, &instance) != DLADM_STATUS_OK) 280 ioc.ibdioc.ioc_port_inst = instance; 301 ioc.ibdioc.ioc_port_inst = instance; 461 * Get the instance number of the IP over IB driver instance whic [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.h | 236 uint8_t instance; member in struct:port_node
|
H A D | picllibdevinfo.c | 63 int instance; member in struct:p_info 236 "NODE", port_info->drv_name, port_info->instance, 375 port_info->instance = di_instance(node); 779 * initializes the port driver and instance fields based on libdevinfo 845 /* initialize the driver name and instance number */ 847 portp->instance = di_instance(curr);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.h | 258 int instance; member in struct:ipqos_conf_filter_s
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | setadmin.c | 62 &adm.instance, "instance",
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | solaris.c | 416 * Initialize things for IPF for each stack instance 707 int instance; local 716 instance = ddi_get_instance(dip); 717 /* Only one instance of ipf (instance 0) can be attached. */ 718 if (instance > 0) 722 cmn_err(CE_CONT, "IP Filter: attach ipf instance %d", instance);
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi.h | 198 uint16_t instance; member in struct:_npi_handle_function
|