/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Poold.java | 300 * Singleton instance of Poold. 302 private static Poold instance; field in class:Poold 634 * Only one poold instance should be running per system. 696 * severity doesn't match that of an existing instance. 701 if (instance == null) 702 return (instance = new Poold(consoleSeverity)); 708 return (instance); 877 instance = null; 956 * will have ERROR severity unless an instance of 976 * will have ERROR severity unless an instance o [all...] |
/illumos-gate/usr/src/cmd/pools/poold/libjkstat/ |
H A D | jkstat.c | 188 jstring moduleObj, jint instance, jstring nameObj) 206 ksp = kstat_lookup(kctl, (char *)module, instance, (char *)name); 187 Java_com_sun_solaris_service_kstat_KstatCtl_lookup(JNIEnv *env, jobject obj, jstring moduleObj, jint instance, jstring nameObj) argument
|
/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/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg_create.c | 63 add_property_group_to_instance(scf_handle_t *handle, scf_instance_t *instance, argument 78 if (scf_instance_add_pg(instance, pg_name, pg_type, 0, pg) != 0) { 83 "Error: another process is modifying this instance." 176 add_pg_method(scf_handle_t *handle, scf_instance_t *instance, argument 188 pg = add_property_group_to_instance(handle, instance, 307 scf_instance_t *instance; local 309 instance = scf_instance_create(handle); 310 if (instance == NULL) { 318 if (scf_service_get_instance(svc, inaddr_any_name, instance) == 0) { 319 /* Let the caller deal with the duplicate instance */ [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/modules/intr/ |
H A D | intr.c | 51 int instance; member in struct:intr_info 229 /* Get instance */ 243 info.instance = dev.devi_instance; 318 /* Get instance */ 330 info.instance = dev.devi_instance; 402 /* Get instance */ 414 info.instance = dev.devi_instance; 494 mdb_printf(" %11s#%d\t", info.driver_name, info.instance); 512 mdb_printf("Instance:\t%d\n", info.instance);
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sdbc_dynmem.c | 58 int instance; member in struct:__anon32 337 info_ksp.instance = 0;
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire.c | 53 int instance, char *name) 55 kstat_t *ksp = kstat_lookup(kc, module, instance, name); 52 kstat_lookup_read(kstat_ctl_t *kc, char *module, int instance, char *name) argument
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_manage.c | 46 static int getnameinst(char *path, int *instance, char *name, int namelen); 47 static int getpath(char *path, int instance, char *name, int pathlen); 104 if (getnameinst(argv[1], &errctl.instance, buf, 116 errctl.instance = atoi(argv[2]); 129 if (getpath(&path[8], errctl.instance, errctl.name, 132 "th_manage - invalid name/instance\n"); 141 " th_manage name instance state\n"); 192 get_handles.instance = errctl.instance; 204 if (errctl.instance 343 getnameinst(char *path, int *instance, char *name, int namelen) argument 362 int instance; member in struct:walk_arg 391 getpath(char *path, int instance, char *name, int pathlen) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw.c | 126 int instance; member in struct:ii_state 274 int instance; local 284 instance = ddi_get_instance(dip); 285 if (ddi_soft_state_zalloc(ii_statep, instance) != 0) { 286 cmn_err(CE_WARN, "!ii: no memory for instance %d state.", 287 instance); 292 xsp = ddi_get_soft_state(ii_statep, instance); 295 "!ii: attach: could not get state for instance %d.", 296 instance); 390 xsp->instance 417 int instance; local 480 int instance = 0; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_tabs.c | 544 * device name and instance. A REFHOLD is done on the descriptor 550 kcf_prov_tab_lookup_by_dev(char *name, uint_t instance) argument 564 prov_desc->pd_instance == instance) { 671 * which match the name and instance arguments. 675 char *name, uint_t instance, boolean_t unverified) 695 prov_desc->pd_instance == instance)) { 725 prov_desc->pd_instance == instance)) { 674 kcf_get_hw_prov_tab(uint_t *count, kcf_provider_desc_t ***array, int kmflag, char *name, uint_t instance, boolean_t unverified) argument
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | cryptoadm.c | 163 /* we only allow instance 0 to attach */ 235 * contains a device name, device instance, and number of 503 uint_t instance; local 521 instance = dev_disabled.dd_dev_instance; 524 if (crypto_load_dev_disabled(dev_name, instance, 0, NULL) != 0) 547 if (crypto_load_dev_disabled(dev_name, instance, count, entries) != 0) { 562 count, instance, rv, error);
|
/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/aac/ |
H A D | aac_ioctl.h | 103 int32_t instance; member in struct:aac_query_disk
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_kstats.c | 587 bge_setup_named_kstat(bge_t *bgep, int instance, char *name, argument 596 ksp = kstat_create(BGE_DRIVER_NAME, instance, name, "net", 629 bge_init_kstats(bge_t *bgep, int instance) argument 633 BGE_TRACE(("bge_init_kstats($%p, %d)", (void *)bgep, instance)); 638 kstat_create(BGE_DRIVER_NAME, instance, 647 instance, "statistics", bge_statistics, 651 instance, "statistics", bge_stat_val, 656 instance, "chipid", bge_chipid, 660 instance, "driverinfo", bge_driverinfo, 665 instance, "serde [all...] |
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | cphy.h | 76 /* A PHY instance */ 96 struct cphy_instance *instance; member in struct:cphy 138 /* Operations of the PHY-instance factory */ 140 /* Construct a PHY instance with the given PHY address */
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/ |
H A D | acpinex_drv.c | 230 int instance; local 234 instance = ACPINEX_GET_INSTANCE(getminor(dev)); 235 *result = (void *)(uintptr_t)instance; 245 int instance; local 259 /* Get and check instance number. */ 260 instance = ddi_get_instance(devi); 261 if (instance >= ACPINEX_INSTANCE_MAX) { 262 cmn_err(CE_WARN, "acpinex: instance number %d is out of range " 264 instance, ACPINEX_INSTANCE_MAX - 1); 269 if (ddi_soft_state_zalloc(acpinex_softstates, instance) 310 int instance; local 442 minor_t minor, instance; local 476 minor_t minor, instance; local 512 minor_t minor, instance; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu.c | 245 int instance = ddi_get_instance(dip); local 249 ASSERT(instance >= 0); 254 if (ddi_soft_state_zalloc(amd_iommu_statep, instance) 257 "%s%d", driver, instance); 261 statep = ddi_get_soft_state(amd_iommu_statep, instance); 264 "%s%d", driver, instance); 265 ddi_soft_state_free(amd_iommu_statep, instance); 270 AMD_IOMMU_INST2MINOR(instance), AMD_IOMMU_NODETYPE, 273 "%s%d", driver, instance); 275 ddi_soft_state_free(amd_iommu_statep, instance); 315 int instance = ddi_get_instance(dip); local 342 int instance = AMD_IOMMU_MINOR2INST(getminor(*devp)); local 378 int instance = AMD_IOMMU_MINOR2INST(getminor(dev)); local 414 int instance = AMD_IOMMU_MINOR2INST(getminor(dev)); local 451 int instance = ddi_get_instance(dip); local [all...] |
H A D | amd_iommu_log.c | 126 int instance = ddi_get_instance(iommu->aiomt_dip); local 155 f, driver, instance, iommu->aiomt_idx, 178 int instance = ddi_get_instance(iommu->aiomt_dip); local 209 f, driver, instance, iommu->aiomt_idx, 234 int instance = ddi_get_instance(iommu->aiomt_dip); local 262 f, driver, instance, iommu->aiomt_idx, 284 int instance = ddi_get_instance(iommu->aiomt_dip); local 315 f, driver, instance, iommu->aiomt_idx, 330 int instance = ddi_get_instance(iommu->aiomt_dip); local 343 f, driver, instance, iomm 355 int instance = ddi_get_instance(iommu->aiomt_dip); local 387 int instance = ddi_get_instance(iommu->aiomt_dip); local 427 int instance = ddi_get_instance(iommu->aiomt_dip); local 464 int instance = ddi_get_instance(iommu->aiomt_dip); local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat.c | 185 int instance; local 194 instance = ddi_get_instance(dip); 195 state = ddi_get_soft_state(ioat_statep, instance); 210 instance = ddi_get_instance(dip); 211 e = ddi_soft_state_zalloc(ioat_statep, instance); 215 state = ddi_get_soft_state(ioat_statep, instance); 221 state->is_instance = instance; 236 e = ddi_create_minor_node(dip, "ioat", S_IFCHR, instance, DDI_PSEUDO, 266 (void) ddi_soft_state_free(ioat_statep, instance); 278 int instance; local 327 int instance; local 367 int instance; local 681 int instance; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ppm/ |
H A D | acpippm.c | 197 int instance; local 212 instance = ddi_get_instance(dip); 213 rv = ddi_soft_state_zalloc(appm_statep, instance); 221 if ((unitp = ddi_get_soft_state(appm_statep, instance)) == NULL) { 252 rv = ddi_create_minor_node(dip, "acpi-ppm", S_IFCHR, instance, 0, 0); 273 ddi_soft_state_free(appm_statep, instance); 287 int instance; local 291 instance = getminor((dev_t)arg); 292 unitp = ddi_get_soft_state(appm_statep, instance); 300 instance [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_main.c | 45 * Global per-instance EoIB Nexus data. Only one instance 223 int instance; local 231 * Don't allow more than one instance to attach 237 * Alloc this instance's softstate 273 instance = ddi_get_instance(dip); 274 if (ddi_create_minor_node(dip, "devctl", S_IFCHR, instance, 277 "for instance %d", instance); 309 * If there's no instance o [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser.c | 159 int instance; local 165 instance = ddi_get_instance(dip); 168 iser_state->is_instance = instance; 180 "iser", instance); 191 "iser", instance); 196 dip, ddi_get_name(dip), S_IFCHR, instance, 203 "iser", instance); 217 instance, cmd); 292 minor_t instance; local 295 instance [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | pseudonex.c | 33 * name="foo" parent="/pseudo" instance=0; 45 * name="foo" parent="/pseudo" instance=<n> valid-children="bar","baz"; 53 * At some point in the future, it would be desirable to extend the instance 55 * or devfs to online nexus children of pseudo, auto-selecting an instance #, 56 * and the instance number selected would be preserved across reboot in 66 #include <sys/instance.h> 210 int instance; local 223 * Save the devi for this instance in the soft_state data. 225 instance = ddi_get_instance(devi); 226 if (ddi_soft_state_zalloc(pseudonex_state, instance) ! 245 int instance = ddi_get_instance(devi); local 259 int instance; local 275 int instance; local 292 int instance; local 392 int instance = -1; local [all...] |
H A D | sad.c | 127 int instance = ddi_get_instance(devi); local 132 ASSERT(instance == 0); 133 if (instance != 0)
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | smp.c | 189 int instance; local 196 instance = ddi_get_instance(dip); 200 DTRACE_PROBE2(smp__attach__detach, int, instance, char *, 236 if (ddi_soft_state_zalloc(smp_soft_state, instance) != DDI_SUCCESS) { 243 smp_state = ddi_get_soft_state(smp_soft_state, instance); 247 * For simplicity, the minor number == the instance number 250 instance, DDI_NT_SMP, NULL) == DDI_FAILURE) { 254 ddi_soft_state_free(smp_soft_state, instance); 272 int instance; local 275 instance 303 int instance; local 323 int instance; local 356 int instance; local 383 int instance, retrycount; local [all...] |