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

123

/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
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);
H A Dx86pi_bboard.c61 int instance, int psmb_id)
122 instance = bb_cnt.cpuboard++;
125 instance = bb_cnt.ioboard++;
128 instance = bb_cnt.memboard++;
131 instance = bb_cnt.motherboard++;
148 instance = bb_cnt.systemboard++;
155 bb_hcfmri.instance = instance;
165 topo_mod_dprintf(mod, "%s: instance (%d)\n", f, bb_hcfmri.instance);
60 x86pi_gen_bboard(topo_mod_t *mod, tnode_t *t_parent, int smb_id, int instance, int psmb_id) argument
[all...]
H A Dx86pi_bay.c286 * The max_inst_exp_bay value indicates that the max instance
407 * instance nubmer is returned to the max inst var.
420 "%s: done. Max instance for expander attached bays: %d.\n", f,
430 * 'chassis' topo parent node and the current 'bay' instance.
462 int instance)
498 hcfmri.instance = instance;
509 f, BAY, instance);
461 x86pi_gen_sata_bay(topo_mod_t *mod, tnode_t *t_parent, smbios_port_ext_t *eport, int instance) argument
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/
H A Dgfxmenu.c55 struct grub_menu_viewer *instance; local
63 instance = grub_zalloc (sizeof (*instance));
64 if (!instance)
83 grub_free (instance);
106 instance->data = view;
107 instance->set_chosen_entry = grub_gfxmenu_set_chosen_entry;
108 instance->fini = grub_gfxmenu_viewer_fini;
109 instance->print_timeout = grub_gfxmenu_print_timeout;
110 instance
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_common.c208 topo_instance_t instance = bayp->inst; local
212 topo_mod_dprintf(mod, "%s: parent node (%s) instance(%d)\n",
213 f, topo_node_name(pnode), instance);
220 FM_HC_SCHEME_VERSION, BAY, instance, NULL, auth, NULL, NULL, NULL);
229 *tnode = topo_node_bind(mod, pnode, BAY, instance, fmri);
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c32 * This file contains interfaces to translate <driver><instance><minorname>
34 * the kernel instance tree so that it can provide translations for devices
74 di_dim_path_devices(di_dim_t dim, char *drv_name, int instance, argument
86 /* find the length of the devices path given major,instance */
87 if (modctl(MODGETDEVFSPATH_MI_LEN, major, instance, &len) != 0)
101 if (modctl(MODGETDEVFSPATH_MI, major, instance, len, devices) != 0) {
127 di_dim_path_dev(di_dim_t dim, char *drv_name, int instance, char *minor_name) argument
137 /* convert <driver><instance><minor_name> to /devices path */
138 devices = di_dim_path_devices(dim, drv_name, instance, minor_name);
/osnet-11/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);
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c176 int32_t *instance = NULL; local
397 DDI_INSTANCE, &instance, &nelem);
410 if ((NULL != instance) & (NULL != major)) {
417 *val = MP_STORE_INST_TO_ID(*instance, *val);
/osnet-11/usr/src/lib/sun_fc/common/
H A DHBAList.cc37 * @memo Private constructor (used to create singleton instance)
38 * @see HBAList::instance
43 * Internal singleton instance
67 * @memo Fetch the singleton instance
68 * @return The singleton instance
70 * @doc Only one instance of HBAList must be present
74 HBAList* HBAList::instance() { function in class:HBAList
75 Trace log("HBAList::instance");
H A DFCSyseventBridge.cc241 // All events of this class type have instance and port-wwn for
243 uint32_t instance; local
244 if (nvlist_lookup_uint32(list, (char *)"instance",
245 &instance)) {
247 "Improperly formed event: no instance field.");
265 // Create event instance
288 // Create event instance
369 // Create event instance
403 // Create event instance
434 // Create event instance
[all...]
/osnet-11/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);
/osnet-11/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);
H A Derie.c400 * network devices and returns the instance# of that
496 int instance; local
498 /* Figure out NAC name and instance, if onboard network node */
500 instance = erie_get_network_instance(path);
502 "NET", instance);
H A Dontario.c163 int32_t instance; local
215 instance = ontario_get_network_instance(path);
219 "NET", instance);
H A Dstpaul.c82 int32_t instance; local
134 instance = stpaul_get_network_instance(path);
137 MOTHERBOARD, "NET", instance);
161 instance = stpaul_get_usb_instance(path);
162 if (instance != -1)
165 MOTHERBOARD, "USB", instance);
169 if ((instance = stpaul_get_io_instance(path, &pn_type)) != -1) {
173 MOTHERBOARD, "PCI-EM", instance);
177 MOTHERBOARD, "NEM", instance);
/osnet-11/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
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c131 int32_t instance; local
185 instance = montoya_get_network_instance(path);
189 "NET", instance);
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c158 int32_t instance; local
222 instance = monza_get_network_instance(path);
226 "NET", instance);
/osnet-11/usr/src/lib/libshare_plugins/autofs/
H A Dlibshare_autofs.c386 char *instance = NULL; local
401 ret = autofs_smf_get_prop(name, value, instance,
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_scfutil.c59 * Create a service instance. returns 0 if successful.
60 * If instance already exists enable it.
66 char *instance; local
77 instance = malloc(sz);
78 if (instance == NULL)
81 (void) snprintf(instance, sz, "%s:%s", serv_prefix, inst_name);
92 if (smf_enable_instance(instance, 0))
95 free(instance);
100 * Delete a specified instance. Return SMBD_SMF_OK for success.
128 * create a new property group at instance leve
[all...]
/osnet-11/usr/src/lib/libkstat/common/
H A Dkstat.c51 int instance; member in struct:kstat_hashed_records
110 kstat_record_hash(char *name, char *module, int instance, char **tmp_name, argument
125 if (!module || instance < 0)
136 snprintf(tmp, len, "%s_%d", module, instance);
143 if (instance > 0)
144 val += KSP_INST_HASH(instance);
181 if (ks_instance < 0 || hash_entry->instance ==
243 ks_entry->instance = ksp->ks_instance;
/osnet-11/usr/src/lib/libpower/common/
H A Dpm_smf.c90 pm_smf_listprop(nvlist_t **result, const char *instance) argument
102 props = scf_simple_app_props_get(NULL, instance);
188 pm_smf_setprop(nvpair_t *nvp, const char *instance) argument
203 props = scf_simple_app_props_get(NULL, instance);
243 "%s could not find SMF property %s instance %s\n",
244 __FUNCTION__, propname, instance);
272 err = pm_smf_write(instance, scf_simple_prop_pgname(prop), propvec);
285 pm_smf_write(const char *instance, const char *pgname, scf_propvec_t *propvec) argument
291 err = scf_write_propvec(instance, pgname, propvec, &errprop);
386 pm_smf_add_pgname(nvlist_t *result, const char *instance) argument
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlib.c256 uint_t instance; local
263 * correct instance number of the IP over IB driver instance.
270 * Get the instance number of the IP over IB driver instance which
273 if (!dlparse_drvppa(dpa.dp_dev, NULL, 0, &instance))
284 ioc.ibdioc.ioc_port_inst = instance;
305 ioc.ibdioc.ioc_port_inst = instance;
462 * Get the instance number of the IP over IB driver instance whic
[all...]
/osnet-11/usr/src/lib/fm/libasr/common/
H A Dasr_scf.c300 scf_instance_t *instance = NULL; local
308 (instance = scf_instance_create(handle)) == NULL) {
315 handle, fmri, NULL, service, instance, NULL, NULL, 0)) == -1) {
326 if ((err = scf_instance_get_pg(instance, pgname, pg)) == -1) {
328 instance, pgname, "application", 0, pg) != SCF_SUCCESS) {
368 scf_instance_destroy(instance);

Completed in 51 milliseconds

123