Searched refs:num_set (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | sparsebit.c | 191 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.6.21/tools/testing/selftests/bpf/ |
D | testing_helpers.c | 14 int parse_num_list(const char *s, bool **num_set, int *num_set_len) in parse_num_list() argument 69 *num_set = set; in parse_num_list()
|
D | test_progs.c | 175 if (!sel->whitelist.cnt && !sel->num_set) in should_run() 178 return num < sel->num_set_len && sel->num_set[num]; in should_run() 215 if (!sel->whitelist.cnt && !subtest_sel->num_set) in should_run_subtest() 218 return subtest_num < subtest_sel->num_set_len && subtest_sel->num_set[subtest_num]; in should_run_subtest() 735 free(test_selector->num_set); in free_test_selector() 752 &env->subtest_selector.num_set, in parse_arg() 759 if (parse_num_list(arg, &env->test_selector.num_set, in parse_arg()
|
D | test_progs.h | 66 bool *num_set; member
|
/linux-6.6.21/drivers/gpio/ |
D | gpiolib-cdev.c | 1328 unsigned int i, didx, num_set; in linereq_set_values_unlocked() local 1332 for (num_set = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values_unlocked() 1337 __set_bit(num_set, vals); in linereq_set_values_unlocked() 1338 num_set++; in linereq_set_values_unlocked() 1342 if (num_set == 0) in linereq_set_values_unlocked() 1345 if (num_set != 1) { in linereq_set_values_unlocked() 1347 descs = kmalloc_array(num_set, sizeof(*descs), GFP_KERNEL); in linereq_set_values_unlocked() 1357 ret = gpiod_set_array_value_complex(false, true, num_set, in linereq_set_values_unlocked() 1360 if (num_set != 1) in linereq_set_values_unlocked()
|