Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_loop05.c63 SAFE_IOCTL(dev_fd, LOOP_SET_DIRECT_IO, 1); in verify_ioctl_loop()
66 SAFE_IOCTL(dev_fd, LOOP_SET_DIRECT_IO, 0); in verify_ioctl_loop()
72 TEST(ioctl(dev_fd, LOOP_SET_DIRECT_IO, 1)); in verify_ioctl_loop()
76 SAFE_IOCTL(dev_fd, LOOP_SET_DIRECT_IO, 0); in verify_ioctl_loop()
85 TEST(ioctl(dev_fd, LOOP_SET_DIRECT_IO, 1)); in verify_ioctl_loop()
88 SAFE_IOCTL(dev_fd, LOOP_SET_DIRECT_IO, 0); in verify_ioctl_loop()
112 if (ioctl(dev_fd, LOOP_SET_DIRECT_IO, 0) && errno == EINVAL) in setup()
/third_party/ltp/include/lapi/
Dloop.h25 #ifndef LOOP_SET_DIRECT_IO
26 # define LOOP_SET_DIRECT_IO 0x4C08 macro