Searched refs:read_data (Results 1 – 7 of 7) sorted by relevance
| /tools/testing/selftests/bpf/progs/ |
| A D | dynptr_fail.c | 156 char read_data[64]; in use_after_invalid() local 160 bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in use_after_invalid() 165 bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in use_after_invalid() 420 char read_data[64]; in invalid_helper2() local 425 bpf_dynptr_read(read_data, sizeof(read_data), (void *)&ptr + 8, 0, 0); in invalid_helper2() 458 char read_data[64]; in invalid_write2() local 466 bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in invalid_write2() 563 char read_data[64]; in invalid_read2() local 1510 bpf_dynptr_read(read_data, sizeof(read_data), &clone, 0, 0); in clone_invalidate1() 1531 bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in clone_invalidate2() [all …]
|
| A D | dynptr_success.c | 41 char read_data[64] = {}; in test_read_write() local 54 err = err ?: bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in test_read_write() 57 for (i = 0; i < sizeof(read_data); i++) { in test_read_write() 58 if (read_data[i] != write_data[i]) { in test_read_write() 327 char write_data = 'x', read_data; in test_zero_size_dynptr() local 346 if (bpf_dynptr_read(&read_data, sizeof(read_data), &ptr, 0, 0) != -E2BIG) { in test_zero_size_dynptr() 357 if (bpf_dynptr_read(&read_data, 0, &ptr, 0, 0)) { in test_zero_size_dynptr()
|
| /tools/testing/selftests/kvm/arm64/ |
| A D | vpmu_counter_access.c | 241 uint64_t write_data, read_data; in test_access_pmc_regs() local 271 read_data = acc->read_typer(pmc_idx); in test_access_pmc_regs() 272 __GUEST_ASSERT(read_data == write_data, in test_access_pmc_regs() 274 pmc_idx, PMC_ACC_TO_IDX(acc), read_data, write_data); in test_access_pmc_regs() 280 read_data = acc->read_cntr(pmc_idx); in test_access_pmc_regs() 283 __GUEST_ASSERT(read_data == 0, in test_access_pmc_regs() 285 pmc_idx, PMC_ACC_TO_IDX(acc), read_data); in test_access_pmc_regs() 287 write_data = read_data + pmc_idx + 0x12345; in test_access_pmc_regs() 289 read_data = acc->read_cntr(pmc_idx); in test_access_pmc_regs() 290 __GUEST_ASSERT(read_data == write_data, in test_access_pmc_regs() [all …]
|
| /tools/testing/selftests/arm64/gcs/ |
| A D | gcs-stress.c | 152 char read_data[1024]; in child_output_read() local 156 ret = read(child->stdout, read_data, sizeof(read_data)); in child_output_read() 182 work[cur_work] = read_data[cur_read++]; in child_output_read()
|
| /tools/testing/selftests/arm64/fp/ |
| A D | fp-stress.c | 148 char read_data[1024]; in child_output_read() local 152 ret = read(child->stdout, read_data, sizeof(read_data)); in child_output_read() 178 work[cur_work] = read_data[cur_read++]; in child_output_read()
|
| /tools/testing/selftests/powerpc/mm/ |
| A D | tlbie_test.c | 471 unsigned int *w_ptr, read_data; in rim_fn() local 515 read_data = *w_ptr; //Load in rim_fn() 521 if (read_data != old_pattern) { in rim_fn()
|
| /tools/lib/perf/ |
| A D | evlist.c | 342 u64 read_data[4] = { 0, }; in perf_evlist__id_add_fd() local 367 read(fd, &read_data, sizeof(read_data)) == -1) in perf_evlist__id_add_fd() 375 id = read_data[id_idx]; in perf_evlist__id_add_fd()
|
Completed in 17 milliseconds