Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_util.c54 avl_tree_t dlmgmt_id_avl; variable
164 avl_create(&dlmgmt_id_avl, cmp_link_by_id, sizeof (dlmgmt_link_t), in dlmgmt_linktable_init()
186 avl_destroy(&dlmgmt_id_avl); in dlmgmt_linktable_fini()
465 if ((linkp = avl_find(&dlmgmt_id_avl, &link, NULL)) == NULL) in link_by_id()
527 avl_find(&dlmgmt_id_avl, linkp, &id_where) != NULL) { in dlmgmt_create_common()
533 avl_insert(&dlmgmt_id_avl, linkp, id_where); in dlmgmt_create_common()
537 avl_remove(&dlmgmt_id_avl, linkp); in dlmgmt_create_common()
586 avl_remove(&dlmgmt_id_avl, linkp); in dlmgmt_destroy_common()
796 linkp = AVL_NEXT(&dlmgmt_id_avl, linkp); in dlmgmt_advance_linkid()
814 linkp = AVL_NEXT(&dlmgmt_id_avl, linkp); in dlmgmt_advance_linkid()
H A Ddlmgmt_impl.h112 extern avl_tree_t dlmgmt_id_avl;
H A Ddlmgmt_door.c96 dlmgmt_link_t *linkp = avl_first(&dlmgmt_id_avl); in dlmgmt_getlink_by_dev()
98 for (; linkp != NULL; linkp = AVL_NEXT(&dlmgmt_id_avl, linkp)) { in dlmgmt_getlink_by_dev()
486 if ((linkp = avl_find(&dlmgmt_id_avl, &link, &where)) == NULL) in dlmgmt_getnext()
487 linkp = avl_nearest(&dlmgmt_id_avl, where, AVL_AFTER); in dlmgmt_getnext()
489 for (; linkp != NULL; linkp = AVL_NEXT(&dlmgmt_id_avl, linkp)) { in dlmgmt_getnext()
H A Ddlmgmt_db.c1228 if (avl_find(&dlmgmt_id_avl, newlink, &id_where) != in process_db_read()
1245 avl_insert(&dlmgmt_id_avl, newlink, id_where); in process_db_read()
1445 for (linkp = avl_first(&dlmgmt_id_avl); linkp != NULL; in dlmgmt_db_walk()
1446 linkp = AVL_NEXT(&dlmgmt_id_avl, linkp)) { in dlmgmt_db_walk()