Searched refs:pnode (Results 26 - 50 of 64) sorted by relevance

123

/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_prop.c800 zpropdef_node_t *pnode; /* property or previous sublist node */ local
811 pnode = zfs_alloc(table->zpt_libzfs, sizeof (zpropdef_node_t));
814 pnode->zpd_d.zpd_name = name;
823 pnode->zpd_d.zpd_deleg = zfs_strdup(table->zpt_libzfs,
827 pnode->zpd_d.zpd_values_list = NULL;
828 pnode->zpd_d.zpd_nvalues = 0;
839 pnode->zpd_d.zpd_nvalues = nvalues;
848 pnode->zpd_d.zpd_values_list = (const void *)values;
850 pnode->zpd_d.zpd_owner = zfs_strdup(table->zpt_libzfs, owner);
852 pnode
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_subr.c63 di_path_t pnode = DI_PATH_NIL; local
67 rv = find_child(mod, bp->hba_dnode, &cnode, &pnode, bp->phy);
79 rv = get_str_prop(cnode, pnode, SCSI_ADDR_PROP_TARGET_PORT, tgt_port);
141 di_path_t pnode = DI_PATH_NIL; local
151 while ((pnode = di_path_phci_next_path(dnode, pnode)) != DI_PATH_NIL) {
152 if (get_phy(DI_NODE_NIL, pnode) == phy) {
153 bcopy(&pnode, pn, sizeof (di_path_t));
246 gen_oc(topo_mod_t *mod, di_node_t dnode, di_path_t pnode) argument
258 if (pnode !
[all...]
H A Dbay_fac.c325 bay_fac_generic(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
334 tn = topo_node_facbind(mod, pnode, name, type);
361 bay_add_indicator(topo_mod_t *mod, tnode_t *pnode, int type, argument
371 tn = bay_fac_generic(mod, pnode, name, TOPO_FAC_TYPE_INDICATOR);
438 bay_add_sensor_common(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
447 tn = bay_fac_generic(mod, pnode, name, TOPO_FAC_TYPE_SENSOR);
482 bay_add_sensor(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
492 tn = bay_add_sensor_common(mod, pnode, name,
H A Dbay.c169 di_path_t pnode = DI_PATH_NIL; local
171 rv = find_child(mod, bp->hba_dnode, &cnode, &pnode, bp->phy);
225 di_path_t pnode = DI_PATH_NIL; local
229 rv = find_child(mod, bp->hba_dnode, &cnode, &pnode, bp->phy);
244 path = gen_oc(mod, cnode, pnode);
252 } else if (pnode != DI_PATH_NIL) {
253 path = di_path_devfs_path(pnode);
353 bay_gen_bay(topo_mod_t *mod, tnode_t *pnode, bay_t *bp) argument
367 rv = bay_create_tnode(mod, pnode, &bay_tn, bp);
498 bay_create_xch(topo_mod_t *mod, topo_instance_t instance, tnode_t *pnode, argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/hostbridge/common/
H A Dhb_sun4v.c54 di_node_t pnode; local
62 pnode = di_drv_first_node(PX, devtree);
63 while (pnode != DI_NODE_NIL) {
64 if (busorrc_add(mod, &rcs, pnode) < 0) {
69 pnode = di_drv_next_node(pnode);
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dcpu.c62 get_cpu_freq(Prom_node *pnode) argument
68 if ((prop = find_prop(pnode, "clock-frequency")) == NULL) {
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dfmd.c94 fmd_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, argument
102 (void) topo_method_register(mod, pnode, fmd_methods);
H A Dlegacy_hc.c96 legacy_hc_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
99 (void) topo_method_register(mod, pnode, legacy_hc_methods);
H A Dpkg.c92 pkg_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
100 (void) topo_method_register(mod, pnode, pkg_methods);
H A Dmem.c101 mem_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
113 (void) topo_method_register(mod, pnode, mem_methods);
123 if (isglobal && topo_mod_enumerate(nmp, pnode, PLATFORM_MEM_NAME, name,
129 (void) topo_method_register(mod, pnode, mem_methods);
H A Dtopo_mod.c303 topo_mod_hcfmri(topo_mod_t *mod, tnode_t *pnode, int version, const char *name, argument
318 if (pnode != NULL || auth != NULL || part != NULL || rev != NULL ||
324 if (pnode != NULL) {
325 if (topo_node_resource(pnode, &pfmri, &err) < 0) {
1061 topo_mod_auth(topo_mod_t *mod, tnode_t *pnode) argument
1076 (void) topo_prop_get_string(pnode, FM_FMRI_AUTHORITY,
1078 (void) topo_prop_get_string(pnode, FM_FMRI_AUTHORITY,
1080 (void) topo_prop_get_string(pnode, FM_FMRI_AUTHORITY,
1082 (void) topo_prop_get_string(pnode, FM_FMRI_AUTHORITY,
1084 (void) topo_prop_get_string(pnode, FM_FMRI_AUTHORIT
[all...]
H A Dcpu.c215 cpu_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
229 if (topo_node_range_create(mod, pnode, name, 0,
238 (void) topo_method_register(mod, pnode, cpu_methods);
239 return (cpu_create(mod, pnode, name, min, max, cpuip));
251 if (topo_mod_enumerate(nmp, pnode, PLATFORM_CPU_NAME, name,
259 (void) topo_method_register(mod, pnode, cpu_methods);
H A Dsvc.c161 svc_create_node(topo_mod_t *mod, tnode_t *pnode, char *fmristr) argument
203 if (topo_node_range_create(mod, pnode, fmristr, 0, 0) < 0) {
209 if ((tn = topo_node_bind(mod, pnode, fmristr, 0, fmri)) == NULL) {
229 svc_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
243 (void) topo_method_register(mod, pnode, svc_methods);
275 if ((svc_node = svc_create_node(mod, pnode, sfmri)) == NULL) {
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c503 tnode_t *pnode = topo_node_parent(tn); local
505 while (pnode && (strcmp(topo_node_name(pnode), mod_name) != 0)) {
506 pnode = topo_node_parent(pnode);
508 return (pnode);
514 tnode_t *pnode = NULL; local
518 if ((pnode = find_predecessor(tn, mod_name)) == NULL)
520 if ((pnode = topo_node_parent(pnode))
534 tnode_t *pnode = NULL; local
[all...]
H A Dpcibus_labels.c418 tnode_t *pnode; local
443 pnode = did_gettnode(dp);
444 pdp = did_find(mod, topo_node_getspecific(pnode));
471 tnode_t *pnode; local
486 pnode = did_gettnode(dp);
487 pdp = did_find(mod, topo_node_getspecific(pnode));
492 if (pci_slot_label_lookup(mod, pnode, dp, pdp) != NULL) {
H A Dpcibus_hba.c251 pci_receptacle_instantiate(topo_mod_t *mod, tnode_t *parent, di_node_t pnode) argument
258 rcnt = di_prop_lookup_strings(DDI_DEV_T_ANY, pnode,
260 if ((lcnt = di_prop_lookup_strings(DDI_DEV_T_ANY, pnode,
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/pcibus/common/
H A Dpci_sun4v.c105 tnode_t *pnode; local
156 pnode = did_gettnode(dp);
157 pdp = did_find(mod, topo_node_getspecific(pnode));
162 if ((label = pci_slot_label_lookup(mod, pnode, dp, pdp))
/osnet-11/usr/src/lib/fm/topo/modules/common/ipmi/common/
H A Dipmi_enum.c248 tnode_t *pnode = edp->ed_pnode; local
283 if (edp->ed_create_range && topo_node_range_create(mod, pnode,
291 if ((auth = topo_mod_auth(mod, pnode)) == NULL) {
297 if ((fmri = topo_mod_hcfmri(mod, pnode, FM_HC_SCHEME_VERSION,
308 if ((tn = topo_node_bind(mod, pnode, edp->ed_name,
425 if (strcmp(topo_node_name(pnode), CHASSIS) == 0 ||
434 if (topo_node_fru(pnode, &fmri, NULL, &err) != 0) {
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c1200 addPolicyNode(xmlNodePtr pnode, KMF_POLICY_RECORD *policy) argument
1204 if (pnode != NULL && policy != NULL) {
1205 if (newprop(pnode, KMF_POLICY_NAME_ATTR, policy->name) != 0) {
1210 if (newprop(pnode, KMF_OPTIONS_IGNORE_DATE_ATTR,
1218 if (newprop(pnode, KMF_OPTIONS_IGNORE_UNKNOWN_EKUS,
1226 if (newprop(pnode, KMF_OPTIONS_IGNORE_TRUST_ANCHOR,
1234 if (newprop(pnode, KMF_OPTIONS_VALIDITY_ADJUSTTIME,
1241 if (newprop(pnode, KMF_POLICY_TA_NAME_ATTR,
1247 if (newprop(pnode, KMF_POLICY_TA_SERIAL_ATTR,
1254 addFormatting(pnode, "\
1410 xmlNodePtr pnode; local
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/
H A Dses_facility.c458 ses_add_fac_common(topo_mod_t *mod, tnode_t *pnode, const char *name, argument
464 ses_enum_target_t *stp = topo_node_getspecific(pnode);
466 if ((tn = topo_node_facbind(mod, pnode, name, type)) == NULL) {
521 ses_add_indicator(topo_mod_t *mod, tnode_t *pnode, uint64_t nodeid, argument
529 if ((tn = ses_add_fac_common(mod, pnode, name,
584 ses_add_sensor_common(topo_mod_t *mod, tnode_t *pnode, uint64_t nodeid, argument
591 if ((tn = ses_add_fac_common(mod, pnode, name,
623 ses_add_sensor(topo_mod_t *mod, tnode_t *pnode, uint64_t nodeid, argument
630 if ((tn = ses_add_sensor_common(mod, pnode, nodeid, name,
692 ses_add_discrete(topo_mod_t *mod, tnode_t *pnode, uint64_ argument
729 ses_add_psu_status(topo_mod_t *mod, tnode_t *pnode, uint64_t nodeid) argument
[all...]
H A Dses.c1076 ses_create_disk(ses_enum_data_t *sdp, tnode_t *pnode, nvlist_t *props) argument
1091 if ((topo_pgroup_create(pnode, &binding_pgroup, &err) != 0) &&
1117 if (topo_prop_get_string_array(pnode, TOPO_PGROUP_SES,
1129 if (topo_prop_set_string(pnode,
1146 if (topo_prop_set_string(pnode,
1156 if (topo_prop_set_string_array(pnode, TOPO_PGROUP_BINDING,
1170 if (topo_node_range_create(mod, pnode, DISK, 0, 0) != 0) {
1187 err = topo_mod_enumerate(mod, pnode, DISK, DISK, 0, 0, NULL);
1192 for (child = topo_child_first(pnode); child != NULL;
1193 child = topo_child_next(pnode, chil
1473 ses_create_generic(ses_enum_data_t *sdp, ses_enum_chassis_t *cp, ses_enum_node_t *snp, tnode_t *pnode, tnode_t *frutn, const char *nodename, const char *labelname, tnode_t **node) argument
2183 ses_create_esc_sasspecific(ses_enum_data_t *sdp, ses_enum_node_t *snp, tnode_t *pnode, ses_enum_chassis_t *cp, boolean_t dorange) argument
2450 ses_create_protocol_specific(ses_enum_data_t *sdp, ses_enum_node_t *snp, tnode_t *pnode, uint64_t type, ses_enum_chassis_t *cp, boolean_t dorange) argument
2468 ses_create_children(ses_enum_data_t *sdp, tnode_t *pnode, uint64_t type, const char *nodename, const char *defaultlabel, ses_enum_chassis_t *cp, boolean_t dorange) argument
2549 ses_create_subchassis(ses_enum_data_t *sdp, tnode_t *pnode, ses_enum_chassis_t *scp) argument
2972 ses_enumerate_node(ses_enum_data_t *sdp, tnode_t *pnode, ses_enum_chassis_t *cp, ses_phys_tree_t *parent, int mrange[]) argument
3059 ses_create_children_from_phys_tree(ses_enum_data_t *sdp, tnode_t *pnode, ses_enum_chassis_t *cp, ses_phys_tree_t *phys_tree) argument
3170 ses_genenum_internal_drive(ses_enum_data_t *sdp, tnode_t *pnode, ses_enum_chassis_t *cp, int *max_internal_inst) argument
3287 ses_create_chassis(ses_enum_data_t *sdp, tnode_t *pnode, ses_enum_chassis_t *cp) argument
3647 ses_create_bays(ses_enum_data_t *sdp, tnode_t *pnode) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi.c279 tnode_t *pnode = NULL; local
387 bb_smbid = x86pi_bb_topparent(mod, nbb, &pnode, &psmbid);
388 if (bb_smbid == -1 || pnode == NULL) {
410 basebd_node = x86pi_gen_bboard(mod, pnode, bb_smbid,
H A Dx86pi_bboard.c248 x86pi_bb_topparent(topo_mod_t *mod, int index, tnode_t **pnode, id_t *psmbid) argument
270 *pnode = stypes[SMB_TYPE_CHASSIS].ids[i].node;
283 *pnode =
292 i, pnode, psmbid);
/osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/
H A Ddisk_common.c919 dev_di_node_add_pathinfo(dev_di_node_t *dnode, di_path_t pnode, argument
927 if (((path = di_path_devfs_path(pnode)) != NULL) &&
937 if (((di_path_prop_lookup_strings(pnode,
945 if (((di_path_prop_lookup_strings(pnode,
953 if (((di_path_prop_lookup_strings(pnode,
999 di_path_t pnode; local
1051 * pnode: /pci@7b,0/pci1022,7458@11/pci1000,3060@2/disk@2,0
1056 for (pnode = di_path_client_next_path(node, NULL); pnode;
1057 pnode
[all...]
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c440 Prom_node *pnode; local
453 pnode = dev_find_node(root, "openprom");
454 if (pnode != NULL) {
455 value = (char *)get_prop_val(find_prop(pnode, "version"));

Completed in 78 milliseconds

123