/kernel/linux/linux-5.10/lib/ |
H A D | test_sysctl.c | 57 static struct test_sysctl_data test_data = { variable 77 .data = &test_data.int_0001, 86 .data = &test_data.int_0002, 93 .data = &test_data.int_0003, 94 .maxlen = sizeof(test_data.int_0003), 100 .data = &test_data.boot_int, 101 .maxlen = sizeof(test_data.boot_int), 109 .data = &test_data.uint_0001, 116 .data = &test_data.string_0001, 117 .maxlen = sizeof(test_data [all...] |
H A D | test_firmware.c | 643 static const u8 test_data[] = { in trigger_request_platform_store() local 661 efi_embedded_fw.data = (void *)test_data; in trigger_request_platform_store() 662 efi_embedded_fw.length = sizeof(test_data); in trigger_request_platform_store() 673 if (firmware->size != sizeof(test_data) || in trigger_request_platform_store() 674 memcmp(firmware->data, test_data, sizeof(test_data)) != 0) { in trigger_request_platform_store()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_sysctl.c | 55 static struct test_sysctl_data test_data = { variable 75 .data = &test_data.int_0001, 84 .data = &test_data.int_0002, 91 .data = &test_data.int_0003, 92 .maxlen = sizeof(test_data.int_0003), 105 .data = &test_data.boot_int, 106 .maxlen = sizeof(test_data.boot_int), 114 .data = &test_data.uint_0001, 121 .data = &test_data.string_0001, 122 .maxlen = sizeof(test_data [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | test.c | 363 static const struct port_expectation test_data[] = { in tb_test_path_single_hop_walk() local 383 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 384 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 385 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk() 387 test_data[i].type); in tb_test_path_single_hop_walk() 391 KUNIT_EXPECT_EQ(test, i, (int)ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 393 i = ARRAY_SIZE(test_data) - 1; in tb_test_path_single_hop_walk() 395 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 396 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 397 KUNIT_EXPECT_EQ(test, p->port, test_data[ in tb_test_path_single_hop_walk() 419 static const struct port_expectation test_data[] = { tb_test_path_daisy_chain_walk() local 480 static const struct port_expectation test_data[] = { tb_test_path_simple_tree_walk() local 551 static const struct port_expectation test_data[] = { tb_test_path_complex_tree_walk() local 642 static const struct port_expectation test_data[] = { tb_test_path_max_length_walk() local 753 static const struct hop_expectation test_data[] = { tb_test_path_not_bonded_lane0() local 815 static const struct hop_expectation test_data[] = { tb_test_path_not_bonded_lane1() local 879 static const struct hop_expectation test_data[] = { tb_test_path_not_bonded_lane1_chain() local 959 static const struct hop_expectation test_data[] = { tb_test_path_not_bonded_lane1_chain_reverse() local 1043 static const struct hop_expectation test_data[] = { tb_test_path_mixed_chain() local 1135 static const struct hop_expectation test_data[] = { tb_test_path_mixed_chain_reverse() local [all...] |
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | inode-test.c | 104 const struct timestamp_expectation test_data[] = { in inode_test_xtimestamp_decoding() local 238 for (i = 0; i < ARRAY_SIZE(test_data); ++i) { in inode_test_xtimestamp_decoding() 239 timestamp.tv_sec = get_32bit_time(&test_data[i]); in inode_test_xtimestamp_decoding() 241 cpu_to_le32(test_data[i].extra_bits)); in inode_test_xtimestamp_decoding() 244 test_data[i].expected.tv_sec, in inode_test_xtimestamp_decoding() 247 test_data[i].test_case_name, in inode_test_xtimestamp_decoding() 248 test_data[i].msb_set, in inode_test_xtimestamp_decoding() 249 test_data[i].lower_bound, in inode_test_xtimestamp_decoding() 250 test_data[i].extra_bits); in inode_test_xtimestamp_decoding() 252 test_data[ in inode_test_xtimestamp_decoding() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | test.c | 490 static const struct port_expectation test_data[] = { in tb_test_path_single_hop_walk() local 510 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 511 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 512 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk() 514 test_data[i].type); in tb_test_path_single_hop_walk() 518 KUNIT_EXPECT_EQ(test, i, ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 520 i = ARRAY_SIZE(test_data) - 1; in tb_test_path_single_hop_walk() 522 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 523 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 524 KUNIT_EXPECT_EQ(test, p->port, test_data[ in tb_test_path_single_hop_walk() 546 static const struct port_expectation test_data[] = { tb_test_path_daisy_chain_walk() local 607 static const struct port_expectation test_data[] = { tb_test_path_simple_tree_walk() local 678 static const struct port_expectation test_data[] = { tb_test_path_complex_tree_walk() local 769 static const struct port_expectation test_data[] = { tb_test_path_max_length_walk() local 880 static const struct hop_expectation test_data[] = { tb_test_path_not_bonded_lane0() local 942 static const struct hop_expectation test_data[] = { tb_test_path_not_bonded_lane1() local 1006 static const struct hop_expectation test_data[] = { tb_test_path_not_bonded_lane1_chain() local 1086 static const struct hop_expectation test_data[] = { tb_test_path_not_bonded_lane1_chain_reverse() local 1170 static const struct hop_expectation test_data[] = { tb_test_path_mixed_chain() local 1262 static const struct hop_expectation test_data[] = { tb_test_path_mixed_chain_reverse() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/kmb/ |
H A D | kmb_dsi.c | 772 u32 test_code, u32 test_data) in test_mode_send() 814 test_data << ((dphy_no % 4) * 8)); in test_mode_send() 997 u32 test_code = 0, test_data = 0; in set_slewrate_gt_1500() local 1002 test_data = 0x02; in set_slewrate_gt_1500() 1003 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1500() 1007 test_data = 0x00; in set_slewrate_gt_1500() 1008 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1500() 1013 u32 test_code = 0, test_data = 0; in set_slewrate_gt_1000() local 1023 test_data = (0x03 | (1 << 6)); in set_slewrate_gt_1000() 1024 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1000() 771 test_mode_send(struct kmb_dsi *kmb_dsi, u32 dphy_no, u32 test_code, u32 test_data) test_mode_send() argument 1048 u32 test_code = 0, test_data = 0; set_slewrate_lt_1000() local 1080 u32 test_code = 0, test_data = 0; setup_pll() local 1101 u32 i, test_code = 0, test_data = 0; set_lane_data_rate() local 1122 u32 test_code = 0, test_data = 0, val; dphy_init_sequence() local [all...] |
/kernel/linux/linux-5.10/sound/pci/asihpi/ |
H A D | hpi6000.c | 637 u32 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() local 718 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 720 iowrite32(test_data, pdo->prHPI_address); in hpi6000_adapter_boot_load_dsp() 722 if (data != test_data) { in hpi6000_adapter_boot_load_dsp() 724 test_data, data, dsp_index); 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() 780 hpi_write_word(pdo, test_addr + i, test_data); in hpi6000_adapter_boot_load_dsp() 782 if (data != test_data) { in hpi6000_adapter_boot_load_dsp() [all...] |
/kernel/linux/linux-6.6/sound/pci/asihpi/ |
H A D | hpi6000.c | 637 u32 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() local 718 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 720 iowrite32(test_data, pdo->prHPI_address); in hpi6000_adapter_boot_load_dsp() 722 if (data != test_data) { in hpi6000_adapter_boot_load_dsp() 724 test_data, data, dsp_index); 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() 780 hpi_write_word(pdo, test_addr + i, test_data); in hpi6000_adapter_boot_load_dsp() 782 if (data != test_data) { in hpi6000_adapter_boot_load_dsp() [all...] |
/kernel/linux/linux-5.10/include/crypto/ |
H A D | drbg.h | 143 struct drbg_string test_data; member 220 * allow furnishing of test_data 227 * @test_data filled test data 235 struct drbg_test_data *test_data) in crypto_drbg_get_bytes_addtl_test() 237 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_get_bytes_addtl_test() 238 test_data->testentropy->len); in crypto_drbg_get_bytes_addtl_test() 247 * crypto_rng_reset() to allow the caller to provide test_data 252 * @test_data filled test data 259 struct drbg_test_data *test_data) in crypto_drbg_reset_test() 261 crypto_rng_set_entropy(drng, test_data in crypto_drbg_reset_test() 232 crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng, unsigned char *outbuf, unsigned int outlen, struct drbg_string *addtl, struct drbg_test_data *test_data) crypto_drbg_get_bytes_addtl_test() argument 257 crypto_drbg_reset_test(struct crypto_rng *drng, struct drbg_string *pers, struct drbg_test_data *test_data) crypto_drbg_reset_test() argument [all...] |
/kernel/linux/linux-6.6/include/crypto/ |
H A D | drbg.h | 144 struct drbg_string test_data; member 221 * allow furnishing of test_data 228 * @test_data filled test data 236 struct drbg_test_data *test_data) in crypto_drbg_get_bytes_addtl_test() 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() 248 * crypto_rng_reset() to allow the caller to provide test_data 253 * @test_data filled test data 260 struct drbg_test_data *test_data) in crypto_drbg_reset_test() 262 crypto_rng_set_entropy(drng, test_data in crypto_drbg_reset_test() 233 crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng, unsigned char *outbuf, unsigned int outlen, struct drbg_string *addtl, struct drbg_test_data *test_data) crypto_drbg_get_bytes_addtl_test() argument 258 crypto_drbg_reset_test(struct crypto_rng *drng, struct drbg_string *pers, struct drbg_test_data *test_data) crypto_drbg_reset_test() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
H A D | insn-x86.c | 12 struct test_data { struct 21 struct test_data test_data_32[] = { 28 struct test_data test_data_64[] = { 95 static int test_data_item(struct test_data *dat, int x86_64) in test_data_item() 146 static int test_data_set(struct test_data *dat_set, int x86_64) in test_data_set() 148 struct test_data *dat; in test_data_set()
|
H A D | intel-pt-pkt-decoder-test.c | 12 * struct test_data - Test data. 20 struct test_data { struct 193 static void decoding_failed(struct test_data *d) in decoding_failed() 200 static int fail(struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() 229 static int test_ctx_unchanged(struct test_data *d, struct intel_pt_pkt *packet, in test_ctx_unchanged() 245 static int test_one(struct test_data *d) in test_one() 294 struct test_data *d = data; in test__intel_pt_pkt_decoder()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/ |
H A D | insn-x86.c | 12 struct test_data { struct 21 const struct test_data test_data_32[] = { 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 | 17 * struct test_data - Test data. 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()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
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() 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()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
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() 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()
|
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() 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 *t [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_tlb_flush.c | 65 struct test_data { struct 73 static void worker_guest_code(vm_vaddr_t test_data) in worker_guest_code() argument 75 struct test_data *data = (struct test_data *)test_data; in worker_guest_code() 161 static inline void prepare_to_test(struct test_data *data) in prepare_to_test() 184 static inline void post_test(struct test_data *data, u64 exp1, u64 exp2) in post_test() 201 static void sender_guest_code(vm_vaddr_t test_data) in sender_guest_code() argument 203 struct test_data *data = (struct test_data *)test_dat in sender_guest_code() [all...] |
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()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | test_lwt_bpf.sh | 196 function test_data { function 197 test_start "test_data on lwt $1" 198 install_test $1 test_data 200 failure "test_data ${1}: packets are dropped" 210 test_start "test_data on lwt in" 211 install_test in test_data 213 failure "test_data in: packets are dropped" 382 test_data "xmit" 383 test_data "out"
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | test_lwt_bpf.sh | 199 function test_data { function 200 test_start "test_data on lwt $1" 201 install_test $1 test_data 203 failure "test_data ${1}: packets are dropped" 213 test_start "test_data on lwt in" 214 install_test in test_data 216 failure "test_data in: packets are dropped" 386 test_data "xmit" 387 test_data "out"
|
/kernel/linux/linux-6.6/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);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
H A D | dp_debug.c | 373 struct dentry *test_data, *test_type; in dp_debug_init() local 392 test_data = debugfs_create_file("msm_dp_test_data", 0444, in dp_debug_init() 395 if (IS_ERR_OR_NULL(test_data)) { in dp_debug_init() 396 rc = PTR_ERR(test_data); in dp_debug_init() 397 DRM_ERROR("[%s] debugfs test_data failed, rc=%d\n", in dp_debug_init()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | mmc_test.c | 2192 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_blocking_perf() local 2201 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_blocking_perf() 2211 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_nonblock_perf() local 2220 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_nonblock_perf() 2230 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_blocking_perf() local 2239 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_blocking_perf() 2249 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_nonblock_perf() local 2258 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_nonblock_perf() 2268 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_blocking_perf() local 2277 return mmc_test_rw_multiple_sg_len(test, &test_data); in mmc_test_profile_sglen_wr_blocking_perf() 2287 struct mmc_test_multiple_rw test_data = { mmc_test_profile_sglen_wr_nonblock_perf() local 2306 struct mmc_test_multiple_rw test_data = { mmc_test_profile_sglen_r_blocking_perf() local 2325 struct mmc_test_multiple_rw test_data = { mmc_test_profile_sglen_r_nonblock_perf() local [all...] |