Lines Matching defs:handle

84 update_data_nodes(picl_nodehdl_t handle)
89 if ((picl_err = picl_set_propval_by_name(handle,
104 get_strprop_by_name(picl_nodehdl_t handle, char *prop_name, char **string)
111 if ((picl_err = picl_get_propinfo_by_name(handle, prop_name,
138 picl_nodehdl_t handle = TREEHDL_TO_PICLHDL(node);
141 if ((picl_err = get_strprop_by_name(handle, PICL_PROP_NAME,
147 if ((picl_err = get_strprop_by_name(handle, PICL_PROP_LABEL,
260 picl_nodehdl_t handle = TREEHDL_TO_PICLHDL(sibling);
263 rc = picl_get_propval_by_name(handle, PICL_PROP_PEER,
275 fpt_get_child(fru_treehdl_t handle, fru_treehdl_t *child)
278 int rc = picl_get_propval_by_name(TREEHDL_TO_PICLHDL(handle),
290 fpt_get_parent(fru_treehdl_t handle, fru_treehdl_t *parent)
296 if (TREEHDL_TO_PICLHDL(handle) == picl_root_node) {
300 rc = picl_get_propval_by_name(TREEHDL_TO_PICLHDL(handle),
316 picl_nodehdl_t handle = TREEHDL_TO_PICLHDL(node);
318 if ((rc = picl_get_propval_by_name(handle, PICL_PROP_CLASSNAME,
331 if (picl_get_prop_by_name(handle,
394 * Find the handle of the segment node "segment".
403 get_segment_node(picl_nodehdl_t handle, const char *segment,
409 if ((err = update_data_nodes(handle)) != FRU_SUCCESS) {
413 if ((err = find_first_section(handle, &sect_node)) != FRU_SUCCESS) {
480 * For the section handle passed add to list all the segment names found.
545 fpt_get_seg_list(fru_treehdl_t handle, fru_strlist_t *list)
553 if ((err = update_data_nodes(TREEHDL_TO_PICLHDL(handle)))
558 if ((err = find_first_section(TREEHDL_TO_PICLHDL(handle), &sect_node))
581 fpt_get_seg_def(fru_treehdl_t handle, const char *seg_name, fru_segdef_t *def)
593 if ((err = get_segment_node(TREEHDL_TO_PICLHDL(handle), seg_name,
627 fpt_add_seg(fru_treehdl_t handle, fru_segdef_t *def)
636 if ((err = find_first_section(TREEHDL_TO_PICLHDL(handle), &section))
658 fpt_delete_seg(fru_treehdl_t handle, const char *seg_name)
667 if ((err = get_segment_node(TREEHDL_TO_PICLHDL(handle), seg_name,
679 fpt_add_tag_to_seg(fru_treehdl_t handle, const char *seg_name,
691 if ((err = get_segment_node(TREEHDL_TO_PICLHDL(handle), seg_name,
728 fpt_get_tag_list(fru_treehdl_t handle, const char *seg_name,
742 if ((err = get_segment_node(TREEHDL_TO_PICLHDL(handle), seg_name,
801 * From the handle, segment name, tag, and instance of the tag get me:
802 * segHdl: The segment handle for this segment.
803 * tagHdl: tag property handle in the tag table for this instance "tag"
806 get_tag_handle(picl_nodehdl_t handle, const char *segment,
819 if ((err = get_segment_node(TREEHDL_TO_PICLHDL(handle), segment,
851 fpt_get_tag_data(fru_treehdl_t handle, const char *seg_name,
863 if ((err = get_tag_handle(TREEHDL_TO_PICLHDL(handle), seg_name,
892 fpt_set_tag_data(fru_treehdl_t handle, const char *seg_name,
902 if ((rc = get_tag_handle(TREEHDL_TO_PICLHDL(handle), seg_name,
922 fpt_delete_tag(fru_treehdl_t handle, const char *seg_name, fru_tag_t tag,
931 /* get tag handle */
932 if ((rc = get_tag_handle(TREEHDL_TO_PICLHDL(handle), seg_name,