/linux-master/lib/ |
H A D | test_sysctl.c | 57 static struct test_sysctl_data test_data = { variable in typeref:struct:test_sysctl_data 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), 107 .data = &test_data.boot_int, 108 .maxlen = sizeof(test_data.boot_int), 116 .data = &test_data.uint_0001, 123 .data = &test_data.string_0001, 124 .maxlen = sizeof(test_data [all...] |
H A D | test_firmware.c | 708 static const u8 test_data[] = { local 726 efi_embedded_fw.data = (void *)test_data; 727 efi_embedded_fw.length = sizeof(test_data); 738 if (firmware->size != sizeof(test_data) || 739 memcmp(firmware->data, test_data, sizeof(test_data)) != 0) {
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_test_zerocopy.c | 145 const struct vsock_test_data *test_data, 164 if (test_data->so_zerocopy) 167 iovec = alloc_test_iovec(test_data->vecs, test_data->vecs_cnt); 170 msg.msg_iovlen = test_data->vecs_cnt; 175 if (errno != test_data->sendmsg_errno) { 177 test_data->sendmsg_errno, errno); 182 if (sendmsg_res != iovec_bytes(iovec, test_data->vecs_cnt)) { 184 iovec_bytes(iovec, test_data->vecs_cnt), 199 vsock_recv_completion(fd, &test_data 144 test_client(const struct test_opts *opts, const struct vsock_test_data *test_data, bool sock_seqpacket) argument 239 test_server(const struct test_opts *opts, const struct vsock_test_data *test_data, bool sock_seqpacket) argument [all...] |
H A D | vsock_uring_test.c | 59 const struct vsock_io_uring_test *test_data, 78 iovec = alloc_test_iovec(test_data->vecs, test_data->vecs_cnt); 83 if (io_uring_register_buffers(&ring, iovec, test_data->vecs_cnt)) 88 msg.msg_iovlen = test_data->vecs_cnt; 104 control_writeulong(iovec_hash_djb2(iovec, test_data->vecs_cnt)); 108 free_test_iovec(test_data->vecs, iovec, test_data->vecs_cnt); 113 const struct vsock_io_uring_test *test_data) 129 data_len = iovec_bytes(test_data 58 vsock_io_uring_client(const struct test_opts *opts, const struct vsock_io_uring_test *test_data, bool msg_zerocopy) argument 112 vsock_io_uring_server(const struct test_opts *opts, const struct vsock_io_uring_test *test_data) argument [all...] |
/linux-master/include/crypto/ |
H A D | drbg.h | 144 struct drbg_string test_data; member in struct:drbg_state 221 * allow furnishing of test_data 228 * @test_data filled test data 236 struct drbg_test_data *test_data) 238 crypto_rng_set_entropy(drng, test_data->testentropy->buf, 239 test_data->testentropy->len); 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) 262 crypto_rng_set_entropy(drng, test_data 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) argument 258 crypto_drbg_reset_test(struct crypto_rng *drng, struct drbg_string *pers, struct drbg_test_data *test_data) argument [all...] |
/linux-master/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) 150 static int test_data_set(const struct test_data *dat_set, int x86_64) 152 const struct test_data *dat;
|
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) 216 static int fail(const struct test_data *d, struct intel_pt_pkt *packet, int len, 245 static int test_ctx_unchanged(const struct test_data *d, struct intel_pt_pkt *packet, 261 static int test_one(const struct test_data *d) 310 const struct test_data *d = data;
|
/linux-master/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) 160 struct test_data d = { 175 struct test_data d = { 190 struct test_data d = { 205 struct test_data d = { 220 struct test_data d = { 235 struct test_data d = {
|
H A D | dlfilter-test.c | 42 struct test_data { struct 69 struct test_data *td = container_of(tool, struct test_data, tool); 112 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) 173 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) 245 static int check_filter_desc(struct test_data *td) 263 static int get_ip_addr(struct test_data *td) 288 static int do_run_perf_script(struct test_data *td, int do_early) 302 static int run_perf_script(struct test_data *td) 320 static int test__dlfilter_test(struct test_data *t [all...] |
/linux-master/drivers/gpu/drm/kmb/ |
H A D | kmb_dsi.c | 772 u32 test_code, u32 test_data) 814 test_data << ((dphy_no % 4) * 8)); 997 u32 test_code = 0, test_data = 0; local 1002 test_data = 0x02; 1003 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); 1007 test_data = 0x00; 1008 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); 1013 u32 test_code = 0, test_data = 0; local 1023 test_data = (0x03 | (1 << 6)); 1024 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); 771 test_mode_send(struct kmb_dsi *kmb_dsi, u32 dphy_no, u32 test_code, u32 test_data) argument 1048 u32 test_code = 0, test_data = 0; local 1080 u32 test_code = 0, test_data = 0; local 1101 u32 i, test_code = 0, test_data = 0; local 1122 u32 test_code = 0, test_data = 0, val; local [all...] |
/linux-master/drivers/thunderbolt/ |
H A D | test.c | 490 static const struct port_expectation test_data[] = { local 510 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); 511 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); 512 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); 514 test_data[i].type); 518 KUNIT_EXPECT_EQ(test, i, ARRAY_SIZE(test_data)); 520 i = ARRAY_SIZE(test_data) - 1; 522 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); 523 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); 524 KUNIT_EXPECT_EQ(test, p->port, test_data[ 546 static const struct port_expectation test_data[] = { local 607 static const struct port_expectation test_data[] = { local 678 static const struct port_expectation test_data[] = { local 769 static const struct port_expectation test_data[] = { local 880 static const struct hop_expectation test_data[] = { local 942 static const struct hop_expectation test_data[] = { local 1006 static const struct hop_expectation test_data[] = { local 1086 static const struct hop_expectation test_data[] = { local 1170 static const struct hop_expectation test_data[] = { local 1262 static const struct hop_expectation test_data[] = { local [all...] |
/linux-master/sound/pci/asihpi/ |
H A D | hpi6000.c | 637 u32 test_data = 0x00000001; local 718 test_data = 0x00000001; 720 iowrite32(test_data, pdo->prHPI_address); 722 if (data != test_data) { 724 test_data, data, dsp_index); 727 test_data = test_data << 1; 778 test_data = 0x00000001; 780 hpi_write_word(pdo, test_addr + i, test_data); 782 if (data != test_data) { [all...] |
H A D | hpi6205.c | 1838 u32 test_data = 0, data = 0; local 1848 test_data = 0x00000001; 1851 test_data); 1854 if (data != test_data) { 1858 test_data, data, dsp_index); 1861 test_data = test_data << 1; 1870 test_data = 0xA5A55A5A; 1871 boot_loader_write_mem32(pao, dsp_index, test_addr, test_data); 1874 if (data != test_data) { [all...] |
/linux-master/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) argument 75 struct test_data *data = (struct test_data *)test_data; 161 static inline void prepare_to_test(struct test_data *data) 184 static inline void post_test(struct test_data *data, u64 exp1, u64 exp2) 201 static void sender_guest_code(vm_vaddr_t test_data) argument 203 struct test_data *data = (struct test_data *)test_dat [all...] |
H A D | nested_exceptions_test.c | 159 static void __attribute__((__flatten__)) l1_guest_code(void *test_data) argument 162 l1_svm_code(test_data); 164 l1_vmx_code(test_data);
|
/linux-master/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"
|
/linux-master/fs/ext4/ |
H A D | inode-test.c | 83 static const struct timestamp_expectation test_data[] = { variable in typeref:struct:timestamp_expectation 220 KUNIT_ARRAY_PARAM(ext4_inode, test_data, timestamp_expectation_to_desc);
|
/linux-master/drivers/char/hw_random/ |
H A D | n2rng.h | 141 u64 test_data; member in struct:n2rng
|
H A D | n2-drv.c | 423 unsigned long ra = __pa(&np->test_data); 436 np->buffer = np->test_data >> 32; 437 *data = np->test_data & 0xffffffff; 458 unsigned long ra = __pa(&np->test_data);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | attach_probe.c | 34 static char test_data[] = "test_data"; variable 280 skel->bss->user_ptr = test_data;
|
/linux-master/drivers/mmc/core/ |
H A D | mmc_test.c | 2185 struct mmc_test_multiple_rw test_data = { local 2194 return mmc_test_rw_multiple_size(test, &test_data); 2204 struct mmc_test_multiple_rw test_data = { local 2213 return mmc_test_rw_multiple_size(test, &test_data); 2223 struct mmc_test_multiple_rw test_data = { local 2232 return mmc_test_rw_multiple_size(test, &test_data); 2242 struct mmc_test_multiple_rw test_data = { local 2251 return mmc_test_rw_multiple_size(test, &test_data); 2261 struct mmc_test_multiple_rw test_data = { local 2270 return mmc_test_rw_multiple_sg_len(test, &test_data); 2280 struct mmc_test_multiple_rw test_data = { local 2299 struct mmc_test_multiple_rw test_data = { local 2318 struct mmc_test_multiple_rw test_data = { local [all...] |
/linux-master/drivers/phy/rockchip/ |
H A D | phy-rockchip-dphy-rx0.c | 172 static void rk_dphy_write(struct rk_dphy *priv, u8 test_code, u8 test_data) argument 184 rk_dphy_write_grf(priv, GRF_DPHY_RX0_TESTDIN, test_data);
|
/linux-master/crypto/ |
H A D | drbg.c | 241 if (list_empty(&drbg->test_data.list)) 1106 if (list_empty(&drbg->test_data.list)) 1149 if (list_empty(&drbg->test_data.list)) { 1150 drbg_string_fill(&data1, drbg->test_data.buf, 1151 drbg->test_data.len); 1525 if (list_empty(&drbg->test_data.list)) 1632 /* no scrubbing of test_data -- this shall survive an uninstantiate */ 1649 drbg_string_fill(&drbg->test_data, data, len);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | memslot_perf_test.c | 782 struct test_data { struct 793 const struct test_data *tdata, 842 static const struct test_data tests[] = { 1030 static bool test_loop(const struct test_data *data, 1101 const struct test_data *data = &tests[tctr];
|
/linux-master/sound/pci/ice1712/ |
H A D | prodigy192.c | 683 const unsigned char test_data = 0xd1; /* random value */ local 688 prodigy192_ak4114_write(ice, addr, test_data); 689 if (prodigy192_ak4114_read(ice, addr) == test_data) {
|