Searched defs:instance (Results 1 - 25 of 540) 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/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/common/io/drm/
H A Ddrm_kstat.c66 int instance; local
72 instance = ddi_get_instance(sc->dip);
74 ksp = kstat_create("drm", instance, "drminfo", "drm",
/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/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/uts/intel/io/agpgart/
H A Dagp_kstat.c92 int instance; local
99 instance = ddi_get_instance(sc->asoft_dip);
101 ksp = kstat_create(AGPGART_DEVNODE, instance, "agpinfo", "agp",
/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/uts/sun4u/montecarlo/sys/
H A Dnetract_gen.h64 int instance; /* instance of this type */ member in struct:envctrl_fan
/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/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);
/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/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/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c47 int instance = 0; local
150 * Then we could fetch the instance number and driver name of this
153 instance = di_instance(node);
154 if (instance == -1) {
157 "An instance number has not been assigned to the "
183 driver_name, iport_wwn, instance, phy_ptr->phy.PhyIdentifier);
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_sd.c72 int instance = ddi_get_instance(dip); local
102 info.dki_unit = instance;
/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/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,

Completed in 2009 milliseconds

1234567891011>>