Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev03.c40 static char *initbuf, *preadbuf; variable
84 memset(preadbuf, 0x00, blksz); in verify_direct_pwritev()
85 SAFE_PREAD(1, fd, preadbuf, *tc->size, *tc->offset); in verify_direct_pwritev()
88 if (preadbuf[i] != 0x61) in verify_direct_pwritev()
94 i, preadbuf[i]); in verify_direct_pwritev()
123 preadbuf = SAFE_MEMALIGN(blksz, blksz); in setup()
133 free(preadbuf); in cleanup()
Dpwritev01.c37 static char preadbuf[CHUNK]; variable
81 SAFE_PREAD(1, fd, preadbuf, tc->size, tc->offset); in verify_pwritev()
84 if (preadbuf[i] != 0x61) in verify_pwritev()
90 i, preadbuf[i]); in verify_pwritev()
/external/ltp/testcases/kernel/syscalls/pwritev2/
Dpwritev201.c54 char preadbuf[CHUNK]; in verify_pwritev2() local
77 memset(preadbuf, 0, CHUNK); in verify_pwritev2()
80 SAFE_PREAD(1, fd, preadbuf, tc->size, tc->write_off); in verify_pwritev2()
82 SAFE_PREAD(1, fd, preadbuf, tc->size, tc->seek_off); in verify_pwritev2()
85 if (preadbuf[i] != 0x61) in verify_pwritev2()
91 i, preadbuf[i]); in verify_pwritev2()