Home
last modified time | relevance | path

Searched refs:test_read (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Delf.c34 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()
Dio.c118 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/
Dcgroup_dev.c27 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/
Dtest_util.h48 ssize_t test_read(int fd, void *buf, size_t count);