Home
last modified time | relevance | path

Searched refs:dlmgmt_id_avl (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_util.c53 avl_tree_t dlmgmt_id_avl; variable
163 avl_create(&dlmgmt_id_avl, cmp_link_by_id, sizeof (dlmgmt_link_t), in dlmgmt_linktable_init()
185 avl_destroy(&dlmgmt_id_avl); in dlmgmt_linktable_fini()
418 if ((linkp = avl_find(&dlmgmt_id_avl, &link, NULL)) == NULL) in link_by_id()
466 avl_find(&dlmgmt_id_avl, linkp, &id_where) != NULL) { in dlmgmt_create_common()
472 avl_insert(&dlmgmt_id_avl, linkp, id_where); in dlmgmt_create_common()
476 avl_remove(&dlmgmt_id_avl, linkp); in dlmgmt_create_common()
519 avl_remove(&dlmgmt_id_avl, linkp); in dlmgmt_destroy_common()
729 linkp = AVL_NEXT(&dlmgmt_id_avl, linkp); in dlmgmt_advance_linkid()
747 linkp = AVL_NEXT(&dlmgmt_id_avl, linkp); in dlmgmt_advance_linkid()
H A Ddlmgmt_impl.h93 extern avl_tree_t dlmgmt_id_avl;
H A Ddlmgmt_door.c94 dlmgmt_link_t *linkp = avl_first(&dlmgmt_id_avl); in dlmgmt_getlink_by_dev()
96 for (; linkp != NULL; linkp = AVL_NEXT(&dlmgmt_id_avl, linkp)) { in dlmgmt_getlink_by_dev()
482 if ((linkp = avl_find(&dlmgmt_id_avl, &link, &where)) == NULL) in dlmgmt_getnext()
483 linkp = avl_nearest(&dlmgmt_id_avl, where, AVL_AFTER); in dlmgmt_getnext()
485 for (; linkp != NULL; linkp = AVL_NEXT(&dlmgmt_id_avl, linkp)) { in dlmgmt_getnext()
H A Ddlmgmt_db.c1173 if (avl_find(&dlmgmt_id_avl, newlink, &id_where) != in process_db_read()
1190 avl_insert(&dlmgmt_id_avl, newlink, id_where); in process_db_read()
1377 for (linkp = avl_first(&dlmgmt_id_avl); linkp != NULL; in dlmgmt_db_walk()
1378 linkp = AVL_NEXT(&dlmgmt_id_avl, linkp)) { in dlmgmt_db_walk()