Searched refs:idr_find (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.7/kernel/src/ktest/ |
D | test-idr.c | 82 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.7/docs/kernel/core_api/ |
D | data_structures.md | 453    调用这个函数,需要您保证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.7/kernel/src/common/ |
D | idr.h | 90 void *idr_find(struct idr *idp, int id);
|
/DragonOS-0.1.7/kernel/src/libs/ |
D | idr.c | 519 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()
|