Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/ktest/
Dtest-idr.c75 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.5/kernel/src/common/
Didr.h86 int idr_alloc(struct idr *idp, void *ptr, int *id);
/DragonOS-0.1.5/docs/kernel/core_api/
Ddata_structures.md447 ### idr_alloc subsection
448 `int idr_alloc(struct idr *idp, void *ptr, int *id)`
/DragonOS-0.1.5/kernel/src/libs/
Didr.c383 int idr_alloc(struct idr *idp, void *ptr, int *id) in idr_alloc() function