Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/disktest/
Dparse.c206 args->htrsiz = in fill_cld_args()
209 args->htrsiz *= 2; in fill_cld_args()
211 args->htrsiz *= (2 * 1024); in fill_cld_args()
213 if (args->htrsiz > 256) in fill_cld_args()
214 args->htrsiz /= BLK_SIZE; in fill_cld_args()
226 args->htrsiz = args->ltrsiz; in fill_cld_args()
230 args->htrsiz); in fill_cld_args()
851 args->htrsiz = TRSIZ; in make_assumptions()
854 args->start_blk = args->start_lba / args->htrsiz; in make_assumptions()
856 args->stop_blk = args->stop_lba / args->htrsiz; in make_assumptions()
[all …]
Ddump.c183 if ((buff = (char *)ALLOC(args->htrsiz * BLK_SIZE)) == NULL) { in do_dump()
188 memset(buff, 0, args->htrsiz * BLK_SIZE); in do_dump()
208 NumBytes = Read(fd, buff, args->htrsiz * BLK_SIZE); in do_dump()
209 if ((NumBytes > args->htrsiz * BLK_SIZE) || (NumBytes < 0)) { in do_dump()
216 } while ((TotalBytes < (args->htrsiz * BLK_SIZE)) && (NumBytes > 0)); in do_dump()
Dchildmain.c284 } while (target.trsiz > args->htrsiz); in get_next_action()
647 (char *)ALLOC(((args->htrsiz * BLK_SIZE) + ALIGNSIZE))) == NULL) { in ChildMain()
655 memset(buffer1, SET_CHAR, ((args->htrsiz * BLK_SIZE) + ALIGNSIZE)); in ChildMain()
659 (char *)ALLOC(((args->htrsiz * BLK_SIZE) + ALIGNSIZE))) == NULL) { in ChildMain()
668 memset(buffer2, SET_CHAR, ((args->htrsiz * BLK_SIZE) + ALIGNSIZE)); in ChildMain()
918 for (i = 0; i < args->htrsiz * BLK_SIZE; i++) { in ChildMain()
926 args->htrsiz * BLK_SIZE, in ChildMain()
930 args->htrsiz * BLK_SIZE, in ChildMain()
972 args->htrsiz * in ChildMain()
Dmain.h210 unsigned long htrsiz; /* high bound of transfer size in blocks */ member
Dmain.c197 data_buffer_size = ((test->args->htrsiz * BLK_SIZE) * 2); in init_data()
331 ((test->args->htrsiz * BLK_SIZE) * 2), NULL, in threadedMain()