Searched defs:instance (Results 1 - 25 of 500) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_kstat.c51 int instance; local
62 instance = ddi_get_instance(dca->dca_dip);
67 (void) sprintf(buf, "%sc%d", DRIVER, instance);
68 if ((dca->dca_intrstats = kstat_create(DRIVER, instance, buf,
78 if ((dca->dca_ksp = kstat_create(DRIVER, instance, NULL, "misc",
/illumos-gate/usr/src/cmd/devfsadm/
H A Dlofi_link.c81 int instance; local
90 instance = di_instance(node);
94 LOFI_BLOCK_NAME, instance);
97 LOFI_CHAR_NAME, instance);
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_chassis.c40 x86pi_gen_chassis(topo_mod_t *mod, tnode_t *t_parent, int smb_id, int instance) argument
78 /* set hc_name and instance */
80 ch_hcfmri.instance = instance;
82 topo_mod_dprintf(mod, "%s: instance (%d)\n", f, ch_hcfmri.instance);
91 if (!instance) {
92 /* First Chassis SMBIOS Record is Chassis topo instance 0 */
101 instance);
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/kstat/
H A DKstatCtl.java80 public native Kstat lookup(String module, int instance, String name); argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c38 valid_env_var(const char *var, const char *instance, const char *method) argument
46 "method %s of instance %s.\n"), var, method, instance);
52 "method %s of instance %s; \"SMF_\" prefix is reserved.\n"),
53 var, method, instance);
61 find_dup(const char *var, char **env, const char *instance, const char *method) argument
78 "for method %s of instance %s.\n"), *p, method, instance);
99 set_smf_env(struct method_context *mthd_ctxt, instance_t *instance, argument
111 if (instance
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_2path.c35 prom_ihandle_to_path(ihandle_t instance, char *buf, uint_t len) argument
37 return (token2path("instance-to-path", (uint_t)instance, buf, len));
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_stat.c105 dls_stat_create(const char *module, int instance, const char *name, argument
113 if ((ksp = kstat_create_zone(module, instance, name, "net",
/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_kstat.c48 int instance; local
62 instance = ddi_get_instance(n2rng->n_dip);
67 n2rng->n_ksp = kstat_create(DRIVER, instance, NULL, "misc",
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvgen_stats.c49 vgen_setup_kstats(char *ks_mod, int instance, argument
57 ksp = kstat_create(ks_mod, instance, ks_name, "net", KSTAT_TYPE_NAMED,
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_sc.c136 int i, instance; local
160 instance = ddi_get_instance(dip);
161 if (pci_stream_buf_enable & (1 << instance))
163 if (pci_rerun_disable & (1 << instance))
165 if (pci_lock_sbuf & (1 << instance))
/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/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/libdevinfo/
H A Ddevinfo_dim.c34 * This file contains interfaces to translate <driver><instance><minorname>
36 * the kernel instance tree so that it can provide translations for devices
76 di_dim_path_devices(di_dim_t dim, char *drv_name, int instance, argument
88 /* find the length of the devices path given major,instance */
89 if (modctl(MODGETDEVFSPATH_MI_LEN, major, instance, &len) != 0)
103 if (modctl(MODGETDEVFSPATH_MI, major, instance, len, devices) != 0) {
129 di_dim_path_dev(di_dim_t dim, char *drv_name, int instance, char *minor_name) argument
139 /* convert <driver><instance><minor_name> to /devices path */
140 devices = di_dim_path_devices(dim, drv_name, instance, minor_name);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBAList.cc43 * @memo Private constructor (used to create singleton instance)
44 * @see HBAList::instance
49 * Internal singleton instance
73 * @memo Fetch the singleton instance
74 * @return The singleton instance
76 * @doc Only one instance of HBAList must be present
80 HBAList* HBAList::instance() { function in class:HBAList
81 Trace log("HBAList::instance");
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_misc.c53 minor_t instance; local
62 instance = getminor(dev);
63 soft_state = ddi_get_soft_state(hci1394_statep, instance);
78 instance = getminor(dev);
79 *result = (void *)(uintptr_t)instance;
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_kstats.c95 rge_setup_named_kstat(rge_t *rgep, int instance, char *name, argument
104 ksp = kstat_create(RGE_DRIVER_NAME, instance, name, "net",
137 rge_init_kstats(rge_t *rgep, int instance) argument
140 instance, "driverinfo", rge_driverinfo,
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_cmd.c50 int instance = ddi_get_instance(iommu->aiomt_dip); local
58 f, driver, instance, iommu->aiomt_idx);
82 int instance = ddi_get_instance(iommu->aiomt_dip); local
90 "no flags supported", f, driver, instance,
174 int instance = ddi_get_instance(iommu->aiomt_dip); local
182 f, driver, instance, iommu->aiomt_idx);
203 int instance = ddi_get_instance(iommu->aiomt_dip); local
222 f, driver, instance, iommu->aiomt_idx);
246 f, driver, instance, iommu->aiomt_idx, cmd);
/illumos-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_ioctl.c65 int instance; local
73 instance = getminor(dev);
74 if (instance == -1) {
77 state = ddi_get_soft_state(ioat_statep, instance);
/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:__anon9967
/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...]
/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/uts/common/io/bnx/
H A Dbnxmod.c57 * resources held by this device instance.
141 * soft state for this instance of the driver, sets access up
153 int instance; local
245 instance = ddi_get_instance(umdevice->os_param.dip);
250 S_IFCHR, instance, DDI_PSEUDO, 0);
253 S_IFCHR, instance, DDI_PSEUDO, 0);
344 umdevice->instance = ddi_get_instance(dip);
347 umdevice->instance);
/illumos-gate/usr/src/cmd/powertop/common/
H A Devents.c58 int32_t *instance, *offender_cpu; local
75 instance = (int32_t *)(data->dtada_data + rec2->dtrd_offset);
79 EVENT_NAME_MAX, "%s#%d", offense_name, *instance);

Completed in 79 milliseconds

1234567891011>>