Searched refs:LOOP_SET_BLOCK_SIZE (Results 1 - 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
H A D | ioctl_loop06.c | 12 * LOOP_SET_BLOCK_SIZE and LOOP_CONFIGURE flags. 32 {&half_value, LOOP_SET_BLOCK_SIZE, 33 "Using LOOP_SET_BLOCK_SIZE with arg < 512"}, 35 {&invalid_value, LOOP_SET_BLOCK_SIZE, 36 "Using LOOP_SET_BLOCK_SIZE with arg > PAGE_SIZE"}, 38 {&unalign_value, LOOP_SET_BLOCK_SIZE, 39 "Using LOOP_SET_BLOCK_SIZE with arg != power_of_2"}, 56 TEST(ioctl(dev_fd, LOOP_SET_BLOCK_SIZE, *(tcases[n].setvalue))); in verify_ioctl_loop() 75 if (tc->ioctl_flag == LOOP_SET_BLOCK_SIZE) { in run() 113 if (ioctl(dev_fd, LOOP_SET_BLOCK_SIZE, 51 in setup() [all...] |
H A D | ioctl_loop05.c | 134 TST_RETRY_FUNC(ioctl(dev_fd, LOOP_SET_BLOCK_SIZE, logical_block_size), TST_RETVAL_EQ0); in setup()
|
/third_party/ltp/include/lapi/ |
H A D | loop.h | 29 #ifndef LOOP_SET_BLOCK_SIZE 30 # define LOOP_SET_BLOCK_SIZE 0x4C09 macro
|
/third_party/ltp/lib/newlib_tests/ |
H A D | tst_device.c | 25 return ioctl(fd, LOOP_SET_BLOCK_SIZE, DEVBLOCKSIZE); in set_block_size()
|
Completed in 2 milliseconds