/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_lookup.c | 68 struct test { struct [all...] |
H A D | sockmap_listen.c | 308 const struct test { struct
|
H A D | sock_addr.c | 2283 static int test_bind(struct sock_addr_test *test) argument 2324 test_connect(struct sock_addr_test *test) argument 2384 test_xmsg(struct sock_addr_test *test) argument 2489 test_getsockname(struct sock_addr_test *test) argument 2517 test_getpeername(struct sock_addr_test *test) argument 2610 struct sock_addr_test *test = &tests[i]; local [all...] |
/linux-master/drivers/scsi/ |
H A D | mac53c94.h | 36 unsigned char test; member in struct:mac53c94_regs
|
/linux-master/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_ethtool.c | 659 static const u32 test[] = { local [all...] |
/linux-master/drivers/ptp/ |
H A D | ptp_pch.c | 50 u32 test; member in struct:pch_ts_regs
|
H A D | ptp_ines.c | 116 u32 test; member in struct:ines_global_regs
|
/linux-master/drivers/thunderbolt/ |
H A D | test.c | 31 static void kunit_ida_init(struct kunit *test, struct ida *ida) argument 36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, argument 72 static struct tb_switch *alloc_host(struct kunit *test) argument 154 alloc_host_usb4(struct kunit *test) argument 173 alloc_host_br(struct kunit *test) argument 190 alloc_dev_default(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) argument 340 alloc_dev_with_dpin(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) argument 361 alloc_dev_without_dp(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) argument 402 alloc_dev_usb4(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) argument 423 tb_test_path_basic(struct kunit *test) argument 440 tb_test_path_not_connected_walk(struct kunit *test) argument 479 tb_test_path_single_hop_walk(struct kunit *test) argument 533 tb_test_path_daisy_chain_walk(struct kunit *test) argument 592 tb_test_path_simple_tree_walk(struct kunit *test) argument 655 tb_test_path_complex_tree_walk(struct kunit *test) argument 739 tb_test_path_max_length_walk(struct kunit *test) argument 842 tb_test_path_not_connected(struct kunit *test) argument 870 tb_test_path_not_bonded_lane0(struct kunit *test) argument 928 tb_test_path_not_bonded_lane1(struct kunit *test) argument 990 tb_test_path_not_bonded_lane1_chain(struct kunit *test) argument 1070 tb_test_path_not_bonded_lane1_chain_reverse(struct kunit *test) argument 1150 tb_test_path_mixed_chain(struct kunit *test) argument 1242 tb_test_path_mixed_chain_reverse(struct kunit *test) argument 1334 tb_test_tunnel_pcie(struct kunit *test) argument 1389 tb_test_tunnel_dp(struct kunit *test) argument 1427 tb_test_tunnel_dp_chain(struct kunit *test) argument 1473 tb_test_tunnel_dp_tree(struct kunit *test) argument 1523 tb_test_tunnel_dp_max_length(struct kunit *test) argument 1603 tb_test_tunnel_3dp(struct kunit *test) argument 1668 tb_test_tunnel_usb3(struct kunit *test) argument 1723 tb_test_tunnel_port_on_path(struct kunit *test) argument 1789 tb_test_tunnel_dma(struct kunit *test) argument 1832 tb_test_tunnel_dma_rx(struct kunit *test) argument 1869 tb_test_tunnel_dma_tx(struct kunit *test) argument 1906 tb_test_tunnel_dma_chain(struct kunit *test) argument 1972 tb_test_tunnel_dma_match(struct kunit *test) argument 2023 tb_test_credit_alloc_legacy_not_bonded(struct kunit *test) argument 2056 tb_test_credit_alloc_legacy_bonded(struct kunit *test) argument 2089 tb_test_credit_alloc_pcie(struct kunit *test) argument 2122 tb_test_credit_alloc_without_dp(struct kunit *test) argument 2172 tb_test_credit_alloc_dp(struct kunit *test) argument 2216 tb_test_credit_alloc_usb3(struct kunit *test) argument 2249 tb_test_credit_alloc_dma(struct kunit *test) argument 2285 tb_test_credit_alloc_dma_multiple(struct kunit *test) argument 2382 TB_TEST_PCIE_TUNNEL(struct kunit *test, struct tb_switch *host, struct tb_switch *dev) argument 2412 TB_TEST_DP_TUNNEL1(struct kunit *test, struct tb_switch *host, struct tb_switch *dev) argument 2449 TB_TEST_DP_TUNNEL2(struct kunit *test, struct tb_switch *host, struct tb_switch *dev) argument 2486 TB_TEST_USB3_TUNNEL(struct kunit *test, struct tb_switch *host, struct tb_switch *dev) argument 2516 TB_TEST_DMA_TUNNEL1(struct kunit *test, struct tb_switch *host, struct tb_switch *dev) argument 2546 TB_TEST_DMA_TUNNEL2(struct kunit *test, struct tb_switch *host, struct tb_switch *dev) argument 2576 tb_test_credit_alloc_all(struct kunit *test) argument 2666 tb_test_property_parse(struct kunit *test) argument 2726 tb_test_property_format(struct kunit *test) argument 2753 compare_dirs(struct kunit *test, struct tb_property_dir *d1, struct tb_property_dir *d2) argument 2823 tb_test_property_copy(struct kunit *test) argument [all...] |
/linux-master/scripts/gcc-plugins/ |
H A D | gcc-common.h | 161 inline bool is_a_helper<const gassign *>::test(const_gimple gs) function in class:is_a_helper 319 inline bool is_a_helper<const ggoto *>::test(const_gimple gs) function in class:is_a_helper 326 inline bool is_a_helper<const greturn *>::test(const_gimple gs) function in class:is_a_helper
|
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_kunit.c | 246 static void test_vcap_xn_rule_creator(struct kunit *test, int cid, argument 328 vcap_api_set_bit_1_test(struct kunit *test) argument 345 vcap_api_set_bit_0_test(struct kunit *test) argument 363 vcap_api_iterator_init_test(struct kunit *test) argument 392 vcap_api_iterator_next_test(struct kunit *test) argument 426 vcap_api_encode_typegroups_test(struct kunit *test) argument 455 vcap_api_encode_bit_test(struct kunit *test) argument 481 vcap_api_encode_field_test(struct kunit *test) argument 532 vcap_api_encode_short_field_test(struct kunit *test) argument 577 vcap_api_encode_keyfield_test(struct kunit *test) argument 636 vcap_api_encode_max_keyfield_test(struct kunit *test) argument 703 vcap_api_encode_actionfield_test(struct kunit *test) argument 750 vcap_api_keyfield_typegroup_test(struct kunit *test) argument 770 vcap_api_actionfield_typegroup_test(struct kunit *test) argument 793 vcap_api_vcap_keyfields_test(struct kunit *test) argument 809 vcap_api_vcap_actionfields_test(struct kunit *test) argument 823 vcap_api_encode_rule_keyset_test(struct kunit *test) argument 935 vcap_api_encode_rule_actionset_test(struct kunit *test) argument 1007 vcap_api_rule_add_keyvalue_test(struct kunit *test) argument 1108 vcap_api_rule_add_actionvalue_test(struct kunit *test) argument 1184 vcap_api_rule_find_keyset_basic_test(struct kunit *test) argument 1231 vcap_api_rule_find_keyset_failed_test(struct kunit *test) argument 1278 vcap_api_rule_find_keyset_many_test(struct kunit *test) argument 1330 vcap_api_encode_rule_test(struct kunit *test) argument 1459 vcap_api_set_rule_counter_test(struct kunit *test) argument 1512 vcap_api_get_rule_counter_test(struct kunit *test) argument 1569 vcap_api_rule_insert_in_order_test(struct kunit *test) argument 1607 vcap_api_rule_insert_reverse_order_test(struct kunit *test) argument 1670 vcap_api_rule_remove_at_end_test(struct kunit *test) argument 1742 vcap_api_rule_remove_in_middle_test(struct kunit *test) argument 1817 vcap_api_rule_remove_in_front_test(struct kunit *test) argument 1880 vcap_api_next_lookup_basic_test(struct kunit *test) argument 1926 vcap_api_next_lookup_advanced_test(struct kunit *test) argument 2003 vcap_api_filter_unsupported_keys_test(struct kunit *test) argument 2070 vcap_api_filter_keylist_test(struct kunit *test) argument 2195 vcap_api_rule_chain_path_test(struct kunit *test) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 129 efx_ethtool_self_test(struct net_device *net_dev, struct ethtool_test *test, u64 *data) argument 258 efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, int *test, const char *unit_format, int unit_id, const char *test_format, const char *test_id) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 209 ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, int *test, const char *unit_format, int unit_id, const char *test_format, const char *test_id) argument 494 ef4_ethtool_self_test(struct net_device *net_dev, struct ethtool_test *test, u64 *data) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 209 efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, int *test, const char *unit_format, int unit_id, const char *test_format, const char *test_id) argument 350 efx_siena_ethtool_self_test(struct net_device *net_dev, struct ethtool_test *test, u64 *data) argument [all...] |
/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be_ethtool.c | 896 static void be_self_test(struct net_device *netdev, struct ethtool_test *test, argument [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | gr_udc.c | 890 u8 test; local
|
/linux-master/drivers/misc/ |
H A D | pci_endpoint_test.c | 131 static inline u32 pci_endpoint_test_readl(struct pci_endpoint_test *test, argument 137 static inline void pci_endpoint_test_writel(struct pci_endpoint_test *test, argument 143 static inline u32 pci_endpoint_test_bar_readl(struct pci_endpoint_test *test, argument 149 static inline void pci_endpoint_test_bar_writel(struct pci_endpoint_test *test, argument 157 struct pci_endpoint_test *test = dev_id; local 169 pci_endpoint_test_free_irq_vectors(struct pci_endpoint_test *test) argument 177 pci_endpoint_test_alloc_irq_vectors(struct pci_endpoint_test *test, int type) argument 216 pci_endpoint_test_release_irq(struct pci_endpoint_test *test) argument 228 pci_endpoint_test_request_irq(struct pci_endpoint_test *test) argument 275 pci_endpoint_test_bar(struct pci_endpoint_test *test, enum pci_barno barno) argument 304 pci_endpoint_test_intx_irq(struct pci_endpoint_test *test) argument 321 pci_endpoint_test_msi_irq(struct pci_endpoint_test *test, u16 msi_num, bool msix) argument 357 pci_endpoint_test_copy(struct pci_endpoint_test *test, unsigned long arg) argument 497 pci_endpoint_test_write(struct pci_endpoint_test *test, unsigned long arg) argument 598 pci_endpoint_test_read(struct pci_endpoint_test *test, unsigned long arg) argument 691 pci_endpoint_test_clear_irq(struct pci_endpoint_test *test) argument 698 pci_endpoint_test_set_irq(struct pci_endpoint_test *test, int req_irq_type) argument 733 struct pci_endpoint_test *test = to_endpoint_test(file->private_data); local 796 struct pci_endpoint_test *test; local 942 struct pci_endpoint_test *test = pci_get_drvdata(pdev); local [all...] |
/linux-master/mm/kasan/ |
H A D | kasan_test.c | 89 static void kasan_test_exit(struct kunit *test) argument 161 kmalloc_oob_right(struct kunit *test) argument 190 kmalloc_oob_left(struct kunit *test) argument 203 kmalloc_node_oob_right(struct kunit *test) argument 220 kmalloc_big_oob_right(struct kunit *test) argument 239 kmalloc_large_oob_right(struct kunit *test) argument 253 kmalloc_large_uaf(struct kunit *test) argument 265 kmalloc_large_invalid_free(struct kunit *test) argument 276 page_alloc_oob_right(struct kunit *test) argument 298 page_alloc_uaf(struct kunit *test) argument 312 krealloc_more_oob_helper(struct kunit *test, size_t size1, size_t size2) argument 347 krealloc_less_oob_helper(struct kunit *test, size_t size1, size_t size2) argument 391 krealloc_more_oob(struct kunit *test) argument 396 krealloc_less_oob(struct kunit *test) argument 401 krealloc_large_more_oob(struct kunit *test) argument 407 krealloc_large_less_oob(struct kunit *test) argument 417 krealloc_uaf(struct kunit *test) argument 432 kmalloc_oob_16(struct kunit *test) argument 457 kmalloc_uaf_16(struct kunit *test) argument 482 kmalloc_oob_memset_2(struct kunit *test) argument 500 kmalloc_oob_memset_4(struct kunit *test) argument 518 kmalloc_oob_memset_8(struct kunit *test) argument 536 kmalloc_oob_memset_16(struct kunit *test) argument 554 kmalloc_oob_in_memset(struct kunit *test) argument 571 kmalloc_memmove_negative_size(struct kunit *test) argument 597 kmalloc_memmove_invalid_size(struct kunit *test) argument 616 kmalloc_uaf(struct kunit *test) argument 628 kmalloc_uaf_memset(struct kunit *test) argument 648 kmalloc_uaf2(struct kunit *test) argument 682 kmalloc_uaf3(struct kunit *test) argument 701 kasan_atomics_helper(struct kunit *test, void *unsafe, void *safe) argument 759 kasan_atomics(struct kunit *test) argument 779 kmalloc_double_kzfree(struct kunit *test) argument 792 ksize_unpoisons_memory(struct kunit *test) argument 823 ksize_uaf(struct kunit *test) argument 860 rcu_uaf(struct kunit *test) argument 880 workqueue_uaf(struct kunit *test) argument 899 kfree_via_page(struct kunit *test) argument 914 kfree_via_phys(struct kunit *test) argument 927 kmem_cache_oob(struct kunit *test) argument 949 kmem_cache_double_free(struct kunit *test) argument 970 kmem_cache_invalid_free(struct kunit *test) argument 1001 kmem_cache_double_destroy(struct kunit *test) argument 1012 kmem_cache_accounted(struct kunit *test) argument 1039 kmem_cache_bulk(struct kunit *test) argument 1064 mempool_prepare_kmalloc(struct kunit *test, mempool_t *pool, size_t size) argument 1086 mempool_prepare_slab(struct kunit *test, mempool_t *pool, size_t size) argument 1107 mempool_prepare_page(struct kunit *test, mempool_t *pool, int order) argument 1123 mempool_oob_right_helper(struct kunit *test, mempool_t *pool, size_t size) argument 1142 mempool_kmalloc_oob_right(struct kunit *test) argument 1156 mempool_kmalloc_large_oob_right(struct kunit *test) argument 1170 mempool_slab_oob_right(struct kunit *test) argument 1192 mempool_uaf_helper(struct kunit *test, mempool_t *pool, bool page) argument 1205 mempool_kmalloc_uaf(struct kunit *test) argument 1219 mempool_kmalloc_large_uaf(struct kunit *test) argument 1233 mempool_slab_uaf(struct kunit *test) argument 1247 mempool_page_alloc_uaf(struct kunit *test) argument 1261 mempool_double_free_helper(struct kunit *test, mempool_t *pool) argument 1273 mempool_kmalloc_double_free(struct kunit *test) argument 1287 mempool_kmalloc_large_double_free(struct kunit *test) argument 1301 mempool_page_alloc_double_free(struct kunit *test) argument 1315 mempool_kmalloc_invalid_free_helper(struct kunit *test, mempool_t *pool) argument 1327 mempool_kmalloc_invalid_free(struct kunit *test) argument 1341 mempool_kmalloc_large_invalid_free(struct kunit *test) argument 1363 kasan_global_oob_right(struct kunit *test) argument 1386 kasan_global_oob_left(struct kunit *test) argument 1400 kasan_stack_oob(struct kunit *test) argument 1412 kasan_alloca_oob_left(struct kunit *test) argument 1427 kasan_alloca_oob_right(struct kunit *test) argument 1442 kasan_memchr(struct kunit *test) argument 1467 kasan_memcmp(struct kunit *test) argument 1493 kasan_strings(struct kunit *test) argument 1529 kasan_bitops_modify(struct kunit *test, int nr, void *addr) argument 1541 kasan_bitops_test_and_modify(struct kunit *test, int nr, void *addr) argument 1556 kasan_bitops_generic(struct kunit *test) argument 1585 kasan_bitops_tags(struct kunit *test) argument 1603 vmalloc_helpers_tags(struct kunit *test) argument 1641 vmalloc_oob(struct kunit *test) argument 1692 vmap_tags(struct kunit *test) argument 1738 vm_map_ram_tags(struct kunit *test) argument 1768 vmalloc_percpu(struct kunit *test) argument 1799 match_all_not_assigned(struct kunit *test) argument 1840 match_all_ptr_tag(struct kunit *test) argument 1866 match_all_mem_tag(struct kunit *test) argument [all...] |
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | fp-ptrace.c | 626 static bool run_parent(pid_t child, struct test_definition *test, argument 1194 static void run_test(struct test_definition *test, struct test_config *config) argument [all...] |
/linux-master/kernel/trace/ |
H A D | trace_events_trigger.c | 570 struct event_trigger_data *test; local 603 try_unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument 642 unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument 1171 is_named_trigger(struct event_trigger_data *test) argument 1215 struct event_trigger_data *test; local 1878 struct event_trigger_data *test; local 1912 event_enable_unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument [all...] |
/linux-master/kernel/kcsan/ |
H A D | kcsan_test.c | 528 test_barrier_nothreads(struct kunit *test) argument 713 test_basic(struct kunit *test) argument 744 test_concurrent_races(struct kunit *test) argument 773 test_novalue_change(struct kunit *test) argument 805 test_novalue_change_exception(struct kunit *test) argument 831 test_unknown_origin(struct kunit *test) argument 853 test_write_write_assume_atomic(struct kunit *test) argument 879 test_write_write_struct(struct kunit *test) argument 901 test_write_write_struct_part(struct kunit *test) argument 920 test_read_atomic_write_atomic(struct kunit *test) argument 933 test_read_plain_atomic_write(struct kunit *test) argument 954 test_read_plain_atomic_rmw(struct kunit *test) argument 976 test_zero_size_access(struct kunit *test) argument 1004 test_data_race(struct kunit *test) argument 1017 test_data_racy_qualifier(struct kunit *test) argument 1029 test_assert_exclusive_writer(struct kunit *test) argument 1047 test_assert_exclusive_access(struct kunit *test) argument 1065 test_assert_exclusive_access_writer(struct kunit *test) argument 1101 test_assert_exclusive_bits_change(struct kunit *test) argument 1120 test_assert_exclusive_bits_nochange(struct kunit *test) argument 1132 test_assert_exclusive_writer_scoped(struct kunit *test) argument 1159 test_assert_exclusive_access_scoped(struct kunit *test) argument 1195 test_jiffies_noreport(struct kunit *test) argument 1208 test_seqlock_noreport(struct kunit *test) argument 1226 test_atomic_builtins(struct kunit *test) argument 1273 test_1bit_value_change(struct kunit *test) argument 1296 test_correct_barrier(struct kunit *test) argument 1315 test_missing_barrier(struct kunit *test) argument 1337 test_atomic_builtins_correct_barrier(struct kunit *test) argument 1357 test_atomic_builtins_missing_barrier(struct kunit *test) argument 1511 test_init(struct kunit *test) argument 1563 test_exit(struct kunit *test) argument [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | eeprom_def.c | 1142 ath9k_hw_def_set_txpower(struct ath_hw *ah, struct ath9k_channel *chan, u16 cfgCtl, u8 twiceAntennaReduction, u8 powerLimit, bool test) argument
|
/linux-master/include/kunit/ |
H A D | test.h | 308 kunit_set_failure(struct kunit *test) argument 444 kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) argument 464 kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) argument 478 kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) argument [all...] |
/linux-master/lib/kunit/ |
H A D | test.c | 101 static void kunit_print_test_stats(struct kunit *test, argument 168 kunit_print_ok_not_ok(struct kunit *test, unsigned int test_level, enum kunit_status status, size_t test_number, const char *description, const char *directive) argument 251 kunit_print_string_stream(struct kunit *test, struct string_stream *stream) argument 274 kunit_fail(struct kunit *test, const struct kunit_loc *loc, enum kunit_assert_type type, const struct kunit_assert *assert, assert_format_t assert_format, const struct va_format *message) argument 299 __kunit_abort(struct kunit *test) argument 313 __kunit_do_failed_assertion(struct kunit *test, const struct kunit_loc *loc, enum kunit_assert_type type, const struct kunit_assert *assert, assert_format_t assert_format, const char *fmt, ...) argument 333 kunit_init_test(struct kunit *test, const char *name, struct string_stream *log) argument 357 kunit_run_case_check_speed(struct kunit *test, struct kunit_case *test_case, struct timespec64 duration) argument 379 kunit_run_case_internal(struct kunit *test, struct kunit_suite *suite, struct kunit_case *test_case) argument 405 kunit_case_internal_cleanup(struct kunit *test) argument 414 kunit_run_case_cleanup(struct kunit *test, struct kunit_suite *suite) argument 424 struct kunit *test; member in struct:kunit_try_catch_context 432 struct kunit *test = ctx->test; local 449 struct kunit *test = ctx->test; local 460 struct kunit *test = ctx->test; local 491 struct kunit *test = ctx->test; local 518 kunit_run_case_catch_errors(struct kunit_suite *suite, struct kunit_case *test_case, struct kunit *test) argument 623 struct kunit test = { .param_value = NULL, .param_index = 0 }; local 852 kunit_kmalloc_array(struct kunit *test, size_t n, size_t size, gfp_t gfp) argument 868 kunit_kfree(struct kunit *test, const void *ptr) argument 877 kunit_cleanup(struct kunit *test) argument [all...] |
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 68 struct test { struct 643 int test; local 940 int test; local 1049 int test; local 1207 int test; local 1368 is_setting_valid(char *test) argument 1404 char *test; local [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | lam.c | 260 int handle_max_bits(struct testcases *test) argument 279 static int handle_malloc(struct testcases *test) argument 311 handle_mmap(struct testcases *test) argument 347 handle_syscall(struct testcases *test) argument 634 handle_uring(struct testcases *test) argument 652 fork_test(struct testcases *test) argument 672 handle_execve(struct testcases *test) argument 708 handle_inheritance(struct testcases *test) argument 745 struct testcases *test = arg; local 750 handle_thread(struct testcases *test) argument 785 handle_thread_enable(struct testcases *test) argument 807 run_test(struct testcases *test, int count) argument 1078 handle_pasid(struct testcases *test) argument [all...] |