Searched refs:test_read (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | elf.c | 34 test_read(fd, ident, sizeof(ident)); in elfhdr_get() 82 test_read(fd, hdrp, sizeof(*hdrp)); in elfhdr_get() 149 test_read(fd, &phdr, sizeof(phdr)); in kvm_vm_elf_load() 190 test_read(fd, addr_gva2hva(vm, phdr.p_vaddr), in kvm_vm_elf_load()
|
D | io.c | 118 ssize_t test_read(int fd, void *buf, size_t count) in test_read() function
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_dev.c | 27 static void test_read(const char *path, char *buf, int buf_size, in test_read() function 100 test_read("/dev/urandom", buf, TEST_BUFFER_SIZE, in test_cgroup_dev() 112 test_read("/dev/random", buf, TEST_BUFFER_SIZE, -1, EPERM); in test_cgroup_dev()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | test_util.h | 48 ssize_t test_read(int fd, void *buf, size_t count);
|