Searched refs:instance (Results 326 - 350 of 843) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_msg.c63 log->instance = hba->ddiinst;
152 /* Get the log file for this instance */
171 if ((entry->instance == log->instance) &&
220 entry2->instance = log->instance;
250 entry->instance = log->instance;
647 entry->instance);
650 entry->instance, entr
[all...]
/illumos-gate/usr/src/lib/libwanboot/common/
H A Dbootinfo_aux.c382 int instance; local
414 * Get the driver name and instance number of this node.
420 if ((instance = di_instance(node)) == -1) {
435 instance = di_instance(node);
441 if (instance == -1) {
446 "%s%d", di_driver_name(node), instance);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_kstat.c51 int instance; local
62 instance = ddi_get_instance(dca->dca_dip);
67 (void) sprintf(buf, "%sc%d", DRIVER, instance);
68 if ((dca->dca_intrstats = kstat_create(DRIVER, instance, buf,
78 if ((dca->dca_ksp = kstat_create(DRIVER, instance, NULL, "misc",
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdc.h117 * Scheme to store the instance number and the slice number in the minor number.
120 #define VD_MAKE_DEV(instance, minor) ((instance << VDCUNIT_SHIFT) | minor)
211 * The states that the vdc instance can be in.
302 vdc_lc_state_t lifecycle; /* Current state of the vdc instance */
333 int instance; /* driver instance number */ member in struct:vdc
420 (vdc_matchinst & (1ull << (_vdc)->instance))) \
422 (_vdc)->instance, (void *)curthread, \
H A Dvcc_impl.h44 #define VCC_INST_TO_DEV(instance) (instance)
226 /* minor number to instance */
/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/
H A Dpcf8584.c280 int instance = ddi_get_instance(dip); local
282 i2c = (pcf8584_t *)ddi_get_soft_state(pcf8584_state, instance);
308 ddi_soft_state_free(pcf8584_state, instance);
315 int instance = ddi_get_instance(dip); local
320 if (ddi_soft_state_zalloc(pcf8584_state, instance) != DDI_SUCCESS) {
325 i2c = (pcf8584_t *)ddi_get_soft_state(pcf8584_state, instance);
330 "%s_%d", ddi_node_name(dip), instance);
405 if (ddi_create_minor_node(dip, "devctl", S_IFCHR, instance,
465 int instance; local
474 instance
498 int instance; local
604 int instance; local
621 int instance; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c324 int32_t instance; local
326 status = psvc_get_attr(hdlp, id, PSVC_INSTANCE_ATTR, &instance);
403 threshold_low_warn[instance] = 0;
404 threshold_high_shut[instance] = 0;
405 threshold_high_warn[instance] = 0;
406 threshold_low_shut[instance]++;
407 if (threshold_low_shut[instance] == n_read_temp) {
408 threshold_low_shut[instance] = 0;
420 threshold_low_shut[instance] = 0;
421 threshold_high_shut[instance]
[all...]
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_attach.c72 dev_info_t *dip, int instance);
85 int instance; local
93 instance = ddi_get_instance(dip);
94 status = ddi_soft_state_zalloc(hci1394_statep, instance);
103 soft_state = ddi_get_soft_state(hci1394_statep, instance);
105 ddi_soft_state_free(hci1394_statep, instance);
115 hci1394_soft_state_phase1_init(soft_state, dip, instance);
130 instance, DDI_NT_NEXUS, 0);
218 instance = ddi_get_instance(dip);
219 soft_state = ddi_get_soft_state(hci1394_statep, instance);
291 hci1394_soft_state_phase1_init(hci1394_state_t *soft_state, dev_info_t *dip, int instance) argument
[all...]
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3.c281 uint32_t instance; local
294 instance = ddi_get_instance(dip);
296 /* Allocate the per-device-instance soft state structure */
298 retvalue = ddi_soft_state_zalloc(cpqary3_state, instance);
304 cpqary3p = ddi_get_soft_state(cpqary3_state, instance);
313 cpqary3p->instance = instance;
383 * of each instance of the HBA device.
395 * the current driver instance in the system.
396 * for e.g.: for 0th instance
533 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi.c65 function.instance, function.function);
100 ((handle.function.instance
133 ((handle.function.instance
/illumos-gate/usr/src/uts/sun4u/sys/
H A Denvctrl_gen.h150 int instance; /* instance of this type */ member in struct:envctrl_ps
159 int instance; /* instance of this type */ member in struct:envctrl_fan
167 int instance; member in struct:envctrl_encl
/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_kstat.c48 int instance; local
62 instance = ddi_get_instance(n2rng->n_dip);
67 n2rng->n_ksp = kstat_create(DRIVER, instance, NULL, "misc",
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmcadm.c223 int instance; local
229 * only allow one instance
231 instance = ddi_get_instance(dip);
232 if (instance != 0)
236 instance, DDI_PSEUDO, NULL);
265 int instance; local
269 instance = ddi_get_instance(dip);
270 if (instance != 0)
289 int instance = getminor(*dev_p); local
291 if (instance !
314 int instance = getminor(dev); local
[all...]
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 Dtodds1287.c156 static int instance = -1; variable
262 if (instance == -1)
267 if ((softsp = ddi_get_soft_state(ds1287_state, instance))
274 *result = (void *)(uintptr_t)instance;
297 if (instance != -1) {
298 cmn_err(CE_WARN, "ds1287_attach: Another instance is already "
303 instance = ddi_get_instance(dip);
313 if (ddi_soft_state_zalloc(ds1287_state, instance) != DDI_SUCCESS) {
319 softsp = ddi_get_soft_state(ds1287_state, instance);
320 DPRINTF("ds1287_attach: instance
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_debug.c65 e1000g_log(void *instance, int level, char *fmt, ...) argument
67 struct e1000g *Adapter = (struct e1000g *)instance;
163 eeprom_dump(void *instance) argument
165 struct e1000g *Adapter = (struct e1000g *)instance;
226 phy_dump(void *instance) argument
228 struct e1000g *Adapter = (struct e1000g *)instance;
270 mac_dump(void *instance) argument
272 struct e1000g *Adapter = (struct e1000g *)instance;
369 pciconfig_dump(void *instance) argument
371 struct e1000g *Adapter = (struct e1000g *)instance;
538 pciconfig_bar(void *instance, uint32_t offset, char *name) argument
[all...]
/illumos-gate/usr/src/lib/libfru/libfru/
H A Dlibfru.cc43 * 4) Find the specific tag which contains the instance of this data the user
1162 // if so just add to the instance.
1168 // if not add to the end of the array of instance 0.
1181 get_tag_inst_from_hist(tag_inst_hist_t *hist, fru_tag_t tag, int *instance) argument
1186 *instance = (hist->pairs)[j].inst;
1196 // and an instance of the unknown payload you are looking for.
1199 // instance == the instance of the tag "tag" to read from the list
1201 // instance == the number of instances remaining.
1205 int *instance, fru_tag_
1204 find_unknown_element(fru_tag_t *tags, int num_tags, int *instance, fru_tag_t *tag) argument
1275 find_known_element(fru_tag_t *tags, int num_tags, Ancestor *ants, int *instance, Ancestor **correct, int *tagInstance) argument
1348 find_known_element_abs(fru_tag_t *tags, int num_tags, int *instance, PathDef *head, Ancestor *ants, Ancestor **correct, int *tagInstance) argument
1412 get_payload(fru_nodehdl_t container, const char *seg_name, int instance, const char *field_path, PathDef **pathDef, Ancestor **ancestors, Ancestor **correct, int *tagInstance, int *instLeft, uint8_t **payload, size_t *payloadLen, int mode) argument
1553 get_seg_and_payload(fru_nodehdl_t container, char **seg_name, int instance, const char *field_path, PathDef **pathDef, Ancestor **ancestors, Ancestor **correct, int *tagInstance, int *instLeft, uint8_t **payload, size_t *payloadLen) argument
1629 fru_read_field(fru_nodehdl_t container, char **seg_name, unsigned int instance, const char *field_path, void **data, size_t *data_len, char **found_path) argument
1706 fru_update_field(fru_nodehdl_t container, char *seg_name, unsigned int instance, const char *field_path, void *data, size_t length) argument
1785 fru_get_num_iterations(fru_nodehdl_t container, char **seg_name, unsigned int instance, const char *iter_path, int *num_there, char **found_path) argument
1960 fru_delete_element(fru_nodehdl_t container, const char *seg_name, unsigned int instance, const char *element) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/
H A Demlxs.c40 { DRIVER_NAME"_msgbuf", "<instance>", "dumps the "DRIVER_NAME
42 { DRIVER_NAME"_dump", "<type> <instance>", "dumps the "DRIVER_NAME
68 mdb_printf("Usage: ::%s_msgbuf <instance(hex)>\n\n", DRIVER_NAME);
69 mdb_printf(" <instance> This is the %s driver instance " \
96 int32_t instance[MAX_FC_BRDS]; local
102 mdb_printf("Usage: ::%s_msgbuf <instance(hex)>\n",
123 /* Get the device instance table */
125 if (mdb_readvar(&instance, buffer) == -1) {
136 /* Get the device instance coun
350 int32_t instance[MAX_FC_BRDS]; local
[all...]
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dprocess_msg_template.sh62 cat $tmpfile2 | sed s/\%\<FMRI\>/svc\:\\/\%\<attr.svc.svc-name\>\:\%\<attr.svc.svc-instance\>/g > $tmpfile1
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_stat.c105 dls_stat_create(const char *module, int instance, const char *name, argument
113 if ((ksp = kstat_create_zone(module, instance, name, "net",
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dvsc7321.c250 mac->instance = (cmac_instance *)(mac + 1);
253 mac->instance->index = index;
279 mac->instance->version = (val >> 16) & 0xf;
314 int port = mac->instance->index;
332 int port = mac->instance->index;
349 int index = mac->instance->index;
380 int port = mac->instance->index;
394 int port = mac->instance->index;
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdb.h60 #define XDB_INST2SOFTS(instance) \
61 ((xdb_t *)ddi_get_soft_state(xdb_statep, (instance)))
84 /* softstate instance associated with this I/O request */
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_main.c201 int instance; local
208 * Allocate softstate for this instance
210 instance = ddi_get_instance(dip);
211 if (ddi_soft_state_zalloc(eib_state, instance) == DDI_FAILURE)
216 ss = ddi_get_soft_state(eib_state, instance);
218 ss->ei_instance = (uint_t)instance;
222 * for this instance
283 int instance; local
288 instance = ddi_get_instance(dip);
289 ss = ddi_get_soft_state(eib_state, instance);
855 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun/io/
H A Dsocal.c472 int instance; local
487 instance = ddi_get_instance(dip);
489 DEBUGF(4, (CE_CONT, "socal%d entering attach: cmd=%x\n", instance,
503 DEBUGF(4, (CE_CONT, "socal%d resumed\n", instance));
513 instance);
521 instance);
535 instance);
540 if (ddi_soft_state_zalloc(socal_soft_state_p, instance)
543 instance);
547 instance));
974 int instance = ddi_get_instance(dip); local
1262 int instance; local
1291 int instance = getminor(*devp)/2; local
1315 int instance = getminor(dev)/2; local
1337 int instance = getminor(dev)/2; local
2279 int instance; local
2577 int instance = ddi_get_instance(socalp->dip); local
2619 int instance = ddi_get_instance(socalp->dip); local
3187 int instance = ddi_get_instance(socalp->dip); local
3308 int instance = ddi_get_instance(socalp->dip); local
3623 int instance = ddi_get_instance(socalp->dip); local
4933 int i, instance; local
4984 int instance = getminor(dev) / 2; local
[all...]
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c344 int instance; local
372 instance = ddi_get_instance(devi);
373 if (max_asy_instance < instance)
374 max_asy_instance = instance;
383 register int instance; local
388 instance = ddi_get_instance(devi); /* find out which unit */
390 asy = (struct asycom *)ddi_get_soft_state(su_asycom, instance);
391 async = (struct asyncline *)ddi_get_soft_state(su_asyncline, instance);
429 cmn_err(CE_NOTE, "su%d: ASY%s shutdown.", instance,
450 (void) sprintf(name, "%c", (instance
474 register int instance; local
883 register int instance, error; local
[all...]

Completed in 122 milliseconds

<<11121314151617181920>>