Searched refs:fru_treehdl_t (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libfru/include/ |
H A D | libfruds.h | 42 typedef uint64_t fru_treehdl_t; typedef 54 fru_errno_t (*get_root)(fru_treehdl_t *root); 55 fru_errno_t (*get_child)(fru_treehdl_t parent, fru_treehdl_t *child); 56 fru_errno_t (*get_peer)(fru_treehdl_t sibling, fru_treehdl_t *peer); 57 fru_errno_t (*get_parent)(fru_treehdl_t child, fru_treehdl_t *parent); 60 fru_errno_t (*get_name_from_hdl)(fru_treehdl_t node, char **name); 61 fru_errno_t (*get_node_type)(fru_treehdl_t node, fru_node_t *type); 64 fru_errno_t (*get_seg_list)(fru_treehdl_t container, fru_strlist_t *list); 65 fru_errno_t (*get_seg_def)(fru_treehdl_t container, const char *seg_name, 67 fru_errno_t (*add_seg)(fru_treehdl_t container, fru_segdef_t *def); [all …]
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 45 treehdl_to_rawlist(fru_treehdl_t handle) in treehdl_to_rawlist() 52 treehdl_to_conthdl(fru_treehdl_t handle) in treehdl_to_conthdl() 155 frt_get_root(fru_treehdl_t *node) in frt_get_root() 164 frt_get_peer(fru_treehdl_t sibling, fru_treehdl_t *peer) in frt_get_peer() 170 frt_get_child(fru_treehdl_t handle, fru_treehdl_t *child) in frt_get_child() 177 frt_get_parent(fru_treehdl_t handle, fru_treehdl_t *parent) in frt_get_parent() 184 frt_get_name_from_hdl(fru_treehdl_t handle, char **name) in frt_get_name_from_hdl() 192 frt_get_node_type(fru_treehdl_t node, fru_node_t *type) in frt_get_node_type() 249 frt_get_seg_list(fru_treehdl_t handle, fru_strlist_t *list) in frt_get_seg_list() 338 find_segment(fru_treehdl_t handle, const char *seg_name, int *prot_flg, in find_segment() [all …]
|
H A D | fruraw.h | 57 fru_treehdl_t hdl;
|
/illumos-gate/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 41 #define PICLHDL_TO_TREEHDL(piclhdl) ((fru_treehdl_t)piclhdl) 131 fpt_get_name_from_hdl(fru_treehdl_t node, char **name) in fpt_get_name_from_hdl() 224 fpt_get_root(fru_treehdl_t *node) in fpt_get_root() 255 fpt_get_peer(fru_treehdl_t sibling, fru_treehdl_t *peer) in fpt_get_peer() 273 fpt_get_child(fru_treehdl_t handle, fru_treehdl_t *child) in fpt_get_child() 288 fpt_get_parent(fru_treehdl_t handle, fru_treehdl_t *parent) in fpt_get_parent() 310 fpt_get_node_type(fru_treehdl_t node, fru_node_t *type) in fpt_get_node_type() 543 fpt_get_seg_list(fru_treehdl_t handle, fru_strlist_t *list) in fpt_get_seg_list() 579 fpt_get_seg_def(fru_treehdl_t handle, const char *seg_name, fru_segdef_t *def) in fpt_get_seg_def() 625 fpt_add_seg(fru_treehdl_t handle, fru_segdef_t *def) in fpt_add_seg() [all …]
|
/illumos-gate/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 46 #define PICLHDL_TO_TREEHDL(piclhdl) ((fru_treehdl_t)piclhdl) 143 fpt_get_name_from_hdl(fru_treehdl_t node, char **name) in fpt_get_name_from_hdl() 235 fpt_get_root(fru_treehdl_t *node) in fpt_get_root() 266 fpt_get_peer(fru_treehdl_t sibling, fru_treehdl_t *peer) in fpt_get_peer() 284 fpt_get_child(fru_treehdl_t handle, fru_treehdl_t *child) in fpt_get_child() 299 fpt_get_parent(fru_treehdl_t handle, fru_treehdl_t *parent) in fpt_get_parent() 321 fpt_get_node_type(fru_treehdl_t node, fru_node_t *type) in fpt_get_node_type() 554 fpt_get_seg_list(fru_treehdl_t handle, fru_strlist_t *list) in fpt_get_seg_list() 590 fpt_get_seg_def(fru_treehdl_t handle, const char *seg_name, fru_segdef_t *def) in fpt_get_seg_def() 636 fpt_add_seg(fru_treehdl_t handle, fru_segdef_t *def) in fpt_add_seg() [all …]
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 79 #define NODEHDL_TO_TREEHDL(nodehdl) (fru_treehdl_t)nodehdl 507 fru_treehdl_t tr_root; in fru_get_root() 524 fru_treehdl_t tr_child; in fru_get_child() 576 fru_treehdl_t tr_peer = NODEHDL_TO_TREEHDL(handle); in fru_get_peer() 607 fru_treehdl_t tr_parent; in fru_get_parent()
|