Searched refs:cmp_buf (Results 1 – 1 of 1) sorted by relevance
/external/qemu/ |
D | qemu-io.c | 470 void* cmp_buf = malloc(pattern_count); in read_f() local 471 memset(cmp_buf, pattern, pattern_count); in read_f() 472 if (memcmp(buf + pattern_offset, cmp_buf, pattern_count)) { in read_f() 477 free(cmp_buf); in read_f() 595 void* cmp_buf = malloc(qiov.size); in readv_f() local 596 memset(cmp_buf, pattern, qiov.size); in readv_f() 597 if (memcmp(buf, cmp_buf, qiov.size)) { in readv_f() 602 free(cmp_buf); in readv_f() 1058 void *cmp_buf = malloc(ctx->qiov.size); in aio_read_done() local 1060 memset(cmp_buf, ctx->pattern, ctx->qiov.size); in aio_read_done() [all …]
|