Searched refs:instance (Results 226 - 250 of 843) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser.c159 int instance; local
165 instance = ddi_get_instance(dip);
168 iser_state->is_instance = instance;
180 "iser", instance);
191 "iser", instance);
196 dip, ddi_get_name(dip), S_IFCHR, instance,
203 "iser", instance);
217 instance, cmd);
292 minor_t instance; local
295 instance
[all...]
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dssc050.c183 int instance;
186 instance = MINOR_TO_INST(getminor(*devp));
188 if (instance < 0) {
193 ddi_get_soft_state(ssc050soft_statep, instance);
230 int instance;
232 instance = MINOR_TO_INST(getminor(dev));
234 if (instance < 0) {
239 ddi_get_soft_state(ssc050soft_statep, instance);
319 int instance = MINOR_TO_INST(getminor(dev)); local
333 ddi_get_soft_state(ssc050soft_statep, instance);
584 int instance; local
627 int instance; local
673 int instance; local
690 int instance; local
[all...]
H A Dssc100.c154 int instance;
157 instance = getminor(*devp);
159 if (instance < 0) {
164 ddi_get_soft_state(ssc100soft_statep, instance);
201 int instance;
203 instance = getminor(dev);
205 if (instance < 0) {
209 ddi_get_soft_state(ssc100soft_statep, instance);
302 int instance;
316 instance
510 int instance; local
582 int instance; local
620 int instance = getminor(dev); local
[all...]
H A Dpca9556.c180 int instance = ddi_get_instance(dip); local
190 ddi_get_soft_state(pca9556_soft_statep, instance);
260 int instance = ddi_get_instance(dip); local
262 pcap = ddi_get_soft_state(pca9556_soft_statep, instance);
275 ddi_soft_state_free(pca9556_soft_statep, instance);
283 int instance = ddi_get_instance(dip); local
289 if (ddi_soft_state_zalloc(pca9556_soft_statep, instance) != 0) {
291 ddi_get_name(dip), instance);
295 pcap = ddi_get_soft_state(pca9556_soft_statep, instance);
304 "%s_%d", ddi_driver_name(dip), instance);
418 int instance = ddi_get_instance(dip); local
535 int instance; local
576 int instance; local
606 int instance = MINOR_TO_INST(getminor(dev)); local
[all...]
/illumos-gate/usr/src/uts/intel/io/agpgart/
H A Dagptarget.c85 #define GETSOFTC(instance) ((agp_target_softstate_t *) \
86 ddi_get_soft_state(agptarget_glob_soft_handle, instance));
459 int instance, rval = DDI_FAILURE; local
465 instance = DEV2INST(dev);
466 st = ddi_get_soft_state(agptarget_glob_soft_handle, instance);
478 instance = DEV2INST(dev);
479 *resultp = (void *)(uintptr_t)instance;
519 int instance; local
522 instance = ddi_get_instance(dip);
529 ddi_get_soft_state(agptarget_glob_soft_handle, instance);
600 int instance; local
629 int instance = DEV2INST(dev); local
839 int instance = DEV2INST(*devp); local
857 int instance = DEV2INST(dev); local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/glvc/
H A Dglvc.c255 int instance; local
261 instance = ddi_get_instance(dip);
283 DPRINTF(("Glvc instance %d negotiated VSC API version, "
285 instance, glvc_hsvc.hsvc_major, glvc_vsc_min_ver));
287 if (ddi_soft_state_zalloc(glvc_ssp, instance)
296 softsp = ddi_get_soft_state(glvc_ssp, instance);
341 instance, DDI_PSEUDO, NULL);
380 DPRINTF(("glvc instance %d, s_id %lu,"
381 "mtu %lu attached\n", instance, softsp->s_id,
404 cmn_err(CE_WARN, "glvc: attach failed for instance
413 int instance; local
461 int instance; local
524 int instance; local
558 int instance; local
602 int instance; local
627 int instance; local
717 int instance; local
952 int instance = getminor(dev); local
[all...]
/illumos-gate/usr/src/uts/intel/io/
H A Diommulib.c128 int instance = ddi_get_instance(dip); local
152 f, driver, instance, (void *)nexops);
161 f, driver, instance, (void *)nexops);
168 driver, instance, (void *)nexops);
175 driver, instance, (void *)nexops);
182 driver, instance, (void *)nexops);
189 driver, instance, (void *)nexops);
196 driver, instance, (void *)nexops);
203 driver, instance, (void *)nexops);
210 driver, instance, (voi
301 int instance; local
347 int instance = ddi_get_instance(dip); local
495 int instance; local
550 int instance = ddi_get_instance(rdip); local
605 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/javelin/io/
H A Denvctrltwo.c271 register int instance; local
288 instance = ddi_get_instance(dip);
294 if (!(unitp = ddi_get_soft_state(envctrlsoft_statep, instance)))
329 if (ddi_soft_state_zalloc(envctrlsoft_statep, instance) != 0) {
331 ddi_get_name(dip), instance);
335 unitp = ddi_get_soft_state(envctrlsoft_statep, instance);
341 ddi_get_name(dip), instance);
361 ddi_get_name(dip), instance);
372 ddi_get_name(dip), instance);
380 ddi_get_name(dip), instance);
611 int instance; local
688 int instance, ret; local
727 register int instance; local
761 register int instance; local
789 register int instance; local
2818 int instance; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_log.c126 int instance = ddi_get_instance(iommu->aiomt_dip); local
155 f, driver, instance, iommu->aiomt_idx,
178 int instance = ddi_get_instance(iommu->aiomt_dip); local
209 f, driver, instance, iommu->aiomt_idx,
234 int instance = ddi_get_instance(iommu->aiomt_dip); local
262 f, driver, instance, iommu->aiomt_idx,
284 int instance = ddi_get_instance(iommu->aiomt_dip); local
315 f, driver, instance, iommu->aiomt_idx,
330 int instance = ddi_get_instance(iommu->aiomt_dip); local
343 f, driver, instance, iomm
355 int instance = ddi_get_instance(iommu->aiomt_dip); local
387 int instance = ddi_get_instance(iommu->aiomt_dip); local
427 int instance = ddi_get_instance(iommu->aiomt_dip); local
464 int instance = ddi_get_instance(iommu->aiomt_dip); local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dconv_princ.c33 * principal into name, instance, and realm.
46 /* The maximum sizes for V4 aname, realm, sname, and instance +1 */
177 * instance's domain name if requested.
259 const char *instance, const char *realm,
312 if (instance) {
313 if (instance[0] == '\0') {
314 instance = 0;
327 if ((p->flags & DO_REALM_CONVERSION) && !strchr(instance, '.')) {
331 names[3] = instance;
335 instance
258 krb5_425_conv_principal(krb5_context context, const char *name, const char *instance, const char *realm, krb5_principal *princ) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
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/sun4u/io/
H A Dpmc.c59 static int instance = -1; variable
203 int instance;
207 instance = getminor((dev_t)arg);
208 pmcp = (pmc_t *)ddi_get_soft_state(pmc_soft_state, instance);
250 if (instance != -1) {
251 DPRINTF(("pmc_attach: Another instance is already attached."));
255 instance = ddi_get_instance(dip);
257 if (ddi_soft_state_zalloc(pmc_soft_state, instance) != DDI_SUCCESS) {
262 pmcp = (pmc_t *)ddi_get_soft_state(pmc_soft_state, instance);
280 instance);
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsgen.c570 int instance; local
576 instance = ddi_get_instance(dip);
581 sgen_log(NULL, SGEN_DIAG2, "sgen_do_attach: instance = %d, "
582 "device unit-address @%s", instance, ddi_get_name_addr(dip));
593 if (ddi_soft_state_zalloc(sgen_soft_state, instance) != DDI_SUCCESS) {
604 sg_state = ddi_get_soft_state(sgen_soft_state, instance);
627 "sgen_do_attach: sgen_soft_state=0x%p, instance=%d, "
629 sgen_soft_state, instance, ddi_get_name_addr(dip));
632 * For simplicity, the minor number == the instance number
635 instance, DDI_NT_SGE
784 sgen_create_errstats(sgen_state_t *sg_state, int instance) argument
832 int instance; local
867 int instance; local
935 int instance; local
970 int instance, error; local
1003 int instance; local
1058 int instance; local
1108 int instance; local
1140 int instance; local
1208 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/dsw/
H A Ddsw.c126 int instance; member in struct:ii_state
274 int instance; local
284 instance = ddi_get_instance(dip);
285 if (ddi_soft_state_zalloc(ii_statep, instance) != 0) {
286 cmn_err(CE_WARN, "!ii: no memory for instance %d state.",
287 instance);
292 xsp = ddi_get_soft_state(ii_statep, instance);
295 "!ii: attach: could not get state for instance %d.",
296 instance);
390 xsp->instance
417 int instance; local
480 int instance = 0; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dmdesc.c68 int instance; member in struct:mdesc_state
214 int instance = ddi_get_instance(dip); local
219 if (ddi_create_minor_node(dip, MDESC_NAME, S_IFCHR, instance,
222 MDESC_NAME, instance);
305 mdsp->instance = minor;
367 int instance = getminor(dev); local
379 if ((mdsp = ddi_get_soft_state(mdesc_state_head, instance)) == NULL)
382 ASSERT(mdsp->instance == instance);
419 int instance local
484 int instance = getminor(dev); local
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddprov.c63 * These values are kept in the per-instance structure, and are initialized
1072 * There is also a per-instance array of objects, which correspond
1087 uint_t do_token_idx; /* index in per-instance table */
1192 * Session management: each instance is associated with an array
1227 * Per-instance info.
1230 kmutex_t ds_lock; /* per-instance lock */
1238 dprov_session_t **ds_sessions; /* sessions for this instance */
1249 * A taskq is associated with each instance of the pseudo driver in order
1616 /* retrieve the softc and instance number from a SPI crypto context */
1617 #define DPROV_SOFTC_FROM_CTX(ctx, softc, instance) { \
1730 int instance = getminor((dev_t)arg); local
1752 int instance = ddi_get_instance(dip); local
1856 int instance = ddi_get_instance(dip); local
1928 int instance; local
1963 int instance; local
1989 int instance; local
2012 int instance; local
2035 int instance; local
2061 int instance; local
2124 int instance; local
2157 int instance; local
2180 int instance; local
2202 int instance; local
2227 int instance; local
2261 int instance; local
2344 int instance; local
2376 int instance; local
2400 int instance; local
2425 int instance; local
2451 int instance; local
2485 int instance; local
2518 int instance; local
2542 int instance; local
2567 int instance; local
2593 int instance; local
2658 int instance; local
2691 int instance; local
2714 int instance; local
2737 int instance; local
2762 int instance; local
2795 int instance; local
2822 int instance; local
2847 int instance; local
2878 int instance; local
2910 int instance; local
2933 int instance; local
2957 int instance; local
2982 int instance; local
3016 int instance; local
3043 int instance; local
3069 int instance; local
3100 int instance; local
3128 int instance; local
3156 int instance; local
3184 int instance; local
3218 int instance; local
3260 int instance; local
3288 int instance; local
3314 int instance; local
3345 int instance; local
3389 int instance; local
3431 int instance; local
3456 int instance; local
3481 int instance; local
3512 int instance; local
3559 int instance; local
3605 int instance; local
3627 int instance; local
3653 int instance; local
3675 int instance; local
3698 int instance; local
3720 int instance; local
3748 int instance; local
3774 int instance; local
3799 int instance; local
3824 int instance; local
3850 int instance; local
3876 int instance; local
3902 int instance; local
3927 int instance; local
3952 int instance; local
3982 int instance; local
4012 int instance; local
4040 int instance; local
4068 int instance; local
4095 int instance; local
4123 int instance; local
4145 int instance; local
4168 int instance; local
4191 int instance; local
4917 int instance; local
4951 int instance; local
4981 int instance; local
5408 int instance; local
5524 int instance; local
5640 int instance; local
5860 int instance; local
6062 int instance; local
6118 int instance; local
6352 int instance; local
6743 int instance; local
6790 int instance; local
7008 int instance; local
7405 int instance; local
8498 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_mbx.c95 QL_PRINT_3(CE_CONT, "(%d): started, cmd=%xh\n", ha->instance, mbx_cmd);
287 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
430 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
475 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
506 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
532 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
559 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
572 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
601 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
636 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
[all...]
H A Dql_ioctl.c113 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
118 ha->instance);
135 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
169 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
173 ha->instance);
185 QL_PRINT_3(CE_CONT, "(%d): done\n", ha->instance);
227 QL_PRINT_3(CE_CONT, "(%d): started\n", ha->instance);
309 QL_PRINT_9(CE_CONT, "(%d): done\n", ha->instance);
335 QL_PRINT_9(CE_CONT, "(%d): started\n", ha->instance);
363 QL_PRINT_9(CE_CONT, "(%d): done\n", ha->instance);
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_generic.c66 hcfmri->hc_name, hcfmri->instance, NULL, auth,
89 "%s failed to bind %s node instance %d: %s\n",
90 _ENUM_NAME, hcfmri->hc_name, hcfmri->instance,
140 "%s: NULL parent for %s node instance %d\n",
141 f, hcfmri->hc_name, hcfmri->instance);
147 hcfmri->instance, fmri);
150 "%s: failed to bind %s node instance %d: %s\n",
151 f, hcfmri->hc_name, (uint32_t)hcfmri->instance,
155 topo_mod_dprintf(mod, "%s: bound %s node instance %d type %s\n",
156 f, hcfmri->hc_name, hcfmri->instance, hcfmr
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dbofi.h112 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_errdef
135 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_errdef32
158 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_errctl
164 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_get_handles
172 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_get_handles32
179 int instance; member in struct:handle_info
/illumos-gate/usr/src/lib/libfru/include/
H A Dlibfruds.h83 fru_tag_t tag, int instance,
86 fru_tag_t tag, int instance,
89 fru_tag_t tag, int instance);
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dsysevent_events.c54 * - extract the driver/instance sysevent attributes
64 int32_t instance; local
88 * Retrieve driver name and instance attributes, and combine to
96 nvlist_lookup_int32(attr_list, DEV_INSTANCE, &instance) != 0) {
102 (void) snprintf(if_name, LIFNAMSIZ, "%s%d", driver, instance);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dmisc.c76 * anything other than an instance.
86 const char *instance, *pg; local
89 * Verify that this fmri specifies an instance, using
93 scf_parse_svc_fmri(cf, NULL, NULL, &instance, &pg,
99 if (instance == NULL || pg != NULL) {
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.h49 scf_instance_t *instance; member in struct:scfutilhandle
72 * service instance related defines
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_create.c63 add_property_group_to_instance(scf_handle_t *handle, scf_instance_t *instance, argument
78 if (scf_instance_add_pg(instance, pg_name, pg_type, 0, pg) != 0) {
83 "Error: another process is modifying this instance."
176 add_pg_method(scf_handle_t *handle, scf_instance_t *instance, argument
188 pg = add_property_group_to_instance(handle, instance,
307 scf_instance_t *instance; local
309 instance = scf_instance_create(handle);
310 if (instance == NULL) {
318 if (scf_service_get_instance(svc, inaddr_any_name, instance) == 0) {
319 /* Let the caller deal with the duplicate instance */
[all...]

Completed in 375 milliseconds

1234567891011>>