Home
last modified time | relevance | path

Searched refs:LOOP_SET_BLOCK_SIZE (Results 1 - 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl_loop06.c12 * 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 Dioctl_loop05.c134 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 Dloop.h29 #ifndef LOOP_SET_BLOCK_SIZE
30 # define LOOP_SET_BLOCK_SIZE 0x4C09 macro
/third_party/ltp/lib/newlib_tests/
H A Dtst_device.c25 return ioctl(fd, LOOP_SET_BLOCK_SIZE, DEVBLOCKSIZE); in set_block_size()

Completed in 2 milliseconds