Searched refs:logical_block_size (Results 1 – 1 of 1) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl_loop05.c | 36 static int dev_num, dev_fd, block_devfd, attach_flag, logical_block_size; variable 70 loopinfo.lo_offset = logical_block_size; in verify_ioctl_loop() 82 loopinfo.lo_offset = logical_block_size / 2; in verify_ioctl_loop() 125 SAFE_IOCTL(block_devfd, BLKSSZGET, &logical_block_size); in setup() 126 tst_res(TINFO, "backing dev(%s) logical_block_size is %d", bd_path, logical_block_size); in setup() 128 if (logical_block_size > 512) in setup() 129 TST_RETRY_FUNC(ioctl(dev_fd, LOOP_SET_BLOCK_SIZE, logical_block_size), TST_RETVAL_EQ0); in setup()
|