Lines Matching defs:segment
405 * Find the handle of the segment node "segment".
406 * also returns the hardware description of this segment. (read from the
408 * If the ign_cor_flg is set this will still succeed even if the segment is
414 get_segment_node(picl_nodehdl_t handle, const char *segment,
449 if (strcmp(segment, name) == 0) {
452 /* NUM_TAGS prop exists iff segment is OK */
491 * For the section handle passed add to list all the segment names found.
518 /* get the first segment */
645 * for every section which has a ADD_SEGMENT_PROP try and add the segment
813 * From the handle, segment name, tag, and instance of the tag get me:
814 * segHdl: The segment handle for this segment.
818 get_tag_handle(picl_nodehdl_t handle, const char *segment,
831 if ((err = get_segment_node(TREEHDL_TO_PICLHDL(handle), segment,
962 int (*function)(fru_treeseghdl_t segment, void *args),
970 section, segment;
1000 /* process each segment */
1003 &segment,
1004 sizeof (segment));
1006 status = ptree_get_propval_by_name(segment,
1008 &segment,
1009 sizeof (segment))) {
1011 if (cmp_class_name(segment, PICL_CLASS_SEGMENT)
1014 if ((status = function(PICLHDL_TO_TREESEGHDL(segment),
1031 fpt_get_segment_name(fru_treeseghdl_t segment, char **name)
1042 if ((status = ptree_get_prop_by_name(TREESEGHDL_TO_PICLHDL(segment),
1079 picl_nodehdl_t segment = TREESEGHDL_TO_PICLHDL(treesegment);
1090 if ((status = ptree_get_propval_by_name(segment, PICL_PROP_DESCRIPTOR,
1101 if ((status = ptree_get_propval_by_name(segment, PICL_PROP_PACKET_TABLE,