/kernel/linux/linux-6.6/arch/mips/lantiq/falcon/ |
H A D | sysctrl.c | 80 sysctl_wait(struct clk *clk, unsigned int test, unsigned int reg) sysctl_wait() argument
|
/kernel/linux/linux-6.6/arch/s390/lib/ |
H A D | test_unwind.c | 494 static void test_unwind_flags(struct kunit *test) in test_unwind_flags() argument
|
/kernel/linux/linux-5.10/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 472 #define test global() macro 675 #undef test global() macro [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | test.c | 31 static void kunit_ida_init(struct kunit *test, struct ida *ida) in kunit_ida_init() argument 36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() argument 72 static struct tb_switch *alloc_host(struct kunit *test) in alloc_host() argument 145 alloc_dev_default(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) alloc_dev_default() argument 275 alloc_dev_with_dpin(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) alloc_dev_with_dpin() argument 296 tb_test_path_basic(struct kunit *test) tb_test_path_basic() argument 313 tb_test_path_not_connected_walk(struct kunit *test) tb_test_path_not_connected_walk() argument 352 tb_test_path_single_hop_walk(struct kunit *test) tb_test_path_single_hop_walk() argument 406 tb_test_path_daisy_chain_walk(struct kunit *test) tb_test_path_daisy_chain_walk() argument 465 tb_test_path_simple_tree_walk(struct kunit *test) tb_test_path_simple_tree_walk() argument 528 tb_test_path_complex_tree_walk(struct kunit *test) tb_test_path_complex_tree_walk() argument 612 tb_test_path_max_length_walk(struct kunit *test) tb_test_path_max_length_walk() argument 715 tb_test_path_not_connected(struct kunit *test) tb_test_path_not_connected() argument 743 tb_test_path_not_bonded_lane0(struct kunit *test) tb_test_path_not_bonded_lane0() argument 801 tb_test_path_not_bonded_lane1(struct kunit *test) tb_test_path_not_bonded_lane1() argument 863 tb_test_path_not_bonded_lane1_chain(struct kunit *test) tb_test_path_not_bonded_lane1_chain() argument 943 tb_test_path_not_bonded_lane1_chain_reverse(struct kunit *test) tb_test_path_not_bonded_lane1_chain_reverse() argument 1023 tb_test_path_mixed_chain(struct kunit *test) tb_test_path_mixed_chain() argument 1115 tb_test_path_mixed_chain_reverse(struct kunit *test) tb_test_path_mixed_chain_reverse() argument 1207 tb_test_tunnel_pcie(struct kunit *test) tb_test_tunnel_pcie() argument 1262 tb_test_tunnel_dp(struct kunit *test) tb_test_tunnel_dp() argument 1300 tb_test_tunnel_dp_chain(struct kunit *test) tb_test_tunnel_dp_chain() argument 1346 tb_test_tunnel_dp_tree(struct kunit *test) tb_test_tunnel_dp_tree() argument 1396 tb_test_tunnel_dp_max_length(struct kunit *test) tb_test_tunnel_dp_max_length() argument 1476 tb_test_tunnel_usb3(struct kunit *test) tb_test_tunnel_usb3() argument 1531 tb_test_tunnel_port_on_path(struct kunit *test) tb_test_tunnel_port_on_path() argument [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | map_perf_test_user.c | 121 static void do_test_lru(enum test_type test, int cpu) in do_test_lru() argument
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | policy_unpack_test.c | 109 static int policy_unpack_test_init(struct kunit *test) in policy_unpack_test_init() argument 51 build_aa_ext_struct(struct policy_unpack_fixture *puf, struct kunit *test, size_t buf_size) build_aa_ext_struct() argument 124 policy_unpack_test_inbounds_when_inbounds(struct kunit *test) policy_unpack_test_inbounds_when_inbounds() argument 133 policy_unpack_test_inbounds_when_out_of_bounds(struct kunit *test) policy_unpack_test_inbounds_when_out_of_bounds() argument 140 policy_unpack_test_unpack_array_with_null_name(struct kunit *test) policy_unpack_test_unpack_array_with_null_name() argument 154 policy_unpack_test_unpack_array_with_name(struct kunit *test) policy_unpack_test_unpack_array_with_name() argument 169 policy_unpack_test_unpack_array_out_of_bounds(struct kunit *test) policy_unpack_test_unpack_array_out_of_bounds() argument 185 policy_unpack_test_unpack_blob_with_null_name(struct kunit *test) policy_unpack_test_unpack_blob_with_null_name() argument 199 policy_unpack_test_unpack_blob_with_name(struct kunit *test) policy_unpack_test_unpack_blob_with_name() argument 213 policy_unpack_test_unpack_blob_out_of_bounds(struct kunit *test) policy_unpack_test_unpack_blob_out_of_bounds() argument 231 policy_unpack_test_unpack_str_with_null_name(struct kunit *test) policy_unpack_test_unpack_str_with_null_name() argument 244 policy_unpack_test_unpack_str_with_name(struct kunit *test) policy_unpack_test_unpack_str_with_name() argument 256 policy_unpack_test_unpack_str_out_of_bounds(struct kunit *test) policy_unpack_test_unpack_str_out_of_bounds() argument 272 policy_unpack_test_unpack_strdup_with_null_name(struct kunit *test) policy_unpack_test_unpack_strdup_with_null_name() argument 288 policy_unpack_test_unpack_strdup_with_name(struct kunit *test) policy_unpack_test_unpack_strdup_with_name() argument 303 policy_unpack_test_unpack_strdup_out_of_bounds(struct kunit *test) policy_unpack_test_unpack_strdup_out_of_bounds() argument 320 policy_unpack_test_unpack_nameX_with_null_name(struct kunit *test) policy_unpack_test_unpack_nameX_with_null_name() argument 334 policy_unpack_test_unpack_nameX_with_wrong_code(struct kunit *test) policy_unpack_test_unpack_nameX_with_wrong_code() argument 348 policy_unpack_test_unpack_nameX_with_name(struct kunit *test) policy_unpack_test_unpack_nameX_with_name() argument 363 policy_unpack_test_unpack_nameX_with_wrong_name(struct kunit *test) policy_unpack_test_unpack_nameX_with_wrong_name() argument 378 policy_unpack_test_unpack_u16_chunk_basic(struct kunit *test) policy_unpack_test_unpack_u16_chunk_basic() argument 400 policy_unpack_test_unpack_u16_chunk_out_of_bounds_1( struct kunit *test) policy_unpack_test_unpack_u16_chunk_out_of_bounds_1() argument 416 policy_unpack_test_unpack_u16_chunk_out_of_bounds_2( struct kunit *test) policy_unpack_test_unpack_u16_chunk_out_of_bounds_2() argument 438 policy_unpack_test_unpack_u32_with_null_name(struct kunit *test) policy_unpack_test_unpack_u32_with_null_name() argument 454 policy_unpack_test_unpack_u32_with_name(struct kunit *test) policy_unpack_test_unpack_u32_with_name() argument 471 policy_unpack_test_unpack_u32_out_of_bounds(struct kunit *test) policy_unpack_test_unpack_u32_out_of_bounds() argument 488 policy_unpack_test_unpack_u64_with_null_name(struct kunit *test) policy_unpack_test_unpack_u64_with_null_name() argument 504 policy_unpack_test_unpack_u64_with_name(struct kunit *test) policy_unpack_test_unpack_u64_with_name() argument 521 policy_unpack_test_unpack_u64_out_of_bounds(struct kunit *test) policy_unpack_test_unpack_u64_out_of_bounds() argument 538 policy_unpack_test_unpack_X_code_match(struct kunit *test) policy_unpack_test_unpack_X_code_match() argument 547 policy_unpack_test_unpack_X_code_mismatch(struct kunit *test) policy_unpack_test_unpack_X_code_mismatch() argument 556 policy_unpack_test_unpack_X_out_of_bounds(struct kunit *test) policy_unpack_test_unpack_X_out_of_bounds() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | pmu-events.c | 122 static bool is_same(const char *reference, const char *test) in is_same() argument 165 struct perf_pmu_test_event *test; in test_pmu_event_table() local 270 struct perf_pmu_test_event *test; __test__pmu_event_aliases() local [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_printf.c | 134 #define test(expect, fmt, ...) \ macro [all...] |
H A D | test_kasan.c | 42 static int kasan_test_init(struct kunit *test) in kasan_test_init() argument 53 static void kasan_test_exit(struct kunit *test) in kasan_test_exit() argument 78 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right() argument 90 kmalloc_oob_left(struct kunit *test) kmalloc_oob_left() argument 102 kmalloc_node_oob_right(struct kunit *test) kmalloc_node_oob_right() argument 114 kmalloc_pagealloc_oob_right(struct kunit *test) kmalloc_pagealloc_oob_right() argument 134 kmalloc_pagealloc_uaf(struct kunit *test) kmalloc_pagealloc_uaf() argument 151 kmalloc_pagealloc_invalid_free(struct kunit *test) kmalloc_pagealloc_invalid_free() argument 167 kmalloc_large_oob_right(struct kunit *test) kmalloc_large_oob_right() argument 181 kmalloc_oob_krealloc_more(struct kunit *test) kmalloc_oob_krealloc_more() argument 197 kmalloc_oob_krealloc_less(struct kunit *test) kmalloc_oob_krealloc_less() argument 213 kmalloc_oob_16(struct kunit *test) kmalloc_oob_16() argument 236 kmalloc_uaf_16(struct kunit *test) kmalloc_uaf_16() argument 253 kmalloc_oob_memset_2(struct kunit *test) kmalloc_oob_memset_2() argument 265 kmalloc_oob_memset_4(struct kunit *test) kmalloc_oob_memset_4() argument 278 kmalloc_oob_memset_8(struct kunit *test) kmalloc_oob_memset_8() argument 290 kmalloc_oob_memset_16(struct kunit *test) kmalloc_oob_memset_16() argument 302 kmalloc_oob_in_memset(struct kunit *test) kmalloc_oob_in_memset() argument 314 kmalloc_memmove_invalid_size(struct kunit *test) kmalloc_memmove_invalid_size() argument 330 kmalloc_uaf(struct kunit *test) kmalloc_uaf() argument 342 kmalloc_uaf_memset(struct kunit *test) kmalloc_uaf_memset() argument 354 kmalloc_uaf2(struct kunit *test) kmalloc_uaf2() argument 373 kfree_via_page(struct kunit *test) kfree_via_page() argument 388 kfree_via_phys(struct kunit *test) kfree_via_phys() argument 401 kmem_cache_oob(struct kunit *test) kmem_cache_oob() argument 421 memcg_accounted_kmem_cache(struct kunit *test) memcg_accounted_kmem_cache() argument 450 kasan_global_oob(struct kunit *test) kasan_global_oob() argument 476 ksize_unpoisons_memory(struct kunit *test) ksize_unpoisons_memory() argument 491 kasan_stack_oob(struct kunit *test) kasan_stack_oob() argument 506 kasan_alloca_oob_left(struct kunit *test) kasan_alloca_oob_left() argument 528 kasan_alloca_oob_right(struct kunit *test) kasan_alloca_oob_right() argument 550 kmem_cache_double_free(struct kunit *test) kmem_cache_double_free() argument 571 kmem_cache_invalid_free(struct kunit *test) kmem_cache_invalid_free() argument 600 kasan_memchr(struct kunit *test) kasan_memchr() argument 624 kasan_memcmp(struct kunit *test) kasan_memcmp() argument 649 kasan_strings(struct kunit *test) kasan_strings() argument 686 kasan_bitops_modify(struct kunit *test, int nr, void *addr) kasan_bitops_modify() argument 698 kasan_bitops_test_and_modify(struct kunit *test, int nr, void *addr) kasan_bitops_test_and_modify() argument 715 kasan_bitops_generic(struct kunit *test) kasan_bitops_generic() argument 747 kasan_bitops_tags(struct kunit *test) kasan_bitops_tags() argument 768 kmalloc_double_kzfree(struct kunit *test) kmalloc_double_kzfree() argument 780 vmalloc_oob(struct kunit *test) vmalloc_oob() argument [all...] |
/kernel/linux/linux-5.10/lib/kunit/ |
H A D | test.c | 71 struct kunit *test = is_test ? test_or_suite : NULL; in kunit_print_ok_not_ok() local 130 static void kunit_print_string_stream(struct kunit *test, in kunit_print_string_stream() argument 153 kunit_fail(struct kunit *test, struct kunit_assert *assert) kunit_fail() argument 175 kunit_abort(struct kunit *test) kunit_abort() argument 188 kunit_do_assertion(struct kunit *test, struct kunit_assert *assert, bool pass, const char *fmt, ...) kunit_do_assertion() argument 212 kunit_init_test(struct kunit *test, const char *name, char *log) kunit_init_test() argument 227 kunit_run_case_internal(struct kunit *test, struct kunit_suite *suite, struct kunit_case *test_case) kunit_run_case_internal() argument 245 kunit_case_internal_cleanup(struct kunit *test) kunit_case_internal_cleanup() argument 254 kunit_run_case_cleanup(struct kunit *test, struct kunit_suite *suite) kunit_run_case_cleanup() argument 264 struct kunit *test; global() member 272 struct kunit *test = ctx->test; kunit_try_run_case() local 293 struct kunit *test = ctx->test; kunit_catch_run_case() local 332 struct kunit test; kunit_run_case_catch_errors() local 405 kunit_add_resource(struct kunit *test, kunit_resource_init_t init, kunit_resource_free_t free, struct kunit_resource *res, void *data) kunit_add_resource() argument 433 kunit_add_named_resource(struct kunit *test, kunit_resource_init_t init, kunit_resource_free_t free, struct kunit_resource *res, const char *name, void *data) kunit_add_named_resource() argument 457 kunit_alloc_and_get_resource(struct kunit *test, kunit_resource_init_t init, kunit_resource_free_t free, gfp_t internal_gfp, void *data) kunit_alloc_and_get_resource() argument 483 kunit_remove_resource(struct kunit *test, struct kunit_resource *res) kunit_remove_resource() argument 492 kunit_destroy_resource(struct kunit *test, kunit_resource_match_t match, void *match_data) kunit_destroy_resource() argument 531 kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) kunit_kmalloc() argument 546 kunit_kfree(struct kunit *test, const void *ptr) kunit_kfree() argument 564 kunit_cleanup(struct kunit *test) kunit_cleanup() argument [all...] |
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_mrp.c | 655 br_mrp_start_test(struct net_bridge *br, struct br_mrp_start_test *test) br_mrp_start_test() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/radio/ |
H A D | radio-cadet.c | 164 unsigned freq = 0, test, fifo = 0; in cadet_getfreq() local 192 unsigned test; in cadet_settune() local 217 int i, j, test; cadet_setfreq() local [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-loopback-test.c | 535 spi_test_check_elapsed_time(struct spi_device *spi, struct spi_test *test) spi_test_check_elapsed_time() argument 670 spi_test_fill_pattern(struct spi_device *spi, struct spi_test *test) spi_test_fill_pattern() argument 754 _spi_test_run_iter(struct spi_device *spi, struct spi_test *test, void *tx, void *rx) _spi_test_run_iter() argument 824 struct spi_test test; spi_test_run_iter() local 896 spi_test_execute_msg(struct spi_device *spi, struct spi_test *test, void *tx, void *rx) spi_test_execute_msg() argument 969 spi_test_run_test(struct spi_device *spi, const struct spi_test *test, void *tx, void *rx) spi_test_run_test() argument 1035 struct spi_test *test; spi_test_run_tests() local [all...] |
/kernel/linux/linux-6.6/drivers/media/radio/ |
H A D | radio-cadet.c | 164 unsigned freq = 0, test, fifo = 0; in cadet_getfreq() local 192 unsigned test; in cadet_settune() local 217 int i, j, test; cadet_setfreq() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs_kunit.c | 292 static void vcap_api_addr_keyset_test(struct kunit *test) in vcap_api_addr_keyset_test() argument 343 static void vcap_api_show_admin_raw_test(struct kunit *test) in vcap_api_show_admin_raw_test() argument 401 vcap_api_show_admin_test(struct kunit *test) vcap_api_show_admin_test() argument 474 vcap_api_show_admin_rule_test(struct kunit *test) vcap_api_show_admin_rule_test() argument [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-loopback-test.c | 573 spi_test_check_elapsed_time(struct spi_device *spi, struct spi_test *test) spi_test_check_elapsed_time() argument 708 spi_test_fill_pattern(struct spi_device *spi, struct spi_test *test) spi_test_fill_pattern() argument 792 _spi_test_run_iter(struct spi_device *spi, struct spi_test *test, void *tx, void *rx) _spi_test_run_iter() argument 862 struct spi_test test; spi_test_run_iter() local 934 spi_test_execute_msg(struct spi_device *spi, struct spi_test *test, void *tx, void *rx) spi_test_execute_msg() argument 1007 spi_test_run_test(struct spi_device *spi, const struct spi_test *test, void *tx, void *rx) spi_test_run_test() argument 1075 struct spi_test *test; spi_test_run_tests() local [all...] |
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | regmap-kunit.c | 120 static void basic_read_write(struct kunit *test) in basic_read_write() argument 149 static void bulk_write(struct kunit *test) in bulk_write() argument 186 bulk_read(struct kunit *test) bulk_read() argument 219 write_readonly(struct kunit *test) write_readonly() argument 254 read_writeonly(struct kunit *test) read_writeonly() argument 294 reg_defaults(struct kunit *test) reg_defaults() argument 322 reg_defaults_read_dev(struct kunit *test) reg_defaults_read_dev() argument 356 register_patch(struct kunit *test) register_patch() argument 408 stride(struct kunit *test) stride() argument 474 basic_ranges(struct kunit *test) basic_ranges() argument 546 stress_insert(struct kunit *test) stress_insert() argument 600 cache_bypass(struct kunit *test) cache_bypass() argument 638 cache_sync(struct kunit *test) cache_sync() argument 676 cache_sync_defaults(struct kunit *test) cache_sync_defaults() argument 712 cache_sync_readonly(struct kunit *test) cache_sync_readonly() argument 753 cache_sync_patch(struct kunit *test) cache_sync_patch() argument 814 cache_drop(struct kunit *test) cache_drop() argument 856 cache_present(struct kunit *test) cache_present() argument 1003 raw_read_defaults_single(struct kunit *test) raw_read_defaults_single() argument 1028 raw_read_defaults(struct kunit *test) raw_read_defaults() argument 1067 raw_write_read_single(struct kunit *test) raw_write_read_single() argument 1093 raw_write(struct kunit *test) raw_write() argument 1145 raw_sync(struct kunit *test) raw_sync() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | edd.c | 57 int (*test) (struct edd_device * edev); member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_dcn20.c | 375 union dmub_gpint_data_register test; in dmub_dcn20_is_gpint_acked() local
|
H A D | dmub_dcn31.c | 319 union dmub_gpint_data_register test; in dmub_dcn31_is_gpint_acked() local
|
H A D | dmub_dcn32.c | 338 union dmub_gpint_data_register test; in dmub_dcn32_is_gpint_acked() local
|
/kernel/linux/linux-6.6/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 472 #define test global() macro 675 #undef test global() macro [all...] |
/kernel/linux/linux-6.6/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-utmi.c | 175 int test = regmap_test_bits(utmi->syscon, in mvebu_cp110_utmi_phy_power_off() local
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/tests/ |
H A D | vc4_test_pv_muxing.c | 26 static bool check_fifo_conflict(struct kunit *test, in check_fifo_conflict() argument 122 get_vc4_crtc_state_for_encoder(struct kunit *test, in get_vc4_crtc_state_for_encoder() argument 144 static bool check_channel_for_encoder(struct kunit *test, in check_channel_for_encoder() argument 676 drm_vc4_test_pv_muxing(struct kunit *test) drm_vc4_test_pv_muxing() argument 705 drm_vc4_test_pv_muxing_invalid(struct kunit *test) drm_vc4_test_pv_muxing_invalid() argument 724 vc4_pv_muxing_test_init(struct kunit *test) vc4_pv_muxing_test_init() argument 783 drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable(struct kunit *test) drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable() argument 855 drm_test_vc5_pv_muxing_bugs_stable_fifo(struct kunit *test) drm_test_vc5_pv_muxing_bugs_stable_fifo() argument 950 drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable_too_many_crtc_state(struct kunit *test) drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable_too_many_crtc_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/iommu/iommufd/ |
H A D | main.c | 319 struct iommu_test_cmd test; member
|