Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/drivers/s390x/uvdevice/
H A Dtest_uvdevice.c22 int uv_fd; in FIXTURE() local
40 self->uv_fd = open(UV_PATH, O_ACCMODE); in FIXTURE_SETUP()
50 if (self->uv_fd) in FIXTURE_TEARDOWN()
51 close(self->uv_fd); in FIXTURE_TEARDOWN()
59 rc = ioctl(self->uv_fd, variant->ioctl_cmd, NULL); in TEST_F()
64 rc = ioctl(self->uv_fd, variant->ioctl_cmd, self->fault_page); in TEST_F()
139 rc = ioctl(self->uv_fd, cmds[i], &self->uvio_ioctl); in TEST_F()
153 int uv_fd; in FIXTURE() local
162 self->uv_fd = open(UV_PATH, O_ACCMODE); in FIXTURE_SETUP()
181 if (self->uv_fd) in FIXTURE_TEARDOWN()
[all …]