/illumos-gate/usr/src/uts/intel/io/ |
H A D | bscv.conf | 37 parent="bscbus" name="bscv" instance=0;
|
/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...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/oplpanel/ |
H A D | oplpanel.c | 176 int instance; local 185 instance = ddi_get_instance(dip); 187 DCMN_ERR((CE_CONT, "%s%d: attach\n", panel_name, instance)); 192 panel_name, instance)); 197 panel_name, instance)); 200 ddi_get_soft_state(panelstates, instance)) == NULL) { 202 panel_name, instance); 220 if (ddi_soft_state_zalloc(panelstates, instance) != DDI_SUCCESS) { 222 panel_name, instance); 226 ddi_get_soft_state(panelstates, instance)) 277 int instance; local 327 int instance; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd.c | 44 * - instance specific events originating from the SMF master restarter. 54 * Inetd implements a state machine for each instance. The states within the 56 * specializations of the offline state for when an instance exceeds one of 57 * its DOS limits. The state of an instance can be changed as a 59 * started up. The ongoing state of an instance is stored in the SMF 61 * to view the state of each instance, and, if inetd was to terminate 65 * of a state transition to aid/ effect a change in an instance's state. The 77 * When the event has been processed (which may be delayed if the instance 244 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi, 272 "Invalid configuration for instance 588 tcp_wrappers_ok(instance_t *instance) argument 653 instance_t *instance = arg; local 806 instance_t *instance = arg; local 834 poll_bound_fds(instance_t *instance, boolean_t listen, char *proto_name) argument 863 handle_bind_failure(instance_t *instance) argument 1076 create_bound_fds(instance_t *instance) argument 1189 destroy_bound_fds(instance_t *instance) argument 1494 remove_instance(instance_t *instance) argument 1693 handle_restarter_event(instance_t *instance, restarter_event_type_t event, boolean_t send_ack) argument 2050 instance_t *instance; local 2659 passes_basic_exec_checks(const char *instance, const char *method, const char *path) argument 2693 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi, struct method_context *mthd_ctxt, const proto_info_t *pi) argument 2961 smf_kill_process(instance_t *instance, int sig) argument 2994 run_method(instance_t *instance, instance_method_t method, const proto_info_t *start_info) argument 3171 pending_connections(instance_t *instance, proto_info_t *pi) argument 3183 accept_connection(instance_t *instance, proto_info_t *pi) argument 3219 process_nowait_request(instance_t *instance, proto_info_t *pi) argument 3345 process_wait_request(instance_t *instance, const proto_info_t *pi) argument 3435 instance_t *instance; local 3499 instance_t *instance; local [all...] |
H A D | env.c | 38 valid_env_var(const char *var, const char *instance, const char *method) argument 46 "method %s of instance %s.\n"), var, method, instance); 52 "method %s of instance %s; \"SMF_\" prefix is reserved.\n"), 53 var, method, instance); 61 find_dup(const char *var, char **env, const char *instance, const char *method) argument 78 "for method %s of instance %s.\n"), *p, method, instance); 99 set_smf_env(struct method_context *mthd_ctxt, instance_t *instance, argument 111 if (instance [all...] |
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | ltc1427.c | 149 int instance; 152 instance = getminor(*devp); 154 if (instance < 0) { 159 ddi_get_soft_state(ltc1427soft_statep, instance); 196 int instance; 198 instance = getminor(dev); 200 if (instance < 0) { 205 ddi_get_soft_state(ltc1427soft_statep, instance); 226 int instance; 237 instance 339 int instance; local 401 int instance; local [all...] |
H A D | pic16f819.c | 206 int instance; 209 instance = getminor(*devp); 211 if (instance < 0) { 216 ddi_get_soft_state(pic16f819soft_statep, instance); 253 int instance; 255 instance = getminor(dev); 257 if (instance < 0) { 262 ddi_get_soft_state(pic16f819soft_statep, instance); 283 int instance; 294 instance 370 int instance; local 434 int instance; local [all...] |
H A D | tda8444.c | 148 int instance; local 152 instance = TDA8444_MINOR_TO_DEVINST(dev); 153 *result = (void *)(uintptr_t)instance; 162 int instance = ddi_get_instance(dip); local 168 ddi_get_soft_state(tda8444_soft_statep, instance); 201 int instance; local 205 instance = ddi_get_instance(dip); 207 if (ddi_soft_state_zalloc(tda8444_soft_statep, instance) != 0) { 209 ddi_get_name(dip), instance); 214 unitp = ddi_get_soft_state(tda8444_soft_statep, instance); 288 int instance; local 307 int instance; local 352 int instance = TDA8444_MINOR_TO_DEVINST(*devp); local 442 int instance = TDA8444_MINOR_TO_DEVINST(getminor(dev)); local [all...] |
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | inst_sync.c | 32 #include <sys/instance.h>
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcFreeLibrary.cc | 47 HBAList* list = HBAList::instance();
|
H A D | Sun_fcLoadLibrary.cc | 48 HBAList* list = HBAList::instance();
|
/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...] |
/illumos-gate/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalwd.c | 53 * Define your per instance state data 203 int instance; local 209 instance = getminor(dev); 210 tsp = ddi_get_soft_state(xcalwd_statep, instance); 231 int instance; local 236 instance = ddi_get_instance(dip); 243 if (ddi_soft_state_zalloc(xcalwd_statep, instance) != 246 "%d state structure", instance); 250 tsp = ddi_get_soft_state(xcalwd_statep, instance); 253 instance); 283 int instance; local 308 int instance = (int)(uintptr_t)arg; local 333 int instance; local 357 int instance; local 401 int instance; local [all...] |
/illumos-gate/usr/src/uts/sun4u/grover/io/ |
H A D | grfans.c | 148 int instance; local 152 instance = MINOR_TO_DEVINST(dev); 153 *result = (void *)(uintptr_t)instance; 163 int instance; local 168 instance = ddi_get_instance(dip); 170 if (ddi_soft_state_zalloc(grfans_soft_statep, instance) != 0) { 172 ddi_get_name(dip), instance); 178 printf("attached instance number %d\n", instance); 181 unitp = ddi_get_soft_state(grfans_soft_statep, instance); 266 int instance; local 303 int instance = MINOR_TO_DEVINST(*devp); local 356 int instance = MINOR_TO_DEVINST(dev); local 391 int instance = MINOR_TO_DEVINST(getminor(dev)); local [all...] |
/illumos-gate/usr/src/uts/sun/io/ |
H A D | sbusmem.c | 155 int instance, ilen; local 161 instance = ddi_get_instance(devi); 168 "sbmem_attach%d: No size property\n", instance); 179 "sbmem_attach%d: No reg property\n", instance); 182 "sbmem_attach%d: slot 0x%x size 0x%x\n", instance, 193 "sbmem_attach%d: No ident property\n", instance); 199 instance) != DDI_SUCCESS) 203 instance)) == NULL) { 204 ddi_soft_state_free(sbusmem_state_head, instance); 208 if (ddi_create_minor_node(devi, ident, S_IFCHR, instance, 240 int instance; local 259 int instance; local 284 int instance, error = DDI_FAILURE; local 337 int instance, error = 0; local 389 int instance, error; local [all...] |
/illumos-gate/usr/src/uts/intel/io/agpgart/ |
H A D | amd64_gart.c | 18 #define GETSOFTC(instance) ((amd64_gart_softstate_t *) \ 19 ddi_get_soft_state(amd64_gart_glob_soft_handle, (instance))); 135 int instance, rval = DDI_FAILURE; local 141 instance = DEV2INST(dev); 142 st = ddi_get_soft_state(amd64_gart_glob_soft_handle, instance); 155 instance = DEV2INST(dev); 156 *resultp = (void *)(uintptr_t)instance; 169 int instance; local 186 instance = ddi_get_instance(dip); 188 if (ddi_soft_state_zalloc(amd64_gart_glob_soft_handle, instance) ! 215 int instance; local 248 int instance; local 326 int instance; local 345 int instance; local [all...] |
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | ch_mac.c | 98 mac_intr |= static_aPorts[mac->instance->index]; 124 mac_intr &= ~(static_aPorts[mac->instance->index]); 149 mac_intr |= (static_aPorts[mac->instance->index]); 162 MAC_REG_IDLO(mac->instance->index)); 164 MAC_REG_IDHI(mac->instance->index)); 179 int idx = mac->instance->index; 207 MAC_REG_CSR(mac->instance->index)); 212 MAC_REG_CSR(mac->instance->index), val); 223 MAC_REG_CSR(mac->instance->index)); 249 MAC_REG_CSR(mac->instance [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_mpi.c | 135 __func__, qlge->instance); 151 __func__, qlge->instance, i, reg_status)); 203 __func__, qlge->instance, mbx_cmd->mb[i], i, addr)); 241 __func__, qlge->instance); 252 __func__, qlge->instance)); 273 __func__, qlge->instance)); 317 __func__, qlge->instance); 339 __func__, qlge->instance); 345 " \n", __func__, qlge->instance)); 376 __func__, qlge->instance)); [all...] |
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/ |
H A D | SyslogHandler.java | 60 * Records the instance of this singleton. 62 private static SyslogHandler instance = null; field in class:SyslogHandler 106 instance = this; 110 * Return this virtual machine's instance of SyslogHandler, 112 * facility if necessary, unless an instance with a different 117 * facility differs from a previously-created instance. 122 if (instance != null) { 123 if (!instance.ident.equals(ident) || 124 !instance.facility.equals(facility)) 127 return (instance); [all...] |
/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/sun4u/sunfire/io/ |
H A D | simmstat.c | 163 int instance; local 176 instance = ddi_get_instance(devi); 178 if (ddi_soft_state_zalloc(simmstatp, instance) != DDI_SUCCESS) 181 softsp = ddi_get_soft_state(simmstatp, instance); 191 instance, OBP_BOARDNUM); 196 " softsp=0x%p\n", instance, (void *)devi, (void *)softsp)); 202 instance); 218 ddi_soft_state_free(simmstatp, instance); 226 int instance; local 229 /* get the instance o [all...] |
H A D | sram.c | 156 int instance; local 170 instance = ddi_get_instance(devi); 172 if (ddi_soft_state_zalloc(sramp, instance) != DDI_SUCCESS) 175 softsp = ddi_get_soft_state(sramp, instance); 185 instance, OBP_BOARDNUM); 190 " softsp=0x%p\n", instance, (void *)devi, (void *)softsp)); 196 instance); 212 ddi_soft_state_free(sramp, instance); 220 int instance; local 223 /* get the instance o [all...] |
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | openfirm.c | 221 /* Return the package handle that corresponds to an instance handle. */ 223 OF_instance_to_package(ihandle_t instance) argument 229 cell_t instance; member in struct:__anon340 232 (cell_t)"instance-to-package", 237 args.instance = instance; 398 /* Return the fully qualified pathname corresponding to an instance. */ 400 OF_instance_to_path(ihandle_t instance, char *buf, int len) argument 406 cell_t instance; member in struct:__anon347 411 (cell_t)"instance 452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) argument 460 cell_t instance; member in struct:__anon349 503 cell_t instance; member in struct:__anon350 519 OF_close(ihandle_t instance) argument 525 cell_t instance; member in struct:__anon351 537 OF_read(ihandle_t instance, void *addr, int len) argument 543 cell_t instance; member in struct:__anon352 575 OF_write(ihandle_t instance, void *addr, int len) argument 581 cell_t instance; member in struct:__anon353 601 OF_seek(ihandle_t instance, u_int64_t pos) argument 607 cell_t instance; member in struct:__anon354 [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_chassis.c | 40 x86pi_gen_chassis(topo_mod_t *mod, tnode_t *t_parent, int smb_id, int instance) argument 78 /* set hc_name and instance */ 80 ch_hcfmri.instance = instance; 82 topo_mod_dprintf(mod, "%s: instance (%d)\n", f, ch_hcfmri.instance); 91 if (!instance) { 92 /* First Chassis SMBIOS Record is Chassis topo instance 0 */ 101 instance);
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | gpio_87317.c | 174 int instance = getminor((dev_t)arg); local 180 if ((softc = getsoftc(instance)) == NULL) { 188 *result = (void *)(uintptr_t)instance; 203 int instance; local 211 /* Allocate and get the soft state structure for this instance. */ 213 instance = ddi_get_instance(dip); 214 DBG(dip, "attach: instance is %d", instance, 0, 0, 0, 0); 215 if (ddi_soft_state_zalloc(statep, instance) != DDI_SUCCESS) 217 softc = getsoftc(instance); 293 int instance; local 322 int instance = getminor(*devp); local 333 int instance = getminor(dev); local 345 int instance = getminor(dev); local [all...] |