Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/vmtests/
Dstack_space.c208 char *val_buf; in dotest() local
219 val_buf = (char *)(malloc(csize)); in dotest()
222 if (bits == 0 || val_buf == 0 || zero_buf == 0) { in dotest()
254 bfill(val_buf, val, csize); in dotest()
284 if (memcmp(buf, val_buf, csize)) { in dotest()
321 free(val_buf); in dotest()
Ddata_space.c224 char *val_buf; local
246 val_buf = (char *)(malloc(csize));
247 if (val_buf == 0)
286 bfill(val_buf, val, csize);
316 if (memcmp(buf, val_buf, csize)) {
/external/ltp/testcases/kernel/fs/ftest/
Dftest01.c262 char *bits, *hold_bits, *buf, *val_buf, *zero_buf; in dotest() local
286 if ((val_buf = (calloc(csize, 1))) == 0) { in dotest()
329 memset(val_buf, val, csize); in dotest()
398 if (memcmp(buf, val_buf, csize)) { in dotest()
431 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest()
Dftest05.c265 char *bits, *hold_bits, *buf, *val_buf, *zero_buf; in dotest() local
286 if ((val_buf = (calloc(csize, 1))) == NULL) { in dotest()
326 memset(val_buf, val, csize); in dotest()
391 if (memcmp(buf, val_buf, csize)) { in dotest()
422 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest()