fc_device_tree
remove_subtree(dev_info_t *root, struct fc_device_tree *subtree)
struct fc_device_tree *subtree = fc_handle_to_dtree(rp);
struct fc_device_tree **
struct fc_device_tree *
struct fc_device_tree **head = fc_handle_to_dtree_head(rp);
fc_create_device_tree(dev_info_t *ap, struct fc_device_tree **head)
struct fc_device_tree *dp;
dp = kmem_zalloc(sizeof (struct fc_device_tree), KM_SLEEP);
fc_remove_subtree(struct fc_device_tree *dp)
struct fc_device_tree *np;
kmem_free(dp, sizeof (struct fc_device_tree));
fc_remove_device_tree(struct fc_device_tree **head)
fc_remove_device_tree(struct fc_device_tree **head)
struct fc_device_tree *dp;
kmem_free(dp, sizeof (struct fc_device_tree));
struct fc_device_tree *
fc_find_node(dev_info_t *dip, struct fc_device_tree *hp)
struct fc_device_tree *p;
fc_add_child(dev_info_t *child, dev_info_t *parent, struct fc_device_tree *hp)
struct fc_device_tree *p, *q;
q = kmem_zalloc(sizeof (struct fc_device_tree), KM_SLEEP);
fc_remove_child(dev_info_t *child, struct fc_device_tree *head)
struct fc_device_tree *p, *c, *n;
kmem_free(c, sizeof (struct fc_device_tree));
fc_child_node(dev_info_t *parent, struct fc_device_tree *hp)
struct fc_device_tree *p;
fc_peer_node(dev_info_t *devi, struct fc_device_tree *hp)
struct fc_device_tree *p;
struct fc_device_tree *child;
struct fc_device_tree *peer;
struct fc_device_tree *head);
void fc_remove_child(dev_info_t *child, struct fc_device_tree *head);
dev_info_t *fc_child_node(dev_info_t *parent, struct fc_device_tree *head);
dev_info_t *fc_peer_node(dev_info_t *devi, struct fc_device_tree *head);
struct fc_device_tree *fc_find_node(dev_info_t *, struct fc_device_tree *);
void fc_create_device_tree(dev_info_t *ap, struct fc_device_tree **head);
void fc_remove_device_tree(struct fc_device_tree **head);
struct fc_device_tree *dtree; /* Our subtree (leaf cookie only) */
struct fc_device_tree **fc_handle_to_dtree_head(fco_handle_t);
struct fc_device_tree *fc_handle_to_dtree(fco_handle_t);