Searched refs:instance (Results 451 - 475 of 843) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c1000 if (encl.instance == I2C_NODEV)
1011 if (encl.instance == I2C_NODEV)
1013 (void) sprintf(name, "%s %d", "CPU", encl.instance);
1022 if (encl.instance == I2C_NODEV)
1047 if (encl.instance == I2C_NODEV)
1049 switch (encl.instance) {
1176 if (fan.instance == I2C_NODEV)
1195 /* we know fan.instance != I2C_NODEV */
1198 if (fan.instance != I2C_NODEV)
1233 if (ps.instance !
[all...]
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c249 int instance = ddi_get_instance(dip); local
269 if (ddi_soft_state_zalloc(niumx_state, instance)
275 instance);
280 DBG(NIUMX_DBG_ATTACH, dip, "soft state alloc'd instance = %d, "
281 "niumxds_p = %p\n", instance, niumxds_p);
574 * Non-peristent nodes indicate a prototype node with per-instance
919 int instance = ddi_get_instance(dip); local
922 instance);
1051 int instance = ddi_get_instance(dip); local
1054 instance);
1142 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dmidlevel.c354 * service/instance composition while filling the app_props_t.
511 * instance and the desired state for the enabled bit in the instance's
957 * get_inst_state() gets the state string from an instance, and returns
958 * the SCF_STATE_* constant that coincides with the instance's current state.
975 /* Pull the state property from the instance */
1013 * Sets an instance to be enabled or disabled after reboot, using the
1108 * Create and return a pg from the instance associated with the given handle.
1141 /* Get pg from instance */
1197 smf_refresh_instance(const char *instance) argument
1203 smf_restart_instance(const char *instance) argument
1209 smf_maintain_instance(const char *instance, int flags) argument
1224 smf_degrade_instance(const char *instance, int flags) argument
1252 smf_restore_instance(const char *instance) argument
1280 smf_get_state(const char *instance) argument
1650 scf_simple_prop_get(scf_handle_t *hin, const char *instance, const char *pgname, const char *propname) argument
2600 boolean_t instance = B_TRUE; local
2768 boolean_t instance = B_TRUE; local
[all...]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c312 int instance; local
315 instance = ddi_get_instance(dev);
331 if (ddi_soft_state_zalloc(amr_softstatep, instance) != DDI_SUCCESS)
333 softs = ddi_get_soft_state(amr_softstatep, instance);
421 * configured for this instance.
491 ddi_soft_state_free(amr_softstatep, instance);
506 int instance; local
509 instance = ddi_get_instance(dev);
510 softs = ddi_get_soft_state(amr_softstatep, instance);
566 ddi_soft_state_free(amr_softstatep, instance);
577 int instance; local
788 int instance; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dcheck.c179 { "install-same-instance=true", "", &IMSG_SAME,
724 * -- install-instance=true
726 * -- install-same-instance=true\n
729 * -- install-new-instance=true\n
746 return (getyorn(a_msg, a_pkg, ADM(instance, "nocheck"),
747 ADM(instance, "quit"), HLP_PKGADDCHK_DEPEND,
996 return (getyorn(a_msg, a_pkg, ADM(instance, "nocheck"),
997 ADM(instance, "quit"), HLP_PKGADDCHK_CONT,
1026 return (getyorn(a_msg, a_pkg, ADM(instance, "nocheck"),
1027 ADM(instance, "qui
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c216 minor = getminor((dev_t)arg); /* same as instance# in our case */
264 int i, instance, rc = DDI_SUCCESS, n10g, n1g, rqidx, tqidx, q; local
284 instance = ddi_get_instance(dip);
285 rc = ddi_soft_state_zalloc(t4_list, instance);
292 sc = ddi_get_soft_state(t4_list, instance);
294 sc->dev = makedevice(ddi_driver_major(dip), instance);
353 * Do this really early. Note that minor number = instance.
355 (void) snprintf(name, sizeof (name), "%s,%d", T4_NEXUS_NAME, instance);
356 rc = ddi_create_minor_node(dip, name, S_IFCHR, instance,
687 int instance, local
790 int instance; local
849 int instance, i; local
892 int instance, i, rc; local
963 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_impl.h106 hxgep->hpi_handle.function.instance = hxgep->instance; \
114 hxgep->hpi_handle.function.instance = hxgep->instance; \
122 hxgep->hpi_msi_handle.function.instance = hxgep->instance; \
231 * Per device instance data structure
236 * Per device instance data structure
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ndd.c154 0, 999, 1000, 0, "instance", "instance"},
157 0, 999, 1000, 0, "main-instance", "main_instance"},
602 nxgep->instance));
623 nxgep->instance));
699 * Make sure the param_instance is set to a valid device instance.
702 nxge_param_arr[param_instance].value = nxgep->instance;
705 param_arr[param_instance].value = nxgep->instance;
742 * Make sure the param_instance is set to a valid device instance.
745 nxge_param_arr[param_instance].value = nxgep->instance;
2469 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl.c380 int instance; local
384 instance = GETINSTANCE(dev);
385 *result = (void *)(uintptr_t)instance;
395 int instance; local
419 instance = ddi_get_instance(devi);
421 if (ddi_soft_state_zalloc(sysctrlp, instance) != DDI_SUCCESS)
424 softsp = GETSOFTC(instance);
461 "registers", instance);
468 "registers", instance);
553 create_ft_kstats(instance);
1034 int instance; local
1229 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet.c224 * Linked list of "vnet_t" structures - one per instance.
352 (void) sprintf(bufp, "vnet%d:%s: ", vnetp->instance, fname);
408 * called once for each instance of the device on the system.
415 int instance; local
431 instance = ddi_get_instance(dip);
432 DBG1(NULL, "instance(%d) enter\n", instance);
437 vnetp->instance = instance;
471 (void) snprintf(qname, TASKQ_NAMELEN, "vres_taskq%d", instance);
543 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c80 int instance);
271 minor_t instance; local
276 instance = HERMON_DEV_INSTANCE(dev);
277 state = ddi_get_soft_state(hermon_statep, instance);
286 instance = HERMON_DEV_INSTANCE(dev);
287 *result = (void *)(uintptr_t)instance;
308 minor_t instance; local
314 instance = HERMON_DEV_INSTANCE(*devp);
315 state = ddi_get_soft_state(hermon_statep, instance);
335 * instance an
461 minor_t instance; local
549 int instance; local
746 int instance, status; local
1266 hermon_drv_init(hermon_state_t *state, dev_info_t *dip, int instance) argument
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c95 * Start up SCF and bind the requested instance alone.
175 * the specified instance. When this is done, the get_property() function
670 enable_instance(const char *service_name, const char *instance) argument
673 char *fmri = alloc_fmri(service_name, instance);
684 * Shut down a possibly-running service instance. If this is a permanent
688 shut_down_instance(const char *service_name, const char *instance, argument
692 char *fmri = alloc_fmri(service_name, instance);
733 bind_instance(service_name, instance, &sstate) == 0) {
742 disable_trill(const char *instance, uint32_t flags) argument
744 return (shut_down_instance(TRILL_SVC_NAME, instance, flag
753 enable_trill(const char *instance) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dkstat.c91 /* Try to find an FHC instance for this board number */
125 /* Try to find an AC instance for this board number */
186 /* Try to find an simmstat instance for this board number */
199 /* Try to find an overtemp kstat instance for this board */
302 /* Try to find an overtemp kstat instance for this board */
422 ep->ps_kstats[i].instance = I2C_NODEV;
423 ep->fan_kstats[i].instance = I2C_NODEV;
424 ep->encl_kstats[i].instance = I2C_NODEV;
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.c400 * network devices and returns the instance# of that
496 int instance; local
498 /* Figure out NAC name and instance, if onboard network node */
500 instance = erie_get_network_instance(path);
502 "NET", instance);
/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/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/picl/plugins/sun4v/mdesc/
H A Ddr.c116 int instance; local
122 instance = di_instance(di_node);
124 PICL_PTYPE_INT, PICL_READ, sizeof (instance), PICL_PROP_INSTANCE,
126 (void) ptree_create_and_add_prop(nodeh, &propinfo, &instance, NULL);
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ioctl.c91 int instance; local
97 instance = getminor(dev);
98 if (instance == -1) {
105 soft_state = ddi_get_soft_state(hci1394_statep, instance);
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dcphy.h76 /* A PHY instance */
96 struct cphy_instance *instance; member in struct:cphy
138 /* Operations of the PHY-instance factory */
140 /* Construct a PHY instance with the given PHY address */
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_main.c45 * Global per-instance EoIB Nexus data. Only one instance
223 int instance; local
231 * Don't allow more than one instance to attach
237 * Alloc this instance's softstate
273 instance = ddi_get_instance(dip);
274 if (ddi_create_minor_node(dip, "devctl", S_IFCHR, instance,
277 "for instance %d", instance);
309 * If there's no instance o
[all...]
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.c588 int instance; local
606 instance = ddi_get_instance(dip);
607 err = ddi_soft_state_zalloc(zyd_ssp, instance);
614 sc = ddi_get_soft_state(zyd_ssp, instance);
619 ddi_soft_state_free(zyd_ssp, instance);
625 ddi_soft_state_free(zyd_ssp, instance);
634 ddi_soft_state_free(zyd_ssp, instance);
641 (void) snprintf(strbuf, sizeof (strbuf), ZYD_DRV_NAME"%d", instance);
643 instance + 1, DDI_NT_NET_WIFI, 0);
/illumos-gate/usr/src/uts/sun4u/montecarlo/sys/
H A Dpcf8591_nct.h198 int instance; member in struct:pcf8591_unit
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei.c193 int instance; local
196 instance = ddi_get_instance(dip);
197 FCOEI_LOG(__FUNCTION__, "instance is %d", instance);
200 ret = ddi_soft_state_zalloc(fcoei_state, instance);
209 ss = ddi_get_soft_state(fcoei_state, instance);
214 ddi_soft_state_free(fcoei_state, instance);
239 int instance; local
242 instance = ddi_get_instance(dip);
243 ss = ddi_get_soft_state(fcoei_state, instance);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.h70 extern void external_connection_release(const domainname *instance);

Completed in 92 milliseconds

<<11121314151617181920>>