Searched refs:val_buf (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/mem/vmtests/ |
D | stack_space.c | 208 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()
|
D | data_space.c | 224 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/ |
D | ftest01.c | 262 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()
|
D | ftest05.c | 265 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()
|