DUMMY_PTR 38 tools/testing/radix-tree/idr-test.c assert(idr_alloc_cyclic(&idr, DUMMY_PTR, 0, 0x4000, GFP_KERNEL) == 0); DUMMY_PTR 39 tools/testing/radix-tree/idr-test.c assert(idr_alloc_cyclic(&idr, DUMMY_PTR, 0x3ffd, 0x4000, GFP_KERNEL) == 0x3ffd); DUMMY_PTR 97 tools/testing/radix-tree/idr-test.c assert(idr_replace(&idr, DUMMY_PTR, 3) == NULL); DUMMY_PTR 98 tools/testing/radix-tree/idr-test.c assert(idr_replace(&idr, DUMMY_PTR, 4) == NULL); DUMMY_PTR 99 tools/testing/radix-tree/idr-test.c assert(idr_replace(&idr, NULL, 4) == DUMMY_PTR); DUMMY_PTR 100 tools/testing/radix-tree/idr-test.c assert(idr_replace(&idr, DUMMY_PTR, 11) == ERR_PTR(-ENOENT)); DUMMY_PTR 115 tools/testing/radix-tree/idr-test.c assert(idr_replace(&idr, DUMMY_PTR, 3) == ERR_PTR(-ENOENT)); DUMMY_PTR 116 tools/testing/radix-tree/idr-test.c assert(idr_replace(&idr, DUMMY_PTR, 0) == NULL); DUMMY_PTR 117 tools/testing/radix-tree/idr-test.c assert(idr_replace(&idr, NULL, 0) == DUMMY_PTR); DUMMY_PTR 176 tools/testing/radix-tree/idr-test.c BUG_ON(ptr != DUMMY_PTR); DUMMY_PTR 187 tools/testing/radix-tree/idr-test.c BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL)); DUMMY_PTR 189 tools/testing/radix-tree/idr-test.c BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL) != -ENOSPC); DUMMY_PTR 198 tools/testing/radix-tree/idr-test.c BUG_ON(ptr != DUMMY_PTR); DUMMY_PTR 206 tools/testing/radix-tree/idr-test.c BUG_ON(idr_remove(idr, id) != DUMMY_PTR); DUMMY_PTR 337 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, DUMMY_PTR, 5, 30, GFP_KERNEL) < 0); DUMMY_PTR 352 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, DUMMY_PTR, 0, 0, GFP_KERNEL) == 0); DUMMY_PTR 355 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, DUMMY_PTR, 0, 0, GFP_KERNEL) == i); DUMMY_PTR 363 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, DUMMY_PTR, i - 2, i, GFP_KERNEL) == -ENOSPC); DUMMY_PTR 364 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, DUMMY_PTR, i - 2, i + 10, GFP_KERNEL) == -ENOSPC);