Searched refs:instance (Results 301 - 325 of 843) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Netra-X4200-M2/
H A DNetra-X4200-M2-disk-hc-topology.xmlgen43 <node instance='$bay'>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4200-M2/
H A DSun-Fire-X4200-M2-disk-hc-topology.xmlgen44 <node instance='$bay'>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4200-Server/
H A DSun-Fire-X4200-Server-disk-hc-topology.xmlgen44 <node instance='$bay'>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4600-M2/
H A DSun-Fire-X4600-M2-disk-hc-topology.xmlgen43 <node instance='$bay'>
/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/uts/i86pc/i86hvm/io/
H A Dpv_sd.c72 int instance = ddi_get_instance(dip); local
102 info.dki_unit = instance;
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi.c62 function.instance, function.function);
96 ((handle.function.instance << TRACE_INST_SHIFT) & TRACE_INST_MASK));
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dusbser_keyspan.c357 int instance = ddi_get_instance(dip); local
421 if (ddi_soft_state_zalloc(statep, instance) == DDI_SUCCESS) {
422 kbp = ddi_get_soft_state(statep, instance);
426 kbp->kb_instance = instance;
447 ddi_soft_state_free(statep, instance);
458 int instance = ddi_get_instance(dip); local
461 kbp = ddi_get_soft_state(statep, instance);
477 ddi_soft_state_free(statep, instance);
/illumos-gate/usr/src/uts/sun4u/enchilada/io/
H A Dppm.conf29 name="ppm" parent="pseudo" instance=0;
/illumos-gate/usr/src/uts/intel/io/heci/
H A Dheci_main.c55 #include <sys/instance.h>
220 int instance, status; local
236 instance = ddi_get_instance(dip); /* find out which unit */
237 status = ddi_soft_state_zalloc(heci_soft_state_p, instance);
240 device = ddi_get_soft_state(heci_soft_state_p, instance);
247 ddi_soft_state_free(heci_soft_state_p, instance);
252 MAKE_MINOR_NUM(HECI_MINOR_NUMBER, instance),
258 ddi_soft_state_free(heci_soft_state_p, instance);
483 int minor, instance; local
490 instance
608 int minor, if_num, instance; local
685 int minor, if_num, instance; local
817 int instance, minor, if_num, err; local
981 int instance, minor, if_num, err; local
1251 int instance, minor, if_num; local
1330 int instance, minor, if_num; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw.c424 * Linked list of "vsw_t" structures - one per instance.
485 * template is copied for each vsw instance and filled in with
525 cmn_err(CE_CONT, "vsw%d: %s\n", vswp->instance, buf);
582 int instance; local
599 instance = ddi_get_instance(dip);
600 if (ddi_soft_state_zalloc(vsw_state, instance) != DDI_SUCCESS) {
601 DERR(NULL, "vsw%d: ddi_soft_state_zalloc failed", instance);
604 vswp = ddi_get_soft_state(vsw_state, instance);
607 DERR(NULL, "vsw%d: ddi_get_soft_state failed", instance);
612 vswp->instance
750 int instance; local
950 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/
H A Di2bsc.c230 int instance = ddi_get_instance(dip); local
232 i2c = (i2bsc_t *)ddi_get_soft_state(i2bsc_state, instance);
248 ddi_soft_state_free(i2bsc_state, instance);
255 int instance = ddi_get_instance(dip); local
260 if (ddi_soft_state_zalloc(i2bsc_state, instance) != DDI_SUCCESS) {
264 i2c = (i2bsc_t *)ddi_get_soft_state(i2bsc_state, instance);
267 i2c->minornum = instance;
273 "%s_%d", ddi_node_name(dip), instance);
289 if (ddi_create_minor_node(dip, "devctl", S_IFCHR, instance,
366 int instance; local
399 int instance; local
488 int instance = ddi_get_instance(dip); local
533 int instance; local
550 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dupa64s.c148 * Initialize per instance bus soft state pointer.
205 int instance; local
211 * Allocate and get the per instance soft state structure.
213 instance = ddi_get_instance(dip);
214 if (alloc_upa64s_soft_state(instance) != DDI_SUCCESS) {
216 ddi_get_name(dip), instance);
219 upa64s_p = get_upa64s_soft_state(instance);
236 "property.", ddi_get_name(dip), instance);
248 ddi_get_name(dip), instance);
264 ddi_get_name(dip), instance);
332 int instance = ddi_get_instance(dip); local
376 int instance = ddi_get_instance(dip); local
606 int upaport, instance = ddi_get_instance(dip); local
858 int instance = ddi_get_instance(dip); local
1174 int instance = ddi_get_instance(dip); local
[all...]
H A Dtodds1337.c83 static int instance = -1; variable
244 if (instance != -1) {
245 cmn_err(CE_WARN, "todds1337_attach: wrong instance");
249 instance = ddi_get_instance(dip);
254 if (ddi_soft_state_zalloc(ds1337_statep, instance) != DDI_SUCCESS) {
257 instance = -1;
261 statep = ddi_get_soft_state(ds1337_statep, instance);
265 instance = -1;
272 ddi_soft_state_free(ds1337_statep, instance);
275 instance
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_umap.c136 minor_t instance; local
142 /* Get Hermon softstate structure from instance */
143 instance = HERMON_DEV_INSTANCE(dev);
144 state = ddi_get_soft_state(hermon_statep, instance);
174 status = hermon_umap_db_find(instance, key, type, &value, 0, NULL);
463 minor_t instance; local
467 /* Get Hermon softstate structure from instance */
468 instance = HERMON_DEV_INSTANCE(dev);
469 state = ddi_get_soft_state(hermon_statep, instance);
868 minor_t instance; local
1250 minor_t instance; local
1837 hermon_umap_db_alloc(uint_t instance, uint64_t key, uint_t type, uint64_t value) argument
1925 hermon_umap_db_find(uint_t instance, uint64_t key, uint_t type, uint64_t *value, uint_t flag, hermon_umap_db_entry_t **umapdb) argument
1944 hermon_umap_db_find_nolock(uint_t instance, uint64_t key, uint_t type, uint64_t *value, uint_t flags, hermon_umap_db_entry_t **umapdb) argument
2021 uint_t instance; local
2166 minor_t instance; local
2227 minor_t instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c739 * instance number associated with arg when cmd is set
771 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
779 *resultp = (void *)(uintptr_t)(ha->instance);
788 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
795 * Configure and attach an instance of the driver
814 int instance; local
834 /* first get the instance */
835 instance = ddi_get_instance(dip);
838 QL_NAME, instance, QL_VERSION);
843 "11", QL_NAME, instance);
[all...]
H A Dql_hba_fru.c242 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
479 * <driver_name>(<instance>,<vp index>)
489 "%s(%d,%d)", QL_NAME, ha->instance, ha->vp_index);
491 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
513 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
517 * the same HBA, the devpath for each instance is parsed
560 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
567 * devpath of the current instance.
590 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
631 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
[all...]
H A Dql_init.c98 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
199 cmn_err(CE_NOTE, "!Qlogic %s(%d): %s", QL_NAME, ha->instance, msg);
236 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
260 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
350 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
452 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
487 " using driver defaults.", QL_NAME, ha->instance);
520 "property\n", ha->instance);
522 "property", QL_NAME, ha->instance);
528 (NAA_ID_IEEE_EXTENDED << 4 | ha->instance);
[all...]
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_page_tables.c247 int instance = ddi_get_instance(idip); local
261 f, driver, instance, iommu->aiomt_idx);
278 f, driver, instance, iommu->aiomt_idx, (void *)rdip,
287 f, driver, instance, iommu->aiomt_idx,
298 "for PCI dip (%p). rdip path = %s", f, driver, instance,
310 f, driver, instance, iommu->aiomt_idx, (void *)pci_dip,
397 int instance; local
403 instance = ddi_get_instance(rdip);
406 instance = 0;
425 instance,
488 int instance = ddi_get_instance(idip); local
562 int instance = ddi_get_instance(iommu->aiomt_dip); local
777 int instance = ddi_get_instance(idip); local
928 int instance = ddi_get_instance(dip); local
1102 int instance = ddi_get_instance(rdip); local
1221 int instance = ddi_get_instance(rdip); local
1302 int instance = ddi_get_instance(iommu->aiomt_dip); local
1455 int instance = ddi_get_instance(iommu->aiomt_dip); local
1612 int instance = ddi_get_instance(iommu->aiomt_dip); local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dsysmsg.c252 minor_t instance; local
254 instance = getminor((dev_t)arg);
259 (instance == SYS_SYSMIN || instance == SYS_MSGMIN)) {
266 if (instance == SYS_SYSMIN || instance == SYS_MSGMIN) {
370 minor_t instance; local
373 instance = getminor(*dev);
375 if (state != OTYP_CHR || (instance != 0 && instance !
428 minor_t instance; local
[all...]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c189 * acc_types, made by instance number instance - of the driver whose name is
190 * name, (or by the driver instance specified by * path ) to the register set
209 * instance under test is taken offline and brought back online before each test
283 if (e1->instance < e2->instance)
285 else if (e1->instance > e2->instance)
457 * Generic routine for commands that apply to a particular instance of
458 * a driver under test (e.g. activate all errdefs defined on an instance)
461 manage_instance(int fd, char *namep, int instance, int cmd) argument
1424 match_hinfo(struct handle_info *hp, int instance, uint_t access_type, int rnumber, offset_t offset, offset_t len) argument
1460 get_hinfo(int fd, char *name, struct handle_info **hip, size_t *nhdls, int instance, int atype, int rset, offset_t offset, offset_t len, int new_semantics) argument
1680 int instance; member in struct:walk_arg
1708 getpath(char *path, int instance, char *name, int pathlen) argument
1987 getnameinst(char *orig_path, int *instance, char *name, int namelen) argument
2272 int fd, i, instance; local
[all...]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_policy.c145 kcf_policy_remove_by_dev(char *name, uint_t instance, uint_t *count, argument
160 policy_desc->pd_instance == instance) {
212 kcf_policy_lookup_by_dev(char *name, uint_t instance) argument
223 policy_desc->pd_instance == instance) {
303 kcf_policy_load_dev_disabled(char *name, uint_t instance, uint_t new_count, argument
319 new_desc->pd_instance = instance;
330 policy_tab[i]->pd_instance == instance) {
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_umap.c121 minor_t instance; local
128 /* Get Tavor softstate structure from instance */
129 instance = TAVOR_DEV_INSTANCE(dev);
130 state = ddi_get_soft_state(tavor_statep, instance);
158 status = tavor_umap_db_find(instance, key, type, &value, 0, NULL);
422 minor_t instance; local
428 /* Get Tavor softstate structure from instance */
429 instance = TAVOR_DEV_INSTANCE(dev);
430 state = ddi_get_soft_state(tavor_statep, instance);
821 minor_t instance; local
1476 tavor_umap_db_alloc(uint_t instance, uint64_t key, uint_t type, uint64_t value) argument
1581 tavor_umap_db_find(uint_t instance, uint64_t key, uint_t type, uint64_t *value, uint_t flag, tavor_umap_db_entry_t **umapdb) argument
1603 tavor_umap_db_find_nolock(uint_t instance, uint64_t key, uint_t type, uint64_t *value, uint_t flags, tavor_umap_db_entry_t **umapdb) argument
1684 uint_t instance; local
1849 minor_t instance; local
1925 minor_t instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c257 adapter->name, adapter->instance);
313 adapter->name, adapter->instance, vendor_id);
321 adapter->name, adapter->instance);
338 adapter->name, adapter->instance, base_class, sub_class,
351 "is unsupported\n", adapter->name, adapter->instance,
436 adapter->name, adapter->instance);
473 adapter->name, adapter->instance);
484 adapter->name, adapter->instance);
490 adapter->name, adapter->instance);
499 "%d, %d\n", adapter->name, adapter->instance, re
[all...]
/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c85 static int instance = -1; variable
248 if (instance != -1) {
252 instance = ddi_get_instance(dip);
257 if (ddi_soft_state_zalloc(ds1307_statep, instance) != DDI_SUCCESS) {
261 statep = ddi_get_soft_state(ds1307_statep, instance);
269 ddi_soft_state_free(ds1307_statep, instance);
286 ddi_soft_state_free(ds1307_statep, instance);
309 ddi_soft_state_free(ds1307_statep, instance);
348 * instance)) == NULL) {
352 * ddi_soft_state_free(ds1307_statep, instance);
[all...]

Completed in 346 milliseconds

<<11121314151617181920>>