/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca_kstat.c | 51 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 D | lofi_link.c | 81 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 D | x86pi_chassis.c | 40 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 D | KstatCtl.java | 80 public native Kstat lookup(String module, int instance, String name); argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | env.c | 38 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 D | dls_stat.c | 105 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 D | drm_kstat.c | 66 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 D | prom_2path.c | 35 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 D | n2rng_kstat.c | 48 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 D | vgen_stats.c | 49 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 D | pci_sc.c | 136 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 D | agp_kstat.c | 92 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 D | scfutil.h | 49 scf_instance_t *instance; member in struct:scfutilhandle 72 * service instance related defines
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | sysevent_events.c | 54 * - 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 D | misc.c | 76 * 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 D | netract_gen.h | 64 int instance; /* instance of this type */ member in struct:envctrl_fan
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_dim.c | 34 * 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 D | events.c | 58 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 D | hci1394_misc.c | 53 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 D | HBAList.cc | 43 * @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 D | Sun_sasGetPhyStatistics.c | 47 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 D | pv_sd.c | 72 int instance = ddi_get_instance(dip); local 102 info.dki_unit = instance;
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_cmd.c | 50 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 D | ioat_ioctl.c | 65 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 D | rge_kstats.c | 95 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,
|