/illumos-gate/usr/src/uts/common/io/usb/hubd/ |
H A D | hubd.c | 140 int instance = (int)minor & ~HUBD_IS_ROOT_HUB; local 141 hubd_t *hubd = ddi_get_soft_state(hubd_statep, instance); 159 int instance; local 171 instance = HUBD_UNIT(dev); 172 *result = (void *)(intptr_t)instance;
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | pit_beep.c | 218 int instance, error; local 223 instance = PIT_BEEP_UNIT(dev); 226 instance)) == NULL) { 237 instance = PIT_BEEP_UNIT(dev); 239 *result = (void *)(uintptr_t)instance;
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_bboard.c | 58 int instance, int psmb_id) 123 instance = cpuboard++; 126 instance = ioboard++; 129 instance = memboard++; 132 instance = motherboard++; 149 instance = systemboard++; 156 bb_hcfmri.instance = instance; 166 topo_mod_dprintf(mod, "%s: instance (%d)\n", f, bb_hcfmri.instance); 57 x86pi_gen_bboard(topo_mod_t *mod, tnode_t *t_parent, int smb_id, int instance, int psmb_id) argument [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xencons.c | 204 int instance; local 223 instance = ddi_get_instance(devi); /* find out which unit */ 225 xcp = ddi_get_soft_state(xencons_soft_state, instance); 249 instance); 301 int instance = ddi_get_instance(devi); local 306 if (instance != 0) 320 ret = ddi_soft_state_zalloc(xencons_soft_state, instance); 323 xcp = ddi_get_soft_state(xencons_soft_state, instance); 329 xcp->unit = instance; 354 ret = ddi_create_minor_node(devi, "xencons", S_IFCHR, instance, 375 int instance, error; local 477 int instance; local 541 int instance; local 771 int instance = xcp->unit; local 900 int instance = xcp->unit; local 1240 int instance = (uintptr_t)unit; local 1433 int instance = xcp->unit; local 1479 int instance = xcp->unit; local [all...] |
H A D | xpvtap.c | 121 static xpvtap_state_t *xpvtap_drv_init(int instance); 218 int instance; local 234 instance = ddi_get_instance(dip); 235 state = xpvtap_drv_init(instance); 255 e = ddi_create_minor_node(dip, "xpvtap", S_IFCHR, instance, 281 int instance; local 284 instance = ddi_get_instance(dip); 285 state = ddi_get_soft_state(xpvtap_statep, instance); 316 int instance; local 322 instance 356 int instance; local 396 int instance; local 448 int instance; local 497 int instance; local 599 int instance; local 646 int instance; local 697 xpvtap_drv_init(int instance) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_iocb.c | 80 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance); 102 ha->instance); 133 ha->instance, ha->req_q_cnt, 156 "array\n", ha->instance); 193 ha->instance, vha->vp_index, (void *)sp); 250 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance); 277 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance); 349 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance); 373 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance); 375 QL_PRINT_5(CE_CONT, "(%d): req packet:\n", ha->instance); [all...] |
H A D | ql_debug.c | 199 ha->instance, ha->vp_index, fn); 206 QL_BANG "QEL %s(%d,%d): %s, ", QL_NAME, ha->instance, 298 cmn_err(CE_CONT, "%s(%d,%d): ---------- \n", QL_NAME, ha->instance, 305 ha->instance, ha->vp_index); 308 ha->instance, ha->vp_index, sym ? sym : "?", off); 311 cmn_err(CE_CONT, "%s(%d,%d): ---------- \n", QL_NAME, ha->instance, 341 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance); 420 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance); 454 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance); 490 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance); [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ntwdt.c | 239 int instance; local 259 instance = ddi_get_instance(dip); 260 ASSERT(instance == 0); 262 if (ddi_soft_state_zalloc(ntwdt_statep, instance) != DDI_SUCCESS) { 265 ntwdt_ptr = ddi_get_soft_state(ntwdt_statep, instance); 337 ddi_soft_state_free(ntwdt_statep, instance); 348 int instance; local 363 instance = getminor(dev); 364 *result = (void *)(uintptr_t)instance; 379 int instance local 422 int instance = getminor(*devp); local 452 int instance = getminor(dev); local 471 int instance = getminor(dev); local [all...] |
H A D | vcc.c | 172 * This template is copied for each vldc instance and filled in with 283 int instance = VCCINST(getminor((dev_t)arg)); 289 if ((vccp = ddi_get_soft_state(vcc_ssp, instance)) == NULL) { 297 *resultp = (void *)(uintptr_t)instance; 420 attr.instance = ddi_get_instance(vccp->dip); 734 int instance; local 804 * (instance << VCC_INST_SHIFT) | minor_idx 806 instance = ddi_get_instance(vccp->dip); 808 minor = (instance << VCC_INST_SHIFT) | (minor_idx); 868 i_vcc_mdeg_register(vcc_t *vccp, int instance) argument 934 int i, instance, inst; local 1064 int i, instance; local 2429 int instance; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg_delete.c | 110 scf_instance_t *instance; local 168 instance = scf_instance_create(handle); 169 if (instance == NULL) { 176 if (scf_service_get_instance(svc, instance_name, instance) != 0) { 187 scf_instance_destroy(instance); 195 if (scf_instance_to_fmri(instance, buf, max_fmri_len + 1) > 0) { 218 if (scf_instance_delete(instance) != 0) { 233 * kssl instance.
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 62 di_node_t cn, int instance, di_path_t pi) 70 instance, NULL, auth, NULL, NULL, NULL); 73 child = topo_node_bind(mod, parent, SCSI_DEVICE, instance, fmri); 122 di_node_t cn, int instance) 129 instance, NULL, auth, NULL, NULL, NULL); 132 child = topo_node_bind(mod, parent, SMP_DEVICE, instance, fmri); 156 di_node_t cn, int instance) 163 instance, NULL, auth, NULL, NULL, NULL); 166 child = topo_node_bind(mod, parent, IPORT, instance, fmri); 61 pci_scsi_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance, di_path_t pi) argument 121 pci_smp_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance) argument 155 pci_iport_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance) argument
|
/illumos-gate/usr/src/uts/intel/io/agpgart/ |
H A D | agp_kstat.c | 92 int instance; local 99 instance = ddi_get_instance(sc->asoft_dip); 101 ksp = kstat_create(AGPGART_DEVNODE, instance, "agpinfo", "agp",
|
/illumos-gate/usr/src/uts/i86pc/io/xsvc/ |
H A D | xsvc.c | 216 int instance; local 231 instance = ddi_get_instance(dip); 232 err = ddi_soft_state_zalloc(xsvc_statep, instance); 236 state = ddi_get_soft_state(xsvc_statep, instance); 242 state->xs_instance = instance; 251 err = ddi_create_minor_node(dip, "xsvc", S_IFCHR, instance, DDI_PSEUDO, 281 (void) ddi_soft_state_free(xsvc_statep, instance); 296 int instance; local 299 instance = ddi_get_instance(dip); 300 state = ddi_get_soft_state(xsvc_statep, instance); 343 int instance; local 384 int instance; local 415 int instance; local 820 int instance; local 988 int instance; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | asy.c | 601 int instance; local 605 instance = ddi_get_instance(devi); /* find out which unit */ 607 asy = ddi_get_soft_state(asy_soft_state, instance); 615 instance, asy_hw_name(asy)); 635 instance); 739 int instance; local 753 instance = ddi_get_instance(devi); /* find out which unit */ 766 asy = ddi_get_soft_state(asy_soft_state, instance); 820 ret = ddi_soft_state_zalloc(asy_soft_state, instance); 823 asy = ddi_get_soft_state(asy_soft_state, instance); 1125 int instance, error; local 1777 int instance; local 2029 int instance; local 2567 int instance = UNIT(async->async_dev); local 2681 int instance = UNIT(async->async_dev); local 2991 int instance = UNIT(async->async_dev); local 3039 int instance = UNIT(async->async_dev); local 3218 int instance; local 3321 int instance = UNIT(async->async_dev); local 3786 int instance; local 4095 int instance = (uintptr_t)unit; local 4131 int instance = UNIT(async->async_dev); local 4244 int instance = asy->asy_unit; local 4595 int instance = UNIT(async->async_dev); local 4669 int instance = UNIT(async->async_dev); local 4716 int instance = UNIT(async->async_dev); local 4769 int instance = UNIT(async->async_dev); local 4809 int instance; local [all...] |
H A D | zcons.c | 31 * for system zones. Its implementation is straightforward. Each instance 119 * 1. While booting the zone, zoneadmd creates an instance of zcons. 188 * The instance number is encoded in the dev_t in the minor number; the lowest 190 * virtual console. The rest of the bits in the minor number are the instance. 287 * List of STREAMS modules that should be pushed onto every slave instance. 336 int instance; local 341 instance = ddi_get_instance(dip); 342 if (ddi_soft_state_zalloc(zc_soft_state, instance) != DDI_SUCCESS) 349 instance << 1 | ZC_SLAVE_MINOR, DDI_PSEUDO, 0) == DDI_FAILURE) || 351 instance << 366 int instance; local 396 int instance = ZC_INSTANCE((dev_t)arg); local 596 int instance = ZC_INSTANCE(*devp); local [all...] |
H A D | tphci.c | 175 * has worked -- if this works, then we know that each instance 244 int instance, phci_regis = 0; local 247 instance = ddi_get_instance(dip); 264 if (ddi_soft_state_zalloc(tphci_state, instance) != DDI_SUCCESS) { 268 phci = ddi_get_soft_state(tphci_state, instance); 281 * Attach this instance with the mpxio framework 291 instance, DDI_NT_SCSI_NEXUS, 0) != DDI_SUCCESS) { 305 ddi_soft_state_free(tphci_state, instance); 314 int instance = ddi_get_instance(dip); local 332 ddi_soft_state_free(tphci_state, instance); 349 int instance = getminor((dev_t)arg); local [all...] |
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac.c | 224 int instance; local 228 instance = AC_GETINSTANCE(getminor(dev)); 229 *result = (void *)(uintptr_t)instance; 238 int instance; local 253 instance = ddi_get_instance(devi); 255 if (ddi_soft_state_zalloc(acp, instance) != DDI_SUCCESS) { 257 instance); 261 softsp = ddi_get_soft_state(acp, instance); 271 instance, OBP_BOARDNUM); 276 " softsp=0x%p\n", instance, (voi 360 int instance; local 445 int instance; local 486 int instance; local 567 int instance; local 910 int instance = ddi_get_instance(dip); local [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sghsc.c | 317 uint_t instance; local 322 instance = ddi_get_instance(dip); 332 instance, cmd); 344 instance, "portid", portid); 348 if (ddi_soft_state_zalloc(sghsc_state, instance) != DDI_SUCCESS) 351 sghsc = (sghsc_t *)ddi_get_soft_state(sghsc_state, instance); 354 sghsc->sghsc_instance = instance; 368 instance, sghsc->sghsc_node_id, sghsc->sghsc_board); 373 instance, sghsc->sghsc_node_id, sghsc->sghsc_board, 388 " / board %d", instance, sghs 491 int instance; local 1444 int instance; local 1700 int instance; local [all...] |
H A D | sgsbbc.c | 222 int instance; local 230 instance = ddi_get_instance(devi); 235 if (ddi_soft_state_zalloc(sbbcp, instance) != 0) 238 softsp = ddi_get_soft_state(sbbcp, instance); 239 softsp->sbbc_instance = instance; 244 * per instance mutex. 251 * this device. If not, this instance will be ignored. 257 "SBBC instance %d\n", instance); 261 * Add this instance t 345 int instance; local 927 sbbc_get_soft_state(int instance) argument [all...] |
/illumos-gate/usr/src/lib/efcode/fcode_test/ |
H A D | Makefile | 35 instance.fth catch.fth storage.fth case.fth access.fth misc.fth \
|
/illumos-gate/usr/src/lib/libfru/include/ |
H A D | libfru.h | 256 unsigned int instance, 263 unsigned int instance, 269 unsigned int instance, 278 unsigned int instance, const char *element);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mr_sas/ |
H A D | mr_sas.c | 132 int instance; local 165 instance = m.instance; 181 mdb_printf("%16p %4d %4d ", addr, instance, ncmds); 209 mdb_printf("Prints summary information about each mr_sas instance, " 211 "instance.\n\n"
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | getinst.c | 56 * This returns the correct package instance based on how many packages are 59 * admin file) to determine if we should overwrite an instance which is 60 * already installed, or possibly install a new instance of this package 77 * If this is the first instance of the package, it's called the by 87 * new instance of the package to install 90 if (ADM(instance, "newonly") || ADM(instance, "quit")) { 92 * new instance is required, or quit if not new 106 * package already installed and new instance not required 107 * see if updating the same instance o [all...] |
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | HBAList.h | 42 * @doc This class and its single instance is used to track 51 static HBAList* instance();
|
/illumos-gate/usr/src/uts/sun4u/javelin/sys/ |
H A D | envctrltwo.h | 42 int instance; member in struct:envctrlunit
|