Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/ktest/
Dtest-idr.c484 int p_id; in ktest_idr_case6() local
486 assert(ida_alloc(&k_ida, &p_id) == 0); in ktest_idr_case6()
488 assert(p_id == i); in ktest_idr_case6()
510 int p_id; in ktest_idr_case6() local
512 assert(ida_alloc(&k_ida, &p_id) == 0); in ktest_idr_case6()
514 assert(p_id == i); in ktest_idr_case6()
532 int p_id; in ktest_idr_case6() local
534 assert(ida_alloc(&k_ida, &p_id) == 0); in ktest_idr_case6()
536 assert(p_id == i); in ktest_idr_case6()
/DragonOS-0.1.5/kernel/src/common/
Didr.h168 int ida_alloc(struct ida *ida_p, int *p_id);
/DragonOS-0.1.5/kernel/src/libs/
Didr.c919 int ida_alloc(struct ida *ida_p, int *p_id) in ida_alloc() argument
921 BUG_ON(p_id == NULL); in ida_alloc()
922 *p_id = -1; in ida_alloc()
952 *p_id = idr_id * IDA_BITMAP_BITS + low_id; in ida_alloc()
/DragonOS-0.1.5/docs/kernel/core_api/
Ddata_structures.md302 `int ida_alloc(struct ida *ida_p, int *p_id)`
313 **p_id**