Lines Matching refs:hp_node_t
40 static int i_hp_pack_branch(hp_node_t, char **, size_t *);
41 static int i_hp_pack_node(hp_node_t, char **, size_t *);
42 static int i_hp_unpack_node(char *, size_t, hp_node_t, hp_node_t *);
43 static int i_hp_unpack_branch(char *, size_t, hp_node_t, hp_node_t *);
47 static int i_hp_parse_results(nvlist_t *, hp_node_t *, char **);
59 hp_node_t
64 hp_node_t root = NULL;
123 hp_fini(hp_node_t root)
125 hp_node_t node;
126 hp_node_t sibling;
171 hp_traverse(hp_node_t root, void *arg, int (*hp_callback)(hp_node_t, void *arg))
174 hp_node_t node;
214 hp_type(hp_node_t node)
233 hp_name(hp_node_t node)
257 hp_state(hp_node_t node)
283 hp_state_priv(hp_node_t node)
315 hp_usage(hp_node_t node)
345 hp_description(hp_node_t node)
376 hp_driver(hp_node_t node)
406 hp_instance(hp_node_t node)
431 hp_last_change(hp_node_t node)
456 hp_node_t
457 hp_parent(hp_node_t node)
480 hp_node_t
481 hp_child(hp_node_t node)
504 hp_node_t
505 hp_sibling(hp_node_t node)
530 hp_path(hp_node_t node, char *path, char *connection)
532 hp_node_t root;
533 hp_node_t parent;
611 hp_state_ceiling(hp_node_t node)
643 hp_set_state_ceiling(hp_node_t node, int state, uint32_t *handlep,
644 hp_node_t *resultsp)
648 hp_node_t root;
716 hp_clear_state_ceiling(hp_node_t node, uint32_t handle, int flags,
717 hp_node_t *resultsp)
722 hp_node_t root;
781 hp_set_state(hp_node_t node, uint_t flags, int state, const char *state_priv,
782 hp_node_t *resultsp)
784 hp_node_t root = NULL;
867 hp_set_private(hp_node_t node, const char *options, char **resultsp)
927 hp_get_private(hp_node_t node, const char *options, char **resultsp)
986 hp_install(hp_node_t node, uint_t flags, hp_node_t *resultsp)
988 hp_node_t root = NULL;
1042 hp_uninstall(hp_node_t node, uint_t flags, hp_node_t *resultsp)
1044 hp_node_t root = NULL;
1093 hp_create_port(hp_node_t node, const char *cn_name, hp_node_t *resultsp)
1095 hp_node_t root = NULL;
1137 hp_remove_port(hp_node_t node, hp_node_t *resultsp)
1139 hp_node_t root = NULL;
1188 hp_pack(hp_node_t root, char **bufp, size_t *lenp)
1190 hp_node_t node;
1251 hp_unpack(char *packed_buf, size_t packed_len, hp_node_t *retp)
1253 hp_node_t root;
1254 hp_node_t root_list = NULL;
1255 hp_node_t prev_root = NULL;
1355 i_hp_pack_branch(hp_node_t root, char **bufp, size_t *lenp)
1357 hp_node_t child;
1414 i_hp_pack_node(hp_node_t node, char **bufp, size_t *lenp)
1488 i_hp_unpack_branch(char *packed_buf, size_t packed_len, hp_node_t parent,
1489 hp_node_t *retp)
1491 hp_node_t node = NULL;
1492 hp_node_t child;
1493 hp_node_t prev_child = NULL;
1567 i_hp_unpack_node(char *buf, size_t len, hp_node_t parent, hp_node_t *retp)
1569 hp_node_t node;
1584 if ((node = (hp_node_t)calloc(1, sizeof (struct hp_node))) == NULL) {
1866 i_hp_parse_results(nvlist_t *results, hp_node_t *rootp, char **optionsp)