Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c63 int ltp_block_dev_handle = 0; /* handle to LTP Test block device */ variable
80 ltp_block_dev_handle = open(LTP_FS_DEVICE_NAME, O_RDWR); in main()
82 if (ltp_block_dev_handle < 0) { in main()
85 LTP_FS_DEVICE_NAME, ltp_block_dev_handle, errno); in main()
87 rc = ioctl(ltp_block_dev_handle, LTPAIODEV_CMD, &cmd); in main()
91 rc = ioctl(ltp_block_dev_handle, LTPBIODEV_CMD, &cmd); in main()
396 if (ltp_block_dev_handle == 0) { in LTP_fs_open_block_device()