Lines Matching defs:test_range
6705 static int test_range[2] = { 0, ARRAY_SIZE(tests) - 1 };
6706 module_param_array(test_range, int, NULL, 0);
6725 * if a test_id was specified, use test_range to
6733 test_range[0] = test_id;
6734 test_range[1] = test_id;
6738 * test_range to cover only that test.
6747 test_range[0] = idx;
6748 test_range[1] = idx;
6751 * check that the supplied test_range is valid.
6753 if (test_range[0] >= ARRAY_SIZE(tests) ||
6754 test_range[1] >= ARRAY_SIZE(tests) ||
6755 test_range[0] < 0 || test_range[1] < 0) {
6756 pr_err("test_bpf: test_range is out of bound.\n");
6760 if (test_range[1] < test_range[0]) {
6761 pr_err("test_bpf: test_range is ending before it starts.\n");
6787 return test_id < test_range[0] || test_id > test_range[1];