/linux-6.14.4/lib/ |
D | hashtable_test.c | 19 static void hashtable_test_hash_init(struct kunit *test) in hashtable_test_hash_init() 34 static void hashtable_test_hash_empty(struct kunit *test) in hashtable_test_hash_empty() 49 static void hashtable_test_hash_hashed(struct kunit *test) in hashtable_test_hash_hashed() 65 static void hashtable_test_hash_add(struct kunit *test) in hashtable_test_hash_add() 95 static void hashtable_test_hash_del(struct kunit *test) in hashtable_test_hash_del() 123 static void hashtable_test_hash_for_each(struct kunit *test) in hashtable_test_hash_for_each() 152 static void hashtable_test_hash_for_each_safe(struct kunit *test) in hashtable_test_hash_for_each_safe() 156 struct hlist_node *tmp; in hashtable_test_hash_for_each_safe() local 185 static void hashtable_test_hash_for_each_possible(struct kunit *test) in hashtable_test_hash_for_each_possible() 239 static void hashtable_test_hash_for_each_possible_safe(struct kunit *test) in hashtable_test_hash_for_each_possible_safe() [all …]
|
D | slub_kunit.c | 29 static void test_clobber_zone(struct kunit *test) in test_clobber_zone() 47 static void test_next_pointer(struct kunit *test) in test_next_pointer() 52 unsigned long tmp; in test_next_pointer() local 92 static void test_first_word(struct kunit *test) in test_first_word() 107 static void test_clobber_50th_byte(struct kunit *test) in test_clobber_50th_byte() 123 static void test_clobber_redzone_free(struct kunit *test) in test_clobber_redzone_free() 140 static void test_kmalloc_redzone_access(struct kunit *test) in test_kmalloc_redzone_access() 165 static void test_kfree_rcu(struct kunit *test) in test_kfree_rcu() 184 static void test_leak_destroy(struct kunit *test) in test_leak_destroy() 195 static void test_krealloc_redzone_zeroing(struct kunit *test) in test_krealloc_redzone_zeroing() [all …]
|
/linux-6.14.4/drivers/gpu/drm/tests/ |
D | drm_mm_test.c | 38 static bool assert_no_holes(struct kunit *test, const struct drm_mm *mm) in assert_no_holes() 63 static bool assert_one_hole(struct kunit *test, const struct drm_mm *mm, u64 start, u64 end) in assert_one_hole() 103 static bool assert_node(struct kunit *test, struct drm_mm_node *node, struct drm_mm *mm, in assert_node() 135 static void drm_test_mm_init(struct kunit *test) in drm_test_mm_init() 139 struct drm_mm_node tmp; in drm_test_mm_init() local 189 static void drm_test_mm_debug(struct kunit *test) in drm_test_mm_debug() 217 static bool expect_insert(struct kunit *test, struct drm_mm *mm, in expect_insert() 241 static void drm_test_mm_align_pot(struct kunit *test, int max) in drm_test_mm_align_pot() 278 static void drm_test_mm_align32(struct kunit *test) in drm_test_mm_align32() 283 static void drm_test_mm_align64(struct kunit *test) in drm_test_mm_align64() [all …]
|
/linux-6.14.4/kernel/kcsan/ |
D | kcsan_test.c | 35 #define KCSAN_TEST_REQUIRES(test, cond) do { \ argument 183 char tmp[2][64]; in __report_matches() local 528 static void test_barrier_nothreads(struct kunit *test) in test_barrier_nothreads() 713 static void test_basic(struct kunit *test) in test_basic() 744 static void test_concurrent_races(struct kunit *test) in test_concurrent_races() 773 static void test_novalue_change(struct kunit *test) in test_novalue_change() 805 static void test_novalue_change_exception(struct kunit *test) in test_novalue_change_exception() 831 static void test_unknown_origin(struct kunit *test) in test_unknown_origin() 853 static void test_write_write_assume_atomic(struct kunit *test) in test_write_write_assume_atomic() 879 static void test_write_write_struct(struct kunit *test) in test_write_write_struct() [all …]
|
/linux-6.14.4/net/mac80211/tests/ |
D | tpe.c | 125 static void subchan_offset(struct kunit *test) in subchan_offset() 261 static void psd_reorder(struct kunit *test) in psd_reorder() 264 struct ieee80211_parsed_tpe_psd tmp = params->psd; in psd_reorder() local
|
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | align.c | 602 static int do_test_single(struct bpf_align_test *test) in do_test_single() 639 int tmp; in do_test_single() local 696 struct bpf_align_test *test = &tests[i]; in test_align() local
|
D | cls_redirect.c | 173 static int test_str(void *buf, size_t len, const struct test_cfg *test, in test_str() 244 static size_t build_input(const struct test_cfg *test, void *const buf, in build_input() 368 struct test_cfg *test = &tests[i]; in test_cls_redirect_common() local 373 char tmp[256]; in test_cls_redirect_common() local
|
D | select_reuseport.c | 534 __u32 nr_run_before = 0, nr_run_after = 0, tmp, i; in test_detach_bpf() local 770 const struct test { in test_config() struct 771 void (*fn)(int sotype, sa_family_t family); in test_config() 772 const char *name; in test_config() 773 bool no_inner_map; in test_config() 774 int need_sotype; in test_config()
|
/linux-6.14.4/drivers/iio/test/ |
D | iio-test-rescale.c | 595 int tmp, tmp2; in iio_str_to_nano() local 646 static void iio_rescale_test_scale(struct kunit *test) in iio_rescale_test_scale() 678 static void iio_rescale_test_offset(struct kunit *test) in iio_rescale_test_offset()
|
/linux-6.14.4/tools/testing/selftests/x86/ |
D | lam.c | 260 int handle_max_bits(struct testcases *test) in handle_max_bits() 279 static int handle_malloc(struct testcases *test) in handle_malloc() 311 static int handle_mmap(struct testcases *test) in handle_mmap() 347 static int handle_syscall(struct testcases *test) in handle_syscall() 634 int handle_uring(struct testcases *test) in handle_uring() 652 static int fork_test(struct testcases *test) in fork_test() 672 static int handle_execve(struct testcases *test) in handle_execve() 708 static int handle_inheritance(struct testcases *test) in handle_inheritance() 745 struct testcases *test = arg; in thread_fn_set_lam() local 750 static int handle_thread(struct testcases *test) in handle_thread() [all …]
|
/linux-6.14.4/drivers/thunderbolt/ |
D | test.c | 31 static void kunit_ida_init(struct kunit *test, struct ida *ida) in kunit_ida_init() 36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() 72 static struct tb_switch *alloc_host(struct kunit *test) in alloc_host() 154 static struct tb_switch *alloc_host_usb4(struct kunit *test) in alloc_host_usb4() 173 static struct tb_switch *alloc_host_br(struct kunit *test) in alloc_host_br() 190 static struct tb_switch *alloc_dev_default(struct kunit *test, in alloc_dev_default() 340 static struct tb_switch *alloc_dev_with_dpin(struct kunit *test, in alloc_dev_with_dpin() 361 static struct tb_switch *alloc_dev_without_dp(struct kunit *test, in alloc_dev_without_dp() 402 static struct tb_switch *alloc_dev_usb4(struct kunit *test, in alloc_dev_usb4() 423 static void tb_test_path_basic(struct kunit *test) in tb_test_path_basic() [all …]
|
/linux-6.14.4/tools/testing/radix-tree/ |
D | maple.c | 30 #define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); } argument 63 struct rcu_test_struct2 *test; member 782 struct ma_state tmp; in mas_ce2_over_count() local 34352 static void rcu_reader_register(struct rcu_test_struct2 *test) in rcu_reader_register() 34362 unsigned int id, struct rcu_test_struct2 *test) in rcu_reader_setup() 34377 struct rcu_test_struct2 *test = reader->test; in rcu_reader_fwd() local 34487 struct rcu_test_struct2 *test = reader->test; in rcu_reader_rev() local 34617 static void rcu_stress_rev(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_rev() 34676 static void rcu_stress_fwd(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_fwd() 34749 struct rcu_test_struct2 test; in rcu_stress() local [all …]
|
/linux-6.14.4/drivers/clk/sophgo/ |
D | clk-cv18xx-pll.c | 56 unsigned long tmp; in ipll_find_rate() local 125 unsigned long test = 184 * (1 + mode) * (1 + ictrl) / 2; in ipll_check_mode_ctrl_restrict() local 293 unsigned long tmp; in fpll_find_rate() local 347 unsigned long test = 184 * (1 + mode) * (1 + ictrl) / 2; in fpll_check_mode_ctrl_restrict() local
|
/linux-6.14.4/arch/x86/kernel/cpu/ |
D | cyrix.c | 228 unsigned char tmp; in init_cyrix() local 399 unsigned int test; in test_cyrix_52div() local
|
/linux-6.14.4/tools/testing/selftests/bpf/ |
D | test_verifier.c | 264 struct bpf_insn tmp[2] = { BPF_LD_IMM64(BPF_REG_1, val) }; in bpf_fill_rand_ld_dw() local 785 static int load_btf_for_test(struct bpf_test *test) in load_btf_for_test() 1007 static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type, in do_test_fixup() 1256 __u8 tmp[TEST_DATA_LEN << 2]; in do_prog_test_run() local 1456 static bool check_xlated_program(struct bpf_test *test, int fd_prog) in check_xlated_program() 1504 static void do_test_single(struct bpf_test *test, bool unpriv, in do_test_single() 1739 static bool test_as_unpriv(struct bpf_test *test) in test_as_unpriv() 1770 struct bpf_test *test = &tests[i]; in do_test() local
|
D | testing_helpers.c | 18 bool *set = NULL, *tmp, parsing_end = false; in parse_num_list() local 80 struct test_filter *tmp, *test; in do_insert_test() local
|
/linux-6.14.4/tools/testing/selftests/mm/ |
D | cow.c | 413 char *buf, *tmp; in do_test_iouring() local 575 static void do_test_ro_pin(char *mem, size_t size, enum ro_pin_test test, in do_test_ro_pin() 580 char *tmp, buf; in do_test_ro_pin() local 801 char *mem, *mmap_mem, *tmp, *mremap_mem = MAP_FAILED; in do_run_with_thp() local 1221 enum anon_thp_collapse_test test) in do_test_anon_thp_collapse() 1473 char *mem, *smem, tmp; in run_with_zeropage() local 1503 char *mem, *smem, *mmap_mem, *mmap_smem, tmp; in run_with_huge_zeropage() local 1562 char *mem, *smem, tmp; in run_with_memfd() local 1606 char *mem, *smem, tmp; in run_with_tmpfile() local 1659 char *mem, *smem, tmp; in run_with_memfd_hugetlb() local
|
/linux-6.14.4/tools/testing/selftests/nolibc/ |
D | nolibc-test.c | 76 struct test { struct 77 const char *name; /* test name */ argument 78 int (*func)(int min, int max); /* handler */ 705 int test; in run_startup() local 1002 int test; in run_syscall() local 1003 int tmp; in run_syscall() local 1115 int test; in run_stdlib() local 1289 int test; in run_vfprintf() local 1452 static int is_setting_valid(char *test) in is_setting_valid() 1488 char *test; in main() local
|
/linux-6.14.4/kernel/trace/ |
D | trace_events_trigger.c | 549 struct event_trigger_data *test; in register_trigger() local 583 struct event_trigger_data *test, in try_unregister_trigger() 622 struct event_trigger_data *test, in unregister_trigger() 1050 struct event_filter *filter = NULL, *tmp; in set_trigger_filter() local 1150 bool is_named_trigger(struct event_trigger_data *test) in is_named_trigger() 1194 struct event_trigger_data *test; in __pause_named_trigger() local 1857 struct event_trigger_data *test; in event_enable_register_trigger() local 1892 struct event_trigger_data *test, in event_enable_unregister_trigger()
|
/linux-6.14.4/fs/bcachefs/ |
D | sysfs.c | 460 char *tmp = kstrdup(buf, GFP_KERNEL), *p = tmp; in STORE() local 461 char *test = strsep(&p, " \t\n"); in STORE() local 625 char *tmp; in STORE() local 826 char *tmp; in STORE() local
|
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.c | 33 struct iwl_trans_dev_restart_data *tmp, *data = NULL; in iwl_trans_get_restart_data() local 73 struct iwl_trans_dev_restart_data *tmp; in iwl_trans_free_restart_list() local 483 int iwl_trans_d3_suspend(struct iwl_trans *trans, bool test, bool reset) in iwl_trans_d3_suspend() 492 bool test, bool reset) in iwl_trans_d3_resume()
|
/linux-6.14.4/fs/afs/ |
D | addr_prefs.c | 75 unsigned long mask, tmp; in afs_parse_address() local 464 struct afs_addr_preference test; in afs_get_address_preferences_rcu() local
|
/linux-6.14.4/tools/testing/selftests/arm64/fp/ |
D | fp-ptrace.c | 160 void *tmp; in compare_buffer() local 694 static bool run_parent(pid_t child, struct test_definition *test, in run_parent() 1318 static void run_test(struct test_definition *test, struct test_config *config) in run_test() 1561 int tests, ret, tmp; in main() local
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_dcn20.c | 64 uint32_t tmp; in dmub_dcn20_get_fb_base_offset() local 376 union dmub_gpint_data_register test; in dmub_dcn20_is_gpint_acked() local
|
D | dmub_dcn31.c | 60 uint32_t tmp; in dmub_dcn31_get_fb_base_offset() local 320 union dmub_gpint_data_register test; in dmub_dcn31_is_gpint_acked() local
|