Searched refs:hp_callback (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libhotplug/common/
H A Dlibhotplug.h76 int (*hp_callback)(hp_node_t, void *arg));
H A Dlibhotplug.c171 hp_traverse(hp_node_t root, void *arg, int (*hp_callback)(hp_node_t, void *arg)) argument
176 i_hp_dprintf("hp_traverse: root=%p, arg=%p, hp_callback=%p\n",
177 (void *)root, arg, (void *)hp_callback);
180 if ((root == NULL) || (hp_callback == NULL)) {
187 rv = hp_callback(node, arg);
195 if (hp_traverse(node->hp_child, arg, hp_callback) ==
/osnet-11/usr/src/lib/libdevinfo/
H A Dlibdevinfo.h343 int (*hp_callback)(di_node_t node, di_hp_t hp,
H A Ddevinfo.c2716 int (*hp_callback)(di_node_t, di_hp_t, void *); member in struct:__anon1521
2746 if (arg->hp_callback(node, hp, arg->arg) != DI_WALK_CONTINUE)
2755 int (*hp_callback)(di_node_t node, di_hp_t hp, void *arg))
2768 if ((node == DI_NODE_NIL) || (hp_callback == NULL)) {
2783 walk_arg.hp_callback = hp_callback;

Completed in 44 milliseconds