Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dinline_data.c601 char *buf = 0, *cmpbuf = 0; in file_test() local
647 ext2fs_get_mem(BUFF_SIZE, &cmpbuf); in file_test()
648 retval = ext2fs_inline_data_get(fs, newfile, 0, cmpbuf, &size); in file_test()
662 if (memcmp(buf, cmpbuf, BUFF_SIZE)) { in file_test()
682 if (cmpbuf) in file_test()
683 ext2fs_free_mem(&cmpbuf); in file_test()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c389 unsigned char *cmpbuf = 0; variable
4748 if (cmpbuf && !quiet) { in do_checksum()
4749 int diff = mymemcmp(cmpbuf, (unsigned char *)buf, len); in do_checksum()
4752 printf(" %02x", cmpbuf[i + diff]); in do_checksum()
4795 if (cmpbuf) in do_fill_buffer()
4796 memcpy(cmpbuf, (char *)buf, len); in do_fill_buffer()
4935 cmpbuf = malloc(buf_capacity); in do_scsi_read_write_buffer()