Searched refs:instance (Results 476 - 500 of 843) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr.c133 * Per instance soft-state structure.
488 int instance; local
495 instance = DR_MINOR2INST(getminor(*dev));
496 softsp = ddi_get_soft_state(dr_g.softsp, instance);
560 int instance; local
568 instance = DR_MINOR2INST(getminor(dev));
569 softsp = ddi_get_soft_state(dr_g.softsp, instance);
571 cmn_err(CE_WARN, "dr%d: module not yet attached", instance);
707 int instance; local
711 instance
805 int instance; local
850 int instance, error; local
[all...]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c127 * Per instance soft-state structure.
490 int instance; local
496 instance = DR_MINOR2INST(getminor(*dev));
497 softsp = ddi_get_soft_state(dr_g.softsp, instance);
562 int instance; local
570 instance = DR_MINOR2INST(getminor(dev));
571 softsp = ddi_get_soft_state(dr_g.softsp, instance);
573 cmn_err(CE_WARN, "dr%d: module not yet attached", instance);
709 int instance; local
713 instance
809 int instance; local
854 int instance, error; local
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dscsb.c371 int instance; local
378 instance = ddi_get_instance(dip);
381 cmn_err(CE_NOTE, "scsb_attach[%d]", instance);
387 instance, cmd);
391 if (ddi_soft_state_zalloc(scsb_state, instance) != DDI_SUCCESS) {
393 instance);
397 scsb = (scsb_state_t *)ddi_get_soft_state(scsb_state, instance);
399 cmn_err(CE_WARN, "scsb%d: cannot get soft state", instance);
400 ddi_soft_state_free(scsb_state, instance);
403 scsb->scsb_instance = instance;
887 int instance; local
958 free_resources(dev_info_t *dip, scsb_state_t *scsb, int instance) argument
1084 int instance, clone; local
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcicmu.c85 * PBM basis are bit fields where the PBM device instance number maps
328 int instance = getminor((dev_t)arg) >> 8; local
329 pcmu_t *pcmu_p = get_pcmu_soft_state(instance);
333 *result = (void *)(uintptr_t)instance;
356 int instance = ddi_get_instance(dip); local
365 if (alloc_pcmu_soft_state(instance) != DDI_SUCCESS) {
367 ddi_driver_name(dip), instance);
370 pcmu_p = get_pcmu_soft_state(instance);
394 (uint_t)instance<<8 | 0xff,
420 free_pcmu_soft_state(instance);
465 int instance = ddi_get_instance(dip); local
2189 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dinstance.c44 #include <sys/instance.h>
65 static int in_inuse(int instance, char *name);
72 static int in_pathin(char *cp, int instance, char *bname, struct bind **args);
84 * This plus devnames defines the entire software state of the instance world.
87 in_node_t *ins_root; /* the root of our instance tree */
96 boolean_t ins_dirty; /* instance info needs flush */
104 * device nodes used to track instance number assignments.
106 * by a linked list of in_drv_t nodes, each with an instance assignment
110 * IN_UNKNOWN: Each node created in this state. The instance number of
112 * IN_PROVISIONAL: When a node is assigned an instance numbe
999 in_pathin(char *cp, int instance, char *bname, struct bind **args) argument
1292 in_inuse(int instance, char *name) argument
[all...]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_kstats.c626 hxge_setup_local_kstat(p_hxge_t hxgep, int instance, char *name, argument
634 ksp = kstat_create(HXGE_DRIVER_NAME, instance, name, "net",
668 hxgep->instance, stat_name, &hxge_rdc_stats[0],
677 hxgep->instance, "RDC_system", &hxge_rdc_sys_stats[0],
687 hxgep->instance, stat_name, &hxge_tdc_stats[0],
696 hxgep->instance, "TDC_system", &hxge_tdc_sys_stats[0],
703 hxgep->instance, "PFC", &hxge_pfc_stats[0],
710 hxgep->instance, "VMAC", &hxge_vmac_stats[0],
717 hxgep->instance, "MMAC", &hxge_mmac_stats[0],
724 hxgep->instance, "PE
[all...]
H A Dhxge_hw.c597 hxgep->instance, lb_mode);
613 hxgep->instance, lb_mode);
622 hxgep->instance);
635 hxgep->instance, lb_info->key);
643 hxgep->instance, lb_mode);
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_hostbridge.c127 hcfmri.instance = rci;
251 hcfmri.instance = hbri;
/illumos-gate/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c801 * From the handle, segment name, tag, and instance of the tag get me:
803 * tagHdl: tag property handle in the tag table for this instance "tag"
807 fru_tag_t tag, int instance,
838 if ((tags_equal(tag, foundTag) == 1) && (instance-- == 0)) {
852 fru_tag_t tag, int instance,
864 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) {
893 fru_tag_t tag, int instance,
903 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) {
923 int instance)
933 tag, instance,
806 get_tag_handle(picl_nodehdl_t handle, const char *segment, fru_tag_t tag, int instance, picl_nodehdl_t *segHdl, picl_prophdl_t *tagHdl) argument
851 fpt_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
892 fpt_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
922 fpt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance) argument
[all...]
/illumos-gate/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c813 * From the handle, segment name, tag, and instance of the tag get me:
815 * tagHdl: tag property handle in the tag table for this instance "tag"
819 fru_tag_t tag, int instance,
850 if ((tags_equal(tag, foundTag) == 1) && (instance-- == 0)) {
864 fru_tag_t tag, int instance,
876 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) {
905 fru_tag_t tag, int instance,
915 tag, instance, &seg, &tagHdl)) != FRU_SUCCESS) {
935 int instance)
945 tag, instance,
818 get_tag_handle(picl_nodehdl_t handle, const char *segment, fru_tag_t tag, int instance, picl_nodehdl_t *segHdl, picl_prophdl_t *tagHdl) argument
863 fpt_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
904 fpt_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
934 fpt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag, int instance) argument
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c182 char *nickname; /* typestring + instance */
321 newentry.devinfo.instance = 0;
331 newentry.devinfo.instance = 0;
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsdbc_dynmem.c58 int instance; member in struct:__anon32
337 info_ksp.instance = 0;
/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/
H A Dusbser_var.h76 * per instance data
83 int us_instance; /* instance number */
281 #define USBSER_MAKEMINOR(instance, port, outline) \
282 ((port) | ((instance) << MAXPORTS_PER_DEVICE_SHIFT) | (outline))
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_impl.h163 nxgep->npi_handle.function.instance = nxgep->instance; \
171 nxgep->npi_handle.function.instance = nxgep->instance; \
182 nxgep->npi_handle.function.instance = nxgep->instance; \
190 nxgep->npi_handle.function.instance = nxgep->instance; \
612 * Per device instance data structure
617 * Per device instance dat
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Ddevinfo_impl.h167 di_off_t head; /* head of per instance list */
169 int instance; /* next instance to assign */ member in struct:di_devnm
228 di_off_t next; /* next node on per-instance list */
258 int instance; /* instance number */ member in struct:di_node
327 int path_instance; /* path instance */
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_init.c345 /* we only allow instance 0 to attach */
377 ulong_t instance = getminor((dev_t)arg); local
385 *result = (void *)instance;
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c255 int instance = USBPRN_MINOR_TO_INSTANCE(minor); local
260 instance)) != NULL) {
271 *result = (void *)(uintptr_t)instance;
295 int instance = ddi_get_instance(dip); local
313 if (ddi_soft_state_zalloc(usbprn_statep, instance) == DDI_SUCCESS) {
314 usbprnp = ddi_get_soft_state(usbprn_statep, instance);
321 usbprnp->usbprn_instance = instance;
393 instance << USBPRN_MINOR_INSTANCE_SHIFT,
471 * detach or suspend driver instance
476 int instance local
606 int instance = ddi_get_instance(dip); local
648 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dbofi.c618 * only one instance - but we clone using the open routine
956 errdef.instance = errdef_32.instance;
1046 errdef_32.instance = errdef.instance;
1105 * this name and instance
1123 * this name and instance
1141 * this name and instance
1159 * this name and instance
1177 * this name and instance whos
[all...]
H A Dstrplumb.c230 int instance; local
260 instance = ddi_get_instance(dip);
275 instance = ndev_unit;
281 driver, instance);
282 rootfs.bo_ppa = instance;
H A Dmouse8042.c79 * We only support one instance. Yes, it's theoretically possible to
263 int instance = ddi_get_instance(dip); local
322 * external node minor num == instance * 2
323 * internal node minor num == instance * 2 + 1
325 rc = ddi_create_minor_node(dip, "mouse", S_IFCHR, instance * 2,
332 instance * 2 + 1) != DDI_SUCCESS) {
422 int instance = MOUSE8042_MINOR_TO_INSTANCE(minor); local
432 *result = (void *)(uintptr_t)instance;
H A Dbscv.c495 int instance; local
498 instance = DEVICETOINSTANCE(dev);
502 *result = (void *)(uintptr_t)instance;
507 ssp = ddi_get_soft_state(bscv_statep, instance);
603 int instance; local
608 instance = ddi_get_instance(dip);
610 if (ddi_soft_state_zalloc(bscv_statep, instance) !=
616 ssp = ddi_get_soft_state(bscv_statep, instance);
621 ssp->instance = instance;
769 int instance; local
809 int instance; local
840 int instance; local
1924 int instance; local
5076 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_tabs.c544 * 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 Dcryptoadm.c163 /* 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/io/usb/clients/usbser/
H A Dusbser.c286 int instance; local
290 instance = USBSER_MINOR2INST(getminor((dev_t)arg));
295 usbserp = ddi_get_soft_state(statep, instance);
305 *result = (void *)(uintptr_t)instance;
388 int instance; local
391 instance = ddi_get_instance(dip);
407 if (ddi_soft_state_zalloc(statep, instance) != DDI_SUCCESS) {
411 if ((usp = ddi_get_soft_state(statep, instance)) == NULL) {
412 ddi_soft_state_free(statep, instance);
419 usp->us_instance = instance;
439 int instance = ddi_get_instance(dip); local
479 int instance; local
893 int instance = usp->us_instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_engine.c54 audio_dev_alloc(dev_info_t *dip, int instance) argument
60 * allow the driver to provide a different instance numbering
61 * scheme than the standard DDI instance number. (This is
63 * -- by default PPA == instance, but sometimes we need more
66 if (instance == 0) {
67 instance = ddi_get_instance(dip);
70 if (instance > AUDIO_MN_INST_MASK) {
71 audio_dev_warn(NULL, "bad instance number for %s (%d)",
72 ddi_driver_name(dip), instance);
83 d->d_instance = instance;
283 int instance; local
[all...]

Completed in 135 milliseconds

<<11121314151617181920>>