Home
last modified time | relevance | path

Searched refs:fru_nodehdl_t (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libfru/include/
H A Dlibfru.h91 typedef uint64_t fru_nodehdl_t; typedef
235 fru_errno_t fru_get_root(fru_nodehdl_t *handle);
236 fru_errno_t fru_get_child(fru_nodehdl_t handle, fru_nodehdl_t *child);
237 fru_errno_t fru_get_peer(fru_nodehdl_t handle, fru_nodehdl_t *peer);
238 fru_errno_t fru_get_parent(fru_nodehdl_t handle, fru_nodehdl_t *parent);
241 fru_errno_t fru_get_name_from_hdl(fru_nodehdl_t handle, char **name);
242 fru_errno_t fru_get_node_type(fru_nodehdl_t handle, fru_node_t *type);
245 fru_errno_t fru_list_segments(fru_nodehdl_t container, fru_strlist_t *list);
246 fru_errno_t fru_create_segment(fru_nodehdl_t container, fru_segdef_t *def);
247 fru_errno_t fru_remove_segment(fru_nodehdl_t container, const char *seg_name);
[all …]
H A Dlibfrup.h47 typedef void (*end_node_fp_t)(fru_nodehdl_t node, const char *path,
57 extern fru_errno_t fru_walk_tree(fru_nodehdl_t node, const char *prior_path,
58 fru_errno_t (*process_node)(fru_nodehdl_t node,
67 extern fru_errno_t fru_for_each_segment(fru_nodehdl_t node,
/illumos-gate/usr/src/lib/libfru/libfru/
H A Dlibfru.cc80 #define TREEHDL_TO_NODEHDL(treehdl) (fru_nodehdl_t)treehdl
88 fru_nodehdl_t handle;
194 find_cont_lock(fru_nodehdl_t handle) in find_cont_lock()
210 alloc_cont_lock(fru_nodehdl_t handle) in alloc_cont_lock()
227 lock_container(lock_mode_t mode, fru_nodehdl_t handle) in lock_container()
273 unlock_container(fru_nodehdl_t handle) in unlock_container()
428 segment_is_encrypted(fru_nodehdl_t container, const char *seg_name) in segment_is_encrypted()
449 get_seg_list_from_ds(fru_nodehdl_t node, fru_strlist_t *list) in get_seg_list_from_ds()
504 fru_get_root(fru_nodehdl_t *handle) in fru_get_root()
521 fru_get_child(fru_nodehdl_t handle, fru_nodehdl_t *child) in fru_get_child()
[all …]
/illumos-gate/usr/src/cmd/fruadm/
H A Dfruadm.c276 print_node_data(fru_nodehdl_t cont_hdl) in print_node_data()
384 convert_update(fru_nodehdl_t nodehdl, char *segment, char *field_name, in convert_update()
468 update_unixtimestamp(fru_nodehdl_t nodehdl, char *segment, char **ptr) in update_unixtimestamp()
500 create_segment(fru_nodehdl_t nodehdl) in create_segment()
542 updateiter_record(fru_nodehdl_t nodehdl, int cnt, char **ptr, in updateiter_record()
627 update_field(fru_nodehdl_t nodehdl, char *field_name, char *field_value) in update_field()
768 update_node_data(fru_nodehdl_t node) in update_node_data()
786 walk_tree(fru_nodehdl_t node, const char *prior_path, int process_tree) in walk_tree()
790 fru_nodehdl_t next_node; in walk_tree()
866 fru_nodehdl_t root; in main()
/illumos-gate/usr/src/cmd/prtfru/
H A Dprtfru.c1144 end_location_xml(fru_nodehdl_t node, const char *path, const char *name, in end_location_xml()
1156 end_fru_xml(fru_nodehdl_t node, const char *path, const char *name, void *args) in end_fru_xml()
1167 end_container_xml(fru_nodehdl_t node, const char *path, const char *name, in end_container_xml()
1205 process_node(fru_nodehdl_t node, const char *path, const char *name, in process_node()
1254 process_matching_node(fru_nodehdl_t node, const char *path, const char *name, in process_matching_node()
1305 fru_nodehdl_t frutree = 0; in prtfru()
/illumos-gate/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c353 convert_fru(fru_nodehdl_t hdl, nvlist_t **nvlist) in convert_fru()
389 fru_nodehdl_t hdl; in rawfru_to_nvlist()
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c423 frt_for_each_segment(fru_nodehdl_t node, in frt_for_each_segment()