Lines Matching defs:aux
666 char *aux;
671 ZPOOL_CONFIG_AUX_STATE, &aux) == 0 &&
672 strcmp(aux, "external") == 0)
2419 vdev_fault(spa_t *spa, uint64_t guid, vdev_aux_t aux)
2434 * We don't directly use the aux state here, but if we do a
2438 vd->vdev_label_aux = aux;
2446 vdev_set_state(vd, B_FALSE, VDEV_STATE_FAULTED, aux);
2463 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, aux);
2475 vdev_degrade(spa_t *spa, uint64_t guid, vdev_aux_t aux)
2496 aux);
3093 * If this is an aux vdev (as with l2cache and spare devices), then we
3098 nvlist_t **aux;
3117 ZPOOL_CONFIG_L2CACHE, &aux, &naux) != 0) {
3119 ZPOOL_CONFIG_SPARES, &aux, &naux) == 0);
3128 nvlist_free(aux[c]);
3129 aux[c] = vdev_config_generate(spa, vd, B_TRUE, 0);
3256 * vdev's aux state as 'corrupt' rather than 'insufficient
3278 vdev_set_state(vdev_t *vd, boolean_t isopen, vdev_state_t state, vdev_aux_t aux)
3284 vd->vdev_stat.vs_aux = aux;
3291 vd->vdev_stat.vs_aux = aux;
3322 (aux == VDEV_AUX_OPEN_FAILED || vd->vdev_checkremove)) {
3368 switch (aux) {