Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/drivers/ntsync/
H A Dntsync.c1275 static int stress_device, stress_start_event, stress_mutex; variable
1289 ioctl(stress_device, NTSYNC_IOC_WAIT_ANY, &wait_args); in stress_thread()
1294 ioctl(stress_device, NTSYNC_IOC_WAIT_ANY, &wait_args); in stress_thread()
1312 stress_device = open("/dev/ntsync", O_CLOEXEC | O_RDONLY); in TEST()
1313 ASSERT_LE(0, stress_device); in TEST()
1317 stress_mutex = ioctl(stress_device, NTSYNC_IOC_CREATE_MUTEX, &mutex_args); in TEST()
1322 stress_start_event = ioctl(stress_device, NTSYNC_IOC_CREATE_EVENT, &event_args); in TEST()
1340 close(stress_device); in TEST()