Searched defs:instance (Results 26 - 50 of 540) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dssm.h42 * instance-minor no
52 int initialized; /* instance has been initialized */
59 int instance; /* instance for this wildcat node */ member in struct:__anon9970
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsimmstat.c163 int instance; local
176 instance = ddi_get_instance(devi);
178 if (ddi_soft_state_zalloc(simmstatp, instance) != DDI_SUCCESS)
181 softsp = ddi_get_soft_state(simmstatp, instance);
191 instance, OBP_BOARDNUM);
196 " softsp=0x%p\n", instance, (void *)devi, (void *)softsp));
202 instance);
218 ddi_soft_state_free(simmstatp, instance);
226 int instance; local
229 /* get the instance o
[all...]
H A Dsram.c156 int instance; local
170 instance = ddi_get_instance(devi);
172 if (ddi_soft_state_zalloc(sramp, instance) != DDI_SUCCESS)
175 softsp = ddi_get_soft_state(sramp, instance);
185 instance, OBP_BOARDNUM);
190 " softsp=0x%p\n", instance, (void *)devi, (void *)softsp));
196 instance);
212 ddi_soft_state_free(sramp, instance);
220 int instance; local
223 /* get the instance o
[all...]
H A Denviron.c181 int instance; local
194 instance = ddi_get_instance(devi);
196 if (ddi_soft_state_zalloc(environp, instance) != DDI_SUCCESS)
199 softsp = ddi_get_soft_state(environp, instance);
216 instance, OBP_BOARDNUM);
257 ddi_soft_state_free(environp, instance);
265 int instance; local
270 /* get the instance of this devi */
271 instance = ddi_get_instance(devi);
274 softsp = ddi_get_soft_state(environp, instance);
[all...]
/illumos-gate/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc.c176 * Per-instance initialization. Suspend/resume not supported.
184 int instance = ddi_get_instance(dip); local
189 if (ddi_soft_state_zalloc(n2piupc_state_p, instance) !=
197 instance);
223 (void) ddi_soft_state_free(n2piupc_state_p, instance);
233 * Per-instance cleanup. Suspend/resume not supported.
238 int instance = ddi_get_instance(dip); local
241 n2piupc_state_p, instance);
247 (void) ddi_soft_state_free(n2piupc_state_p, instance);
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c51 #define DDI_INSTANCE "ddi.instance"
200 int32_t *instance = NULL; local
421 DDI_INSTANCE, &instance, &nelem);
434 if ((NULL != instance) & (NULL != major)) {
441 *val = MP_STORE_INST_TO_ID(*instance, *val);
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c62 di_node_t cn, int instance, di_path_t pi)
70 instance, NULL, auth, NULL, NULL, NULL);
73 child = topo_node_bind(mod, parent, SCSI_DEVICE, instance, fmri);
122 di_node_t cn, int instance)
129 instance, NULL, auth, NULL, NULL, NULL);
132 child = topo_node_bind(mod, parent, SMP_DEVICE, instance, fmri);
156 di_node_t cn, int instance)
163 instance, NULL, auth, NULL, NULL, NULL);
166 child = topo_node_bind(mod, parent, IPORT, instance, fmri);
61 pci_scsi_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance, di_path_t pi) argument
121 pci_smp_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance) argument
155 pci_iport_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance) argument
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c145 int32_t instance; local
200 instance = huron_get_network_instance(path);
203 "NET", instance);
H A Dpelton.c149 int32_t instance; local
198 instance = pelton_get_network_instance(path);
202 "NET", instance);
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/
H A DSyslogHandler.java60 * Records the instance of this singleton.
62 private static SyslogHandler instance = null; field in class:SyslogHandler
106 instance = this;
110 * Return this virtual machine's instance of SyslogHandler,
112 * facility if necessary, unless an instance with a different
117 * facility differs from a previously-created instance.
122 if (instance != null) {
123 if (!instance.ident.equals(ident) ||
124 !instance.facility.equals(facility))
127 return (instance);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_delete.c110 scf_instance_t *instance; local
168 instance = scf_instance_create(handle);
169 if (instance == NULL) {
176 if (scf_service_get_instance(svc, instance_name, instance) != 0) {
187 scf_instance_destroy(instance);
195 if (scf_instance_to_fmri(instance, buf, max_fmri_len + 1) > 0) {
218 if (scf_instance_delete(instance) != 0) {
233 * kssl instance.
/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/mdb/common/modules/mr_sas/
H A Dmr_sas.c132 int instance; local
165 instance = m.instance;
181 mdb_printf("%16p %4d %4d ", addr, instance, ncmds);
209 mdb_printf("Prints summary information about each mr_sas instance, "
211 "instance.\n\n"
/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/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...]
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/lib/sun_fc/common/
H A DFCSyseventBridge.cc240 // All events of this class type have instance and port-wwn for
242 uint32_t instance; local
243 if (nvlist_lookup_uint32(list, (char *)"instance",
244 &instance)) {
246 "Improperly formed event: no instance field.");
264 // Create event instance
287 // Create event instance
368 // Create event instance
402 // Create event instance
433 // Create event instance
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dcpudrv_mach.c103 * Only check the instance specific setting it exists.
142 int instance; local
146 instance = ddi_get_instance(dip);
147 cpudsp = ddi_get_soft_state(cpudrv_state, instance);
187 int instance; local
191 instance = ddi_get_instance(dip);
192 cpudsp = ddi_get_soft_state(cpudrv_state, instance);
216 int instance; local
220 instance = ddi_get_instance(dip);
221 cpudsp = ddi_get_soft_state(cpudrv_state, instance);
[all...]
/illumos-gate/usr/src/uts/common/io/usb/hubd/
H A Dhubd.c140 int instance = (int)minor & ~HUBD_IS_ROOT_HUB; local
141 hubd_t *hubd = ddi_get_soft_state(hubd_statep, instance);
159 int instance; local
171 instance = HUBD_UNIT(dev);
172 *result = (void *)(intptr_t)instance;
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_kstats.c203 nge_setup_named_kstat(nge_t *ngep, int instance, char *name, argument
212 ksp = kstat_create(NGE_DRIVER_NAME, instance, name, "net",
246 nge_init_kstats(nge_t *ngep, int instance) argument
248 NGE_TRACE(("nge_init_kstats($%p, %d)", (void *)ngep, instance));
251 instance, "statistics", nge_statistics,
255 instance, "chipinfo", nge_chipinfo,
259 instance, "driver-debug", nge_debuginfo,
/illumos-gate/usr/src/uts/sun4u/snowbird/sys/
H A Dtodds1307.h74 /* per instance based */
83 int instance; member in struct:ds1307_state
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_debug.c166 int instance = DIP_TO_INST(dip); local
167 px_t *px_p = INST_TO_STATE(instance);
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalwd.c53 * Define your per instance state data
203 int instance; local
209 instance = getminor(dev);
210 tsp = ddi_get_soft_state(xcalwd_statep, instance);
231 int instance; local
236 instance = ddi_get_instance(dip);
243 if (ddi_soft_state_zalloc(xcalwd_statep, instance) !=
246 "%d state structure", instance);
250 tsp = ddi_get_soft_state(xcalwd_statep, instance);
253 instance);
283 int instance; local
308 int instance = (int)(uintptr_t)arg; local
333 int instance; local
357 int instance; local
401 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dgrbeep.c180 int instance; local
198 /* Get the instance and create soft state */
199 instance = ddi_get_instance(dip);
201 if (ddi_soft_state_zalloc(grbeep_statep, instance) != 0) {
206 grbeeptr = ddi_get_soft_state(grbeep_statep, instance);
213 GRBEEP_DEBUG1((CE_CONT, "grbeeptr = 0x%p, instance %x",
214 (void *)grbeeptr, instance));
292 int instance, error; local
297 instance = GRBEEP_UNIT(dev);
300 instance))
468 int instance = ddi_get_instance(dip); local
487 int instance = ddi_get_instance(grbeeptr->grbeep_dip); local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dics951601.c176 int instance; local
187 instance = getminor(*devp);
188 if (instance < 0) {
192 instance);
224 int instance;
234 instance = getminor(dev);
236 instance);
251 int instance = ddi_get_instance(dip); local
253 if (ddi_soft_state_zalloc(ics951601_soft_statep, instance) != 0) {
255 ddi_get_name(dip), instance);
336 int instance; local
378 int instance = ddi_get_instance(dip); local
416 int instance = ddi_get_instance(dip); local
492 int instance = getminor(dev); local
[all...]

Completed in 91 milliseconds

1234567891011>>