Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dsparsebit.c191 sparsebit_num_t num_set; member
403 return s->root && s->num_set == 0; in sparsebit_all_set()
412 sparsebit_num_t num_set; in node_rm() local
414 num_set = node_num_set(nodep); in node_rm()
415 assert(s->num_set >= num_set || sparsebit_all_set(s)); in node_rm()
416 s->num_set -= node_num_set(nodep); in node_rm()
823 s->num_set++; in bit_set()
858 assert(s->num_set > 0 || sparsebit_all_set(s)); in bit_clear()
859 s->num_set--; in bit_clear()
929 fprintf(stream, "%*snum_set: 0x%lx\n", indent, "", s->num_set); in sparsebit_dump_internal()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_progs.c194 if (!sel->whitelist.cnt && !sel->num_set) in should_run()
197 return num < sel->num_set_len && sel->num_set[num]; in should_run()
234 if (!sel->whitelist.cnt && !subtest_sel->num_set) in should_run_subtest()
237 return subtest_num < subtest_sel->num_set_len && subtest_sel->num_set[subtest_num]; in should_run_subtest()
902 free(test_selector->num_set); in free_test_selector()
919 &env->subtest_selector.num_set, in parse_arg()
926 if (parse_num_list(arg, &env->test_selector.num_set, in parse_arg()
Dtesting_helpers.c15 int parse_num_list(const char *s, bool **num_set, int *num_set_len) in parse_num_list() argument
70 *num_set = set; in parse_num_list()
Dtest_progs.h66 bool *num_set; member
/linux-6.12.1/drivers/gpio/
Dgpiolib-cdev.c1462 unsigned int i, didx, num_set; in linereq_set_values() local
1479 for (num_set = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values()
1486 __set_bit(num_set, vals); in linereq_set_values()
1487 num_set++; in linereq_set_values()
1492 if (num_set == 0) in linereq_set_values()
1495 if (num_set != 1) { in linereq_set_values()
1497 descs = kmalloc_array(num_set, sizeof(*descs), GFP_KERNEL); in linereq_set_values()
1507 ret = gpiod_set_array_value_complex(false, true, num_set, in linereq_set_values()
1510 if (num_set != 1) in linereq_set_values()