Searched refs:test_fd (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | test-mmap.c | 47 int test_fd; variable 263 test_fd, 0); in check_file_unfixed_mmaps() 266 test_fd, pagesize); in check_file_unfixed_mmaps() 269 test_fd, pagesize * 2); in check_file_unfixed_mmaps() 312 test_fd, in check_file_unfixed_eof_mmaps() 354 test_fd, in check_file_fixed_eof_mmaps() 394 test_fd, 0); in check_file_fixed_mmaps() 397 test_fd, pagesize); in check_file_fixed_mmaps() 400 test_fd, pagesize * 2); in check_file_fixed_mmaps() 403 test_fd, pagesize * 3); in check_file_fixed_mmaps() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | soft-dirty.c | 131 int test_fd; in test_mprotect() local 140 test_fd = open(fname, O_RDWR | O_CREAT, 0664); in test_mprotect() 141 if (test_fd < 0) { in test_mprotect() 146 ftruncate(test_fd, pagesize); in test_mprotect() 148 MAP_SHARED, test_fd, 0); in test_mprotect() 177 close(test_fd); in test_mprotect()
|
H A D | protection_keys.c | 935 int test_fd = open("/etc/passwd", O_RDONLY); in get_test_read_fd() local 936 __save_test_fd(test_fd); in get_test_read_fd() 937 return test_fd; in get_test_read_fd() 1094 int test_fd = get_test_read_fd(); in test_kernel_write_of_access_disabled_region() local 1099 ret = read(test_fd, ptr, 1); in test_kernel_write_of_access_disabled_region() 1106 int test_fd = get_test_read_fd(); in test_kernel_write_of_write_disabled_region() local 1109 ret = read(test_fd, ptr, 100); in test_kernel_write_of_write_disabled_region()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | reuseport_addr_any.c | 247 int test_fd; in test_proto() local 249 test_fd = socket(AF_INET, proto, 0); in test_proto() 250 if (test_fd < 0) { in test_proto() 257 close(test_fd); in test_proto()
|
H A D | reuseport_dualstack.c | 131 int epfd, i, test_fd; in test() local 148 test_fd = receive_once(epfd, proto); in test() 150 if (getsockopt(test_fd, SOL_SOCKET, SO_DOMAIN, &test_family, &len)) in test()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 147 | 258 def test_fd(self): member in BuiltinNBD
|