Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/ktest/
Dtest-idr.c82 int *ptr = idr_find(&k_idr, a[i]); in ktest_idr_case1()
94 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
103 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
129 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
138 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
155 int *ptr = idr_find(&k_idr, a[i]); in ktest_idr_case1()
164 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
171 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
206 int *ptr = idr_find(&k_idr, i); in ktest_idr_case2()
220 int *ptr = idr_find(&k_idr, i); in ktest_idr_case2()
[all …]
/DragonOS-0.1.8/docs/kernel/core_api/
Ddata_structures.md453    调用这个函数,需要您保证ptr是非空的,即: `ptr != NULL`, 否则将会影响 `idr_find/idr_find_next/idr_find_next_get…
532 ### idr_find subsection
533 `void *idr_find(struct idr *idp, int id)`
/DragonOS-0.1.8/kernel/src/common/
Didr.h90 void *idr_find(struct idr *idp, int id);
/DragonOS-0.1.8/kernel/src/libs/
Didr.c519 void *idr_find(struct idr *idp, int id) in idr_find() function
976 struct ida_bitmap *bmp = idr_find(&ida_p->idr, idr_id); in ida_count()