Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/ltp-aiodio/
Dltp-diorh.c46 #define READSIZE 32*1024*1024 macro
89 for (offset = 0; offset + READSIZE <= BIGSIZE; offset += READSIZE) { in do_direct_reads()
90 rc = pread(fd, iobuf, READSIZE, offset); in do_direct_reads()
92 if (rc != READSIZE) { in do_direct_reads()
94 pass, rc, READSIZE); in do_direct_reads()
97 for (i = 0, p = (int *)iobuf; i < READSIZE; i += 4) { in do_direct_reads()
128 bufsize = READSIZE; in main()
129 if (WRITESIZE > READSIZE) in main()
/external/ltp/testcases/kernel/io/direct_io/
Ddma_thread_diotest.c109 #define READSIZE (1024*1024) macro
119 #define MAX_WORKERS (READSIZE/PAGE_SIZE)
268 for (offset = 0; offset < FILESIZE; offset += READSIZE) { in dma_thread_diotest_verify()
269 memset(buffer, PATTERN, READSIZE + align); in dma_thread_diotest_verify()
278 READSIZE - PAGE_SIZE * (workers - 1); in dma_thread_diotest_verify()
425 if (posix_memalign((void **)&buffer, PAGE_SIZE, READSIZE + align) != 0) in setup()