Home
last modified time | relevance | path

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

/external/ltp/lib/newlib_tests/
Dtst_device.c16 uint64_t ltp_dev_size; in do_test() local
25 SAFE_IOCTL(fd, BLKGETSIZE64, &ltp_dev_size); in do_test()
28 if (ltp_dev_size/1024/1024 == 300) in do_test()
/external/ltp/lib/
Dtst_device.c244 uint64_t ltp_dev_size; in tst_acquire_device__() local
270 if (ioctl(fd, BLKGETSIZE64, &ltp_dev_size)) { in tst_acquire_device__()
283 ltp_dev_size = ltp_dev_size/1024/1024; in tst_acquire_device__()
285 if (acq_dev_size <= ltp_dev_size) in tst_acquire_device__()
289 ltp_dev_size, acq_dev_size); in tst_acquire_device__()