Lines Matching refs:vh
394 struct vhdr_meta *vh = hdr_priv(hdr);
400 if (vh->offset == io_u->offset + vc->hdr_num * td->o.verify_interval)
416 if (vh->numberio != io_u->numberio)
430 struct vhdr_xxhash *vh = hdr_priv(hdr);
440 if (vh->hash == hash)
444 vc->good_crc = &vh->hash;
454 struct vhdr_sha512 *vh = hdr_priv(hdr);
465 if (!memcmp(vh->sha512, sha512_ctx.buf, sizeof(sha512)))
469 vc->good_crc = vh->sha512;
471 vc->crc_len = sizeof(vh->sha512);
479 struct vhdr_sha256 *vh = hdr_priv(hdr);
490 if (!memcmp(vh->sha256, sha256_ctx.buf, sizeof(sha256)))
494 vc->good_crc = vh->sha256;
496 vc->crc_len = sizeof(vh->sha256);
504 struct vhdr_sha1 *vh = hdr_priv(hdr);
515 if (!memcmp(vh->sha1, sha1_ctx.H, sizeof(sha1)))
519 vc->good_crc = vh->sha1;
521 vc->crc_len = sizeof(vh->sha1);
529 struct vhdr_crc7 *vh = hdr_priv(hdr);
536 if (c == vh->crc7)
540 vc->good_crc = &vh->crc7;
550 struct vhdr_crc16 *vh = hdr_priv(hdr);
557 if (c == vh->crc16)
561 vc->good_crc = &vh->crc16;
571 struct vhdr_crc64 *vh = hdr_priv(hdr);
578 if (c == vh->crc64)
582 vc->good_crc = &vh->crc64;
592 struct vhdr_crc32 *vh = hdr_priv(hdr);
599 if (c == vh->crc32)
603 vc->good_crc = &vh->crc32;
613 struct vhdr_crc32 *vh = hdr_priv(hdr);
620 if (c == vh->crc32)
624 vc->good_crc = &vh->crc32;
634 struct vhdr_md5 *vh = hdr_priv(hdr);
645 if (!memcmp(vh->md5_digest, md5_ctx.hash, sizeof(hash)))
649 vc->good_crc = vh->md5_digest;
872 struct vhdr_meta *vh = hdr_priv(hdr);
874 vh->thread = td->thread_number;
876 vh->time_sec = io_u->start_time.tv_sec;
877 vh->time_usec = io_u->start_time.tv_usec;
879 vh->numberio = io_u->numberio;
881 vh->offset = io_u->offset + header_num * td->o.verify_interval;
886 struct vhdr_xxhash *vh = hdr_priv(hdr);
891 vh->hash = XXH32_digest(state);
896 struct vhdr_sha512 *vh = hdr_priv(hdr);
898 .buf = vh->sha512,
907 struct vhdr_sha256 *vh = hdr_priv(hdr);
909 .buf = vh->sha256,
918 struct vhdr_sha1 *vh = hdr_priv(hdr);
920 .H = vh->sha1,
929 struct vhdr_crc7 *vh = hdr_priv(hdr);
931 vh->crc7 = fio_crc7(p, len);
936 struct vhdr_crc16 *vh = hdr_priv(hdr);
938 vh->crc16 = fio_crc16(p, len);
943 struct vhdr_crc32 *vh = hdr_priv(hdr);
945 vh->crc32 = fio_crc32(p, len);
950 struct vhdr_crc32 *vh = hdr_priv(hdr);
952 vh->crc32 = fio_crc32c(p, len);
957 struct vhdr_crc64 *vh = hdr_priv(hdr);
959 vh->crc64 = fio_crc64(p, len);
964 struct vhdr_md5 *vh = hdr_priv(hdr);
966 .hash = (uint32_t *) vh->md5_digest,