Lines Matching defs:ach
448 arc_content_hdr_t ach;
459 ret = read(fd, &ach, sizeof(ach));
465 if (ret != sizeof(ach)) {
469 if (memcmp(ach.ach_magic, ARCWATCH_CONTENT_MAGIC, 4) != 0) {
473 if (ach.ach_version != ARCWATCH_CONTENT_VERSION) {
576 arc_content_hdr_t ach;
578 memcpy(ach.ach_magic, ARCWATCH_CONTENT_MAGIC,
579 sizeof(ach.ach_magic));
580 ach.ach_version = ARCWATCH_CONTENT_VERSION;
581 ach.ach_buckets = aih->aih_buckets;
582 ach.ach_buf_locks = aih->aih_buf_locks;
583 ret = write(ofd, &ach, sizeof(ach));