Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_loop06.c36 {&half_value, LOOP_CONFIGURE,
39 {&invalid_value, LOOP_CONFIGURE,
42 {&unalign_value, LOOP_CONFIGURE,
48 if (tcases[n].ioctl_flag == LOOP_CONFIGURE) in verify_ioctl_loop()
49 TEST(ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig)); in verify_ioctl_loop()
55 if (tcases[n].ioctl_flag == LOOP_CONFIGURE) in verify_ioctl_loop()
79 if (tc->ioctl_flag == LOOP_CONFIGURE && !loop_configure_sup) { in run()
113 ret = ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig); in setup()
Dioctl_loop07.c40 {1024 * 4096, 2048, LOOP_CONFIGURE,
43 {1024 * 512, 1024, LOOP_CONFIGURE,
55 if (tc->ioctl_flag == LOOP_CONFIGURE) { in verify_ioctl_loop()
56 SAFE_IOCTL(dev_fd, LOOP_CONFIGURE, &loopconfig); in verify_ioctl_loop()
71 if (tc->ioctl_flag == LOOP_CONFIGURE) { in verify_ioctl_loop()
95 if (tc->ioctl_flag == LOOP_CONFIGURE && !loop_configure_sup) { in run()
130 ret = ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig); in setup()
Dioctl_loop02.c38 {O_RDWR, LOOP_CONFIGURE, "Using LOOP_CONFIGURE with read_only flag"},
46 if (tc->ioctl == LOOP_CONFIGURE && !loop_configure_sup) { in verify_ioctl_loop()
58 SAFE_IOCTL(dev_fd, LOOP_CONFIGURE, &loopconfig); in verify_ioctl_loop()
130 ret = ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig); in setup()
/third_party/ltp/include/lapi/
Dloop.h33 #ifndef LOOP_CONFIGURE
34 # define LOOP_CONFIGURE 0x4C0A macro