Searched refs:idr_alloc (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.7/kernel/src/ktest/ |
D | test-idr.c | 75 assert(idr_alloc(&k_idr, &a[i], &a[i]) == 0); in ktest_idr_case1() 114 assert(idr_alloc(&k_idr, &a[i], &a[i]) == 0); in ktest_idr_case1() 148 assert(idr_alloc(&k_idr, &a[i], &a[i]) == 0); in ktest_idr_case1() 201 assert(idr_alloc(&k_idr, &tmp, &tmp) == 0); in ktest_idr_case2() 240 assert(idr_alloc(&k_idr, &tmp, &tmp) == 0); in ktest_idr_case2() 280 assert(idr_alloc(&k_idr, &tmp, &tmp) == 0); in ktest_idr_case3() 366 assert(idr_alloc(&k_idr, &tmp, &tmp) == 0); in ktest_idr_case4() 422 assert(idr_alloc(&k_idr, &a[i], &a[i]) == 0); in ktest_idr_case5() 449 assert(idr_alloc(&k_idr, &a[i], &a[i]) == 0); in ktest_idr_case5()
|
/DragonOS-0.1.7/kernel/src/common/ |
D | idr.h | 86 int idr_alloc(struct idr *idp, void *ptr, int *id);
|
/DragonOS-0.1.7/docs/kernel/core_api/ |
D | data_structures.md | 447 ### idr_alloc subsection 448 `int idr_alloc(struct idr *idp, void *ptr, int *id)`
|
/DragonOS-0.1.7/kernel/src/libs/ |
D | idr.c | 383 int idr_alloc(struct idr *idp, void *ptr, int *id) in idr_alloc() function
|