Lines Matching defs:config
345 struct mfi_config_data *config;
356 warnx("show config: extra arguments");
367 /* Get the config from the controller. */
368 if (mfi_config_read(fd, &config) < 0) {
370 warn("Failed to get config");
377 mfi_unit, config->array_count, config->log_drv_count,
378 config->spares_count);
379 p = (char *)config->array;
381 for (i = 0; i < config->array_count; i++) {
400 p += config->array_size;
403 for (i = 0; i < config->log_drv_count; i++) {
420 p += config->log_drv_size;
423 for (i = 0; i < config->spares_count; i++) {
439 p += config->spares_size;
441 free(config);
446 MFI_COMMAND(show, config, show_config);