Lines Matching defs:aux
586 char *aux;
591 ZPOOL_CONFIG_AUX_STATE, &aux) == 0 &&
592 strcmp(aux, "external") == 0)
2348 vdev_fault(spa_t *spa, uint64_t guid, vdev_aux_t aux)
2363 * We don't directly use the aux state here, but if we do a
2367 vd->vdev_label_aux = aux;
2375 vdev_set_state(vd, B_FALSE, VDEV_STATE_FAULTED, aux);
2392 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, aux);
2404 vdev_degrade(spa_t *spa, uint64_t guid, vdev_aux_t aux)
2425 aux);
3010 * If this is an aux vdev (as with l2cache and spare devices), then we
3015 nvlist_t **aux;
3034 ZPOOL_CONFIG_L2CACHE, &aux, &naux) != 0) {
3036 ZPOOL_CONFIG_SPARES, &aux, &naux) == 0);
3045 nvlist_free(aux[c]);
3046 aux[c] = vdev_config_generate(spa, vd, B_TRUE, 0);
3173 * vdev's aux state as 'corrupt' rather than 'insufficient
3195 vdev_set_state(vdev_t *vd, boolean_t isopen, vdev_state_t state, vdev_aux_t aux)
3201 vd->vdev_stat.vs_aux = aux;
3208 vd->vdev_stat.vs_aux = aux;
3239 (aux == VDEV_AUX_OPEN_FAILED || vd->vdev_checkremove)) {
3285 switch (aux) {