| /linux-6.15/tools/testing/selftests/kvm/arm64/ |
| H A D | vgic_lpi_stress.c | 32 static struct test_data { struct 46 } test_data = { argument 68 u32 nr_cpus = test_data.nr_cpus; in guest_setup_its_mappings() 116 test_data.device_table, SZ_64K, in guest_setup_gic() 117 test_data.cmdq_base, SZ_64K); in guest_setup_gic() 170 size_t nr_lpis = test_data.nr_devices * test_data.nr_event_ids; in configure_lpis() 185 u32 nr_cpus = test_data.nr_cpus; in setup_test_data() 199 test_data.cmdq_base = cmdq_base; in setup_test_data() 290 nr_lpis = test_data.nr_devices * test_data.nr_event_ids * nr_iterations; in report_stats() 301 u32 nr_vcpus = test_data.nr_cpus; in run_test() [all …]
|
| /linux-6.15/tools/testing/vsock/ |
| H A D | vsock_test_zerocopy.c | 145 const struct vsock_test_data *test_data, in test_client() argument 164 if (test_data->so_zerocopy) in test_client() 167 iovec = alloc_test_iovec(test_data->vecs, test_data->vecs_cnt); in test_client() 170 msg.msg_iovlen = test_data->vecs_cnt; in test_client() 175 if (errno != test_data->sendmsg_errno) { in test_client() 177 test_data->sendmsg_errno, errno); in test_client() 200 } else if (test_data->so_zerocopy && !test_data->sendmsg_errno) { in test_client() 209 if (!test_data->sendmsg_errno) in test_client() 215 free_test_iovec(test_data->vecs, iovec, test_data->vecs_cnt); in test_client() 260 data_len = iovec_bytes(test_data->vecs, test_data->vecs_cnt); in test_server() [all …]
|
| H A D | vsock_uring_test.c | 59 const struct vsock_io_uring_test *test_data, in vsock_io_uring_client() argument 78 iovec = alloc_test_iovec(test_data->vecs, test_data->vecs_cnt); in vsock_io_uring_client() 83 if (io_uring_register_buffers(&ring, iovec, test_data->vecs_cnt)) in vsock_io_uring_client() 88 msg.msg_iovlen = test_data->vecs_cnt; in vsock_io_uring_client() 104 control_writeulong(iovec_hash_djb2(iovec, test_data->vecs_cnt)); in vsock_io_uring_client() 108 free_test_iovec(test_data->vecs, iovec, test_data->vecs_cnt); in vsock_io_uring_client() 113 const struct vsock_io_uring_test *test_data) in vsock_io_uring_server() argument 129 data_len = iovec_bytes(test_data->vecs, test_data->vecs_cnt); in vsock_io_uring_server()
|
| /linux-6.15/lib/ |
| H A D | test_sysctl.c | 77 .data = &test_data.int_0001, 86 .data = &test_data.int_0002, 93 .data = &test_data.int_0003, 107 .data = &test_data.boot_int, 116 .data = &test_data.uint_0001, 123 .data = &test_data.string_0001, 130 .data = &test_data.bitmap_0001, 168 if (!test_data.bitmap_0001) in test_sysctl_setup_node_tests() 172 kfree(test_data.bitmap_0001); in test_sysctl_setup_node_tests() 183 .data = &test_data.int_0001, [all …]
|
| H A D | packing_test.c | 403 struct test_data { struct 413 PACKED_FIELD(63, 61, struct test_data, field1), argument 414 PACKED_FIELD(60, 52, struct test_data, field2), 415 PACKED_FIELD(51, 28, struct test_data, field3), 416 PACKED_FIELD(27, 14, struct test_data, field4), 417 PACKED_FIELD(13, 9, struct test_data, field5), 418 PACKED_FIELD(8, 0, struct test_data, field6), 423 const struct test_data data = { in packing_test_pack_fields() 446 struct test_data data = {}; in packing_test_unpack_fields()
|
| H A D | plist.c | 282 unsigned int test_data[241]; in plist_test() local 284 for (i = 0; i < ARRAY_SIZE(test_data); i++) in plist_test() 285 test_data[i] = i; in plist_test() 293 test_node[i].prio = test_data[i]; in plist_test()
|
| /linux-6.15/drivers/gpu/drm/kmb/ |
| H A D | kmb_dsi.c | 1002 test_data = 0x02; in set_slewrate_gt_1500() 1007 test_data = 0x00; in set_slewrate_gt_1500() 1023 test_data = (0x03 | (1 << 6)); in set_slewrate_gt_1000() 1028 test_data = 0x01; in set_slewrate_gt_1000() 1035 test_data = (0x72f & 0x7f); in set_slewrate_gt_1000() 1063 test_data = 0x01; in set_slewrate_lt_1000() 1068 test_data = (0x523 & 0x7f); in set_slewrate_lt_1000() 1084 test_data = 0x01; in setup_pll() 1148 test_data = 0x01; in dphy_init_sequence() 1150 test_data = 0x00; in dphy_init_sequence() [all …]
|
| /linux-6.15/drivers/thunderbolt/ |
| H A D | test.c | 514 test_data[i].type); in tb_test_path_single_hop_walk() 526 test_data[i].type); in tb_test_path_single_hop_walk() 573 test_data[i].type); in tb_test_path_daisy_chain_walk() 585 test_data[i].type); in tb_test_path_daisy_chain_walk() 636 test_data[i].type); in tb_test_path_simple_tree_walk() 648 test_data[i].type); in tb_test_path_simple_tree_walk() 720 test_data[i].type); in tb_test_path_complex_tree_walk() 732 test_data[i].type); in tb_test_path_complex_tree_walk() 823 test_data[i].type); in tb_test_path_max_length_walk() 835 test_data[i].type); in tb_test_path_max_length_walk() [all …]
|
| /linux-6.15/include/crypto/ |
| H A D | drbg.h | 144 struct drbg_string test_data; member 236 struct drbg_test_data *test_data) in crypto_drbg_get_bytes_addtl_test() argument 238 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_get_bytes_addtl_test() 239 test_data->testentropy->len); in crypto_drbg_get_bytes_addtl_test() 260 struct drbg_test_data *test_data) in crypto_drbg_reset_test() argument 262 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_reset_test() 263 test_data->testentropy->len); in crypto_drbg_reset_test()
|
| /linux-6.15/tools/perf/arch/x86/tests/ |
| H A D | insn-x86.c | 12 struct test_data { struct 21 const struct test_data test_data_32[] = { argument 28 const struct test_data test_data_64[] = { 100 static int test_data_item(const struct test_data *dat, int x86_64) in test_data_item() 150 static int test_data_set(const struct test_data *dat_set, int x86_64) in test_data_set() 152 const struct test_data *dat; in test_data_set()
|
| H A D | intel-pt-test.c | 25 static const struct test_data { struct 209 static void decoding_failed(const struct test_data *d) in decoding_failed() 216 static int fail(const struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() 245 static int test_ctx_unchanged(const struct test_data *d, struct intel_pt_pkt *packet, in test_ctx_unchanged() 261 static int test_one(const struct test_data *d) in test_one() 310 const struct test_data *d = data; in test__intel_pt_pkt_decoder()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_dp_test.c | 39 if (intel_dp->compliance.test_data.bpc != 0) { in intel_dp_test_compute_config() 40 int bpp = 3 * intel_dp->compliance.test_data.bpc; in intel_dp_test_compute_config() 158 intel_dp->compliance.test_data.bpc = 6; in intel_dp_autotest_video_pattern() 161 intel_dp->compliance.test_data.bpc = 8; in intel_dp_autotest_video_pattern() 226 &intel_dp->compliance.test_data.phytest; in intel_dp_phy_pattern_update() 312 &intel_dp->compliance.test_data.phytest; in intel_dp_process_phy_request() 340 &intel_dp->compliance.test_data.phytest; in intel_dp_autotest_phy_pattern() 683 intel_dp->compliance.test_data.edid); in i915_displayport_test_data_show() 687 intel_dp->compliance.test_data.hdisplay); in i915_displayport_test_data_show() 689 intel_dp->compliance.test_data.vdisplay); in i915_displayport_test_data_show() [all …]
|
| /linux-6.15/tools/perf/tests/ |
| H A D | dlfilter-test.c | 42 struct test_data { struct 69 struct test_data *td = container_of(tool, struct test_data, tool); in process() argument 112 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) in write_attr() 173 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) in write_sample() 245 static int check_filter_desc(struct test_data *td) in check_filter_desc() 263 static int get_ip_addr(struct test_data *td) in get_ip_addr() 288 static int do_run_perf_script(struct test_data *td, int do_early) in do_run_perf_script() 302 static int run_perf_script(struct test_data *td) in run_perf_script() 320 static int test__dlfilter_test(struct test_data *td) in test__dlfilter_test() 395 static void test_data__free(struct test_data *td) in test_data__free() [all …]
|
| H A D | time-utils-test.c | 60 struct test_data { struct 70 static bool test__perf_time__parse_for_ranges(struct test_data *d) in test__perf_time__parse_for_ranges() argument 160 struct test_data d = { in test__time_utils() 175 struct test_data d = { in test__time_utils() 190 struct test_data d = { in test__time_utils() 205 struct test_data d = { in test__time_utils() 220 struct test_data d = { in test__time_utils() 235 struct test_data d = { in test__time_utils()
|
| /linux-6.15/sound/pci/asihpi/ |
| H A D | hpi6000.c | 718 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 722 if (data != test_data) { in hpi6000_adapter_boot_load_dsp() 727 test_data = test_data << 1; in hpi6000_adapter_boot_load_dsp() 778 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 790 test_data = test_data << 1; in hpi6000_adapter_boot_load_dsp() 895 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 908 test_data = test_data << 1; in hpi6000_adapter_boot_load_dsp() 914 test_data = 0x0; in hpi6000_adapter_boot_load_dsp() 917 test_data++; in hpi6000_adapter_boot_load_dsp() 920 test_data = 0x0; in hpi6000_adapter_boot_load_dsp() [all …]
|
| /linux-6.15/tools/testing/selftests/kvm/x86/ |
| H A D | nested_emulation_test.c | 49 static void guest_code(void *test_data) in guest_code() argument 57 struct svm_test_data *svm = test_data; in guest_code() 69 GUEST_ASSERT(prepare_for_vmx_operation(test_data)); in guest_code() 70 GUEST_ASSERT(load_vmcs(test_data)); in guest_code() 72 prepare_vmcs(test_data, NULL, NULL); in guest_code() 97 struct svm_test_data *svm = test_data; in guest_code()
|
| H A D | hyperv_tlb_flush.c | 63 struct test_data { struct 71 static void worker_guest_code(vm_vaddr_t test_data) in worker_guest_code() argument 73 struct test_data *data = (struct test_data *)test_data; in worker_guest_code() 159 static inline void prepare_to_test(struct test_data *data) in prepare_to_test() 182 static inline void post_test(struct test_data *data, u64 exp1, u64 exp2) in post_test() 199 static void sender_guest_code(vm_vaddr_t test_data) in sender_guest_code() argument 201 struct test_data *data = (struct test_data *)test_data; in sender_guest_code() 587 struct test_data *data; in main() 597 data = (struct test_data *)addr_gva2hva(vm, test_data_page); in main()
|
| H A D | nested_exceptions_test.c | 159 static void __attribute__((__flatten__)) l1_guest_code(void *test_data) in l1_guest_code() argument 162 l1_svm_code(test_data); in l1_guest_code() 164 l1_vmx_code(test_data); in l1_guest_code()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cgroup_ancestor.c | 16 struct test_data { struct 49 static int setup_network(struct test_data *t) in setup_network() 85 static void cleanup_network(struct test_data *t) in cleanup_network() 93 static void check_ancestors_ids(struct test_data *t) in check_ancestors_ids() 114 struct test_data t; in test_cgroup_ancestor()
|
| H A D | xdp_do_redirect.c | 259 struct test_data { struct 264 static void cleanup(struct test_data *data) in cleanup() argument 292 static int ping_setup(struct test_data *data) in ping_setup() 324 static void ping_test(struct test_data *data) in ping_test() 391 struct test_data data = {}; in xdp_redirect_ping()
|
| /linux-6.15/samples/bpf/ |
| H A D | test_lwt_bpf.sh | 199 function test_data { function 201 install_test $1 test_data 214 install_test in test_data 386 test_data "xmit" 387 test_data "out"
|
| /linux-6.15/lib/kunit/ |
| H A D | platform-test.c | 125 static const char * const test_data = "test data"; variable 140 ctx->data = test_data; in kunit_platform_driver_probe() 168 KUNIT_EXPECT_STREQ(test, ctx->data, test_data); in kunit_platform_driver_register_test()
|
| /linux-6.15/fs/ext4/ |
| H A D | inode-test.c | 83 static const struct timestamp_expectation test_data[] = { variable 220 KUNIT_ARRAY_PARAM(ext4_inode, test_data, timestamp_expectation_to_desc);
|
| /linux-6.15/drivers/media/platform/raspberrypi/rp1-cfe/ |
| H A D | dphy.c | 83 uint8_t test_data) in dphy_transaction() argument 92 set_testdin(dphy, test_data); in dphy_transaction()
|
| /linux-6.15/drivers/char/hw_random/ |
| H A D | n2-drv.c | 423 unsigned long ra = __pa(&np->test_data); in n2rng_data_read() 436 np->buffer = np->test_data >> 32; in n2rng_data_read() 437 *data = np->test_data & 0xffffffff; in n2rng_data_read() 458 unsigned long ra = __pa(&np->test_data); in n2rng_guest_check()
|