Home
last modified time | relevance | path

Searched refs:id_free_cnt (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.2/kernel/src/ktest/
Dtest-idr.c30 assert(k_idr.id_free_cnt == 0); // 必须是0 in ktest_idr_case0()
33 k_idr.id_free_cnt = arg1; in ktest_idr_case0()
35 assert(k_idr.id_free_cnt == 0); in ktest_idr_case0()
38 assert(k_idr.id_free_cnt == IDR_FREE_MAX); in ktest_idr_case0()
54 assert(k_idr.id_free_cnt == 0); in ktest_idr_case0()
176 assert(k_idr.id_free_cnt == 0); in ktest_idr_case1()
258 assert(k_idr.id_free_cnt == 0); in ktest_idr_case2()
341 assert(k_idr.id_free_cnt == 0); in ktest_idr_case3()
400 assert(k_idr.id_free_cnt == 0); in ktest_idr_case4()
443 assert(k_idr.id_free_cnt == 0); in ktest_idr_case5()
[all …]
/DragonOS-0.1.2/kernel/src/libs/
Didr.c43 ++(idp->id_free_cnt); in __move_to_free_list()
56 if (idp->id_free_cnt == 0) in __get_from_free_list()
81 --(idp->id_free_cnt); in __get_from_free_list()
98 while (idp->id_free_cnt < IDR_FREE_MAX) in idr_preload()
480 while (idp->id_free_cnt) in __idr_destroy_with_free()
507 while (idp->id_free_cnt) in idr_destroy()
/DragonOS-0.1.2/kernel/src/common/
Didr.h70 int id_free_cnt; member