Searched defs:instance (Results 176 - 200 of 540) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dniagara_perfctr.c319 /* check if this dram instance is enabled in the HW */
363 /* check if this Zambezi LPU instance is enabled in the HW */
399 /* check if this Zambezi GPD instance is enabled in the HW */
435 /* check if this Zambezi ASU instance is enabled in the HW */
658 ni_create_cntr_kstat(char *name, int instance, int (*update)(kstat_t *, int), argument
669 printf("ni_create_cntr_kstat: name: %s instance: %d\n",
670 name, instance);
677 if ((counters_ksp = kstat_create(name, instance, "counters", "bus",
681 name, instance);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dntwdt.c239 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...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dldc.h108 uint64_t instance; /* device class instance */ member in struct:ldc_attr
/illumos-gate/usr/src/uts/sun4/io/fpc/
H A Dfpc-kstats.c70 static kstat_t *fpc_create_cntr_kstat(char *name, int instance,
455 fpc_create_cntr_kstat(char *name, int instance, int (*update)(kstat_t *, int), argument
464 FPC_DBG1("fpc_create_cntr_kstat: name: %s instance: %d\n",
465 name, instance);
471 if ((counters_ksp = kstat_create(name, instance, "counters", "bus",
474 name, instance);
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c194 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
195 px_t *px_p = INST_TO_STATE(instance);
200 *result = (void *)(intptr_t)instance;
227 int instance = DIP_TO_INST(dip); local
243 if (ddi_soft_state_zalloc(px_state_p, instance)
246 ddi_driver_name(dip), instance);
249 px_p = INST_TO_STATE(instance);
411 ddi_soft_state_free(px_state_p, instance);
419 px_p = INST_TO_STATE(instance);
426 "instance NO
455 int instance = ddi_get_instance(dip); local
613 int instance = ddi_get_instance(dip); local
687 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dssc050.c183 int instance;
186 instance = MINOR_TO_INST(getminor(*devp));
188 if (instance < 0) {
193 ddi_get_soft_state(ssc050soft_statep, instance);
230 int instance;
232 instance = MINOR_TO_INST(getminor(dev));
234 if (instance < 0) {
239 ddi_get_soft_state(ssc050soft_statep, instance);
319 int instance = MINOR_TO_INST(getminor(dev)); local
333 ddi_get_soft_state(ssc050soft_statep, instance);
584 int instance; local
627 int instance; local
673 int instance; local
690 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Disadma.c223 int32_t instance; local
233 * Allocate soft state for this instance.
235 instance = ddi_get_instance(dip);
236 if (ddi_soft_state_zalloc(per_isadma_state, instance)
241 isadmap = ddi_get_soft_state(per_isadma_state, instance);
269 ddi_soft_state_free(per_isadma_state, instance);
281 int instance = ddi_get_instance(dip); local
283 ddi_get_soft_state(per_isadma_state, instance);
294 ddi_soft_state_free(per_isadma_state, instance);
H A Drmc_comm.c127 * to get the soft state structure of a specific instance
130 rmc_comm_getstate(dev_info_t *dip, int instance, const char *caller) argument
138 * Use the instance number from the <dip>; also,
141 instance = ddi_get_instance(dip);
150 instance = -1;
153 if (instance >= 0)
154 rcs = ddi_get_soft_state(rmc_comm_statep, instance);
707 rmc_comm_unattach(struct rmc_comm_state *rcs, dev_info_t *dip, int instance, argument
736 ddi_soft_state_free(rmc_comm_statep, instance);
748 int instance; local
879 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/lw8/sys/
H A Dsgenv_impl.h131 int instance; /* instance number */ member in struct:sgenv_soft_state
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Doplkmdrv.c70 okms_t okms_global; /* Global instance structure */
201 int instance; local
204 instance = ddi_get_instance(dip);
206 /* Only one instance is supported. */
207 if (instance != 0) {
217 okmsp->km_inst = instance;
244 instance, NULL, NULL) == DDI_FAILURE) {
304 * is the same as the instance number. So, just
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_util.c250 * <inst> this device's instance number
252 * <inst> parent device's instance number
494 int instance = ddi_get_instance(dip); local
498 pcmu_p = get_pcmu_soft_state(instance);
/illumos-gate/usr/src/uts/common/syscall/
H A Dutssys.c429 * and we're checking for device instance
432 * instance.
588 * if we're checking for device instance
591 * instance as the target device (fvp).
643 int instance; local
666 * device instance instead of just a minor node.
684 minor = instance = -1;
686 instance = DEVI(ldi_usage->src_dip)->devi_instance;
695 fu_data->fud_user[fu_data->fud_user_count].fu_instance = instance;
876 * if we want to report usage for a device instance the
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/
H A Dpanic_diag.c48 * has for the OS instance uuid - if that fails because of a duplicate
64 * includes information on the directory it was saved in, the instance
144 "malformed event - no instance number" },
211 "os-instance-uuid", /* same as case uuid */
232 * and the OS instance UUID - "<dumpdir>/.<os-instance-uuid>".
235 * or failed we don't have any file or instance number.
244 (void) nvlist_lookup_string(attr, "os-instance-uuid", &uuid);
259 int64_t instance; local
266 (void) nvlist_lookup_int64(attr, "instance",
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_ev.c89 __in unsigned int instance,
120 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_INSTANCE, instance);
193 __in uint32_t instance)
207 MCDI_IN_SET_DWORD(req, FINI_EVQ_IN_INSTANCE, instance);
87 efx_mcdi_init_evq( __in efx_nic_t *enp, __in unsigned int instance, __in efsys_mem_t *esmp, __in size_t nevs, __in uint32_t irq, __out_opt uint32_t *irqp) argument
191 efx_mcdi_fini_evq( __in efx_nic_t *enp, __in uint32_t instance) argument
H A Def10_rx.c44 __in uint32_t instance,
72 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_INSTANCE, instance);
113 __in uint32_t instance)
127 MCDI_IN_SET_DWORD(req, FINI_RXQ_IN_INSTANCE, instance);
39 efx_mcdi_init_rxq( __in efx_nic_t *enp, __in uint32_t size, __in uint32_t target_evq, __in uint32_t label, __in uint32_t instance, __in efsys_mem_t *esmp, __in boolean_t disable_scatter) argument
111 efx_mcdi_fini_rxq( __in efx_nic_t *enp, __in uint32_t instance) argument
H A Def10_tx.c53 __in uint32_t instance,
85 MCDI_IN_SET_DWORD(req, INIT_TXQ_IN_INSTANCE, instance);
133 __in uint32_t instance)
147 MCDI_IN_SET_DWORD(req, FINI_TXQ_IN_INSTANCE, instance);
48 efx_mcdi_init_txq( __in efx_nic_t *enp, __in uint32_t size, __in uint32_t target_evq, __in uint32_t label, __in uint32_t instance, __in uint16_t flags, __in efsys_mem_t *esmp) argument
131 efx_mcdi_fini_txq( __in efx_nic_t *enp, __in uint32_t instance) argument
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dopenfirm.c221 /* 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/libfru/libfruraw/
H A Dfruraw.c589 int instance, uint8_t **data, size_t *data_len)
599 int instance, uint8_t *data, size_t data_len)
609 int instance)
588 frt_get_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t **data, size_t *data_len) argument
598 frt_set_tag_data(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance, uint8_t *data, size_t data_len) argument
608 frt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance) argument
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c76 if (handle->instance != NULL)
77 scf_instance_destroy(handle->instance);
130 handle->instance = scf_instance_create(handle->handle);
132 handle->pg == NULL || handle->instance == NULL)
328 * sa_extract_attrs(root, handle, instance)
331 * property group of the service instance. These are the well known
338 scf_instance_t *instance)
350 scf_instance_get_pg(instance, "operation", handle->pg) != 0) {
864 * sa_extract_group(root, handle, instance)
866 * Get the config info for this instance o
337 sa_extract_attrs(xmlNodePtr root, scfutilhandle_t *handle, scf_instance_t *instance) argument
871 sa_extract_group(xmlNodePtr root, scfutilhandle_t *handle, scf_instance_t *instance, sa_handle_t sahandle) argument
1056 sa_extract_defaults(xmlNodePtr root, scfutilhandle_t *handle, scf_instance_t *instance) argument
1111 scf_instance_t *instance; local
1171 char instance[SA_GROUP_INST_LEN]; local
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.h134 int instance; member in struct:_devinfo_t
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvc_objects_class.h48 int32_t instance; member in struct:__anon1168
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/
H A Dqlc.c288 mdb_printf("%<u>%-?s\t%-45s%</u>\n\n", "baseaddr", "instance");
302 qlstate->hba.base_address, qlstate->instance);
434 "version", "instance list");
474 qlstate->instance);
477 qlstate->instance);
502 * for the specificed qlc instance(s).
525 uint32_t instance; local
609 instance = (uint32_t)mdb_strtoull(
612 /* find the correct instance to change */
623 if (qlstate->instance
[all...]
/illumos-gate/usr/src/cmd/fruadm/
H A Dfruadm.c285 int instance = 0; local
327 &segment_name[numseg], instance,
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_misc.c259 * Attach an instance of the device. This happens before an open
426 int instance; local
433 /* The "instance" number is the minor number */
441 /* the instance number is the minor number */
442 instance = getminor(dev);
443 xsp = ddi_get_soft_state(sdbc_statep, instance);
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_cryptoadm.c247 * registers multiple units of the same device instance.
425 * Return a list of kernel hardware providers for a given name and instance.
430 crypto_get_dev_info(char *name, uint_t instance, uint_t *count, argument
441 * Get provider table entries matching name and instance
447 name, instance, B_FALSE);
635 crypto_load_dev_disabled(char *name, uint_t instance, uint_t new_count, argument
649 kcf_policy_remove_by_dev(name, instance, &prev_count,
651 } else if ((rv = kcf_policy_load_dev_disabled(name, instance, new_count,
657 * Get provider table entries matching name and instance
661 name, instance, B_TRU
[all...]

Completed in 128 milliseconds

1234567891011>>