VDEV_TYPE_MIRROR
if (memcmp(type, VDEV_TYPE_MIRROR, len) != 0 &&
if (memcmp(type, VDEV_TYPE_MIRROR, len) != 0 &&
if (memcmp(type, VDEV_TYPE_MIRROR, len) == 0)
return (VDEV_TYPE_MIRROR);
if (strcmp(type, VDEV_TYPE_MIRROR) != 0) {
VDEV_TYPE_MIRROR) == 0);
} else if (grub_strcmp(type, VDEV_TYPE_MIRROR) == 0 ||
strncmp(name, VDEV_TYPE_MIRROR, strlen(VDEV_TYPE_MIRROR)) == 0)
} else if (strcmp(type, VDEV_TYPE_MIRROR) == 0 ||
if (strcmp(type, VDEV_TYPE_MIRROR) != 0) {
} else if (strcmp(type, VDEV_TYPE_MIRROR) == 0) {
.vdev_op_type = VDEV_TYPE_MIRROR, /* name of this vdev type */