Lines Matching refs:in_node_t

57 static void in_removenode(struct devnames *dnp, in_node_t *mp, in_node_t *ap);
58 static in_node_t *in_alloc_node(char *name, char *addr);
61 static in_node_t *in_devwalk(dev_info_t *dip, in_node_t **ap, char *addr);
62 static void in_dealloc_node(in_node_t *np);
63 static in_node_t *in_make_path(char *path);
64 static void in_enlist(in_node_t *ap, in_node_t *np);
67 static in_drv_t *in_drvwalk(in_node_t *np, char *binding_name);
69 static void in_endrv(in_node_t *np, in_drv_t *dp);
87 in_node_t *ins_root; /* the root of our instance tree */
544 in_node_t *ap, *np; in e_ddi_assign_instance()
629 mkpathname(char *path, in_node_t *np, int len) in mkpathname()
777 in_node_t *np; in e_ddi_free_instance()
778 in_node_t *ap; /* ancestor node */ in e_ddi_free_instance()
839 in_node_t *np, *ap; in e_ddi_keep_instance()
919 in_removenode(struct devnames *dnp, in_node_t *mp, in_node_t *ap) in in_removenode()
921 in_node_t *np; in in_removenode()
959 static in_node_t *
960 in_devwalk(dev_info_t *dip, in_node_t **ap, char *addr) in in_devwalk()
962 in_node_t *np; in in_devwalk()
1001 in_node_t *np; in in_pathin()
1053 static in_node_t *
1056 in_node_t *ap; /* ancestor pointer */ in in_make_path()
1057 in_node_t *np; /* working node pointer */ in in_make_path()
1058 in_node_t *rp; /* return node pointer */ in in_make_path()
1114 in_enlist(in_node_t *ap, in_node_t *np) in in_enlist()
1116 in_node_t *mp; in in_enlist()
1138 in_endrv(in_node_t *np, in_drv_t *dp) in in_endrv()
1190 static in_node_t *
1193 in_node_t *np; in in_alloc_node()
1208 cp = kmem_zalloc(sizeof (in_node_t) + namelen + strlen(addr) + 1, in in_alloc_node()
1210 np = (in_node_t *)cp; in in_alloc_node()
1212 np->in_node_name = cp + sizeof (in_node_t); in in_alloc_node()
1215 np->in_unit_addr = cp + sizeof (in_node_t) + namelen; in in_alloc_node()
1251 in_dealloc_node(in_node_t *np) in in_dealloc_node()
1258 kmem_free(np, sizeof (in_node_t) + strlen(np->in_node_name) in in_dealloc_node()
1420 in_drvwalk(in_node_t *np, char *binding_name) in in_drvwalk()
1507 in_node_t *
1517 in_walk_instances(in_node_t *np, char *path, char *this, in in_walk_instances() argument
1518 int (*f)(const char *, in_node_t *, in_drv_t *, void *), void *arg) in in_walk_instances()
1560 in_node_t *, in_drv_t *, void *), void *arg) in e_ddi_walk_instances() argument
1562 in_node_t *root; in e_ddi_walk_instances()
1578 in_node_t *
1581 in_node_t *np; in e_ddi_path_to_instance()
1591 e_ddi_borrow_instance(dev_info_t *cdip, in_node_t *cnp) in e_ddi_borrow_instance()
1594 in_node_t *anp; in e_ddi_borrow_instance()
1643 e_ddi_return_instance(dev_info_t *cdip, char *addr, in_node_t *cnp) in e_ddi_return_instance()
1645 in_node_t *anp; in e_ddi_return_instance()