Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/radix-tree/
H A Didr-test.c14 #define DUMMY_PTR ((void *)0x10) macro
97 assert(idr_replace(&idr, DUMMY_PTR, 3) == NULL); in idr_null_test()
98 assert(idr_replace(&idr, DUMMY_PTR, 4) == NULL); in idr_null_test()
99 assert(idr_replace(&idr, NULL, 4) == DUMMY_PTR); in idr_null_test()
115 assert(idr_replace(&idr, DUMMY_PTR, 3) == ERR_PTR(-ENOENT)); in idr_null_test()
116 assert(idr_replace(&idr, DUMMY_PTR, 0) == NULL); in idr_null_test()
117 assert(idr_replace(&idr, NULL, 0) == DUMMY_PTR); in idr_null_test()
176 BUG_ON(ptr != DUMMY_PTR); in idr_u32_cb()
187 BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL)); in idr_u32_test1()
198 BUG_ON(ptr != DUMMY_PTR); in idr_u32_test1()
[all …]