• Home
  • Raw
  • Download

Lines Matching refs:profile_conf

571 	profile_config_t *profile_conf;  in parse()  local
574 profile_conf = malloc(sizeof(profile_config_t)); in parse()
575 profile_conf->global = malloc(sizeof(global_options)); in parse()
576 memcpy(profile_conf->global, global_options, sizeof(global_options)); in parse()
577 profile_conf->fs_container = NULL; in parse()
578 profile_conf->tg_container = NULL; in parse()
583 is_option = set_option(buf, profile_conf->global); in parse()
588 if (profile_conf->fs_container == NULL) in parse()
589 profile_conf->fs_container = in parse()
592 insert_container(profile_conf-> in parse()
597 if (profile_conf->tg_container == NULL) in parse()
598 profile_conf->tg_container = in parse()
601 insert_container(profile_conf-> in parse()
614 return profile_conf; in parse()
731 static unsigned get_num_threadgroups(profile_config_t * profile_conf) in get_num_threadgroups() argument
733 return get_num_containers(profile_conf->tg_container); in get_num_threadgroups()
736 static unsigned get_num_filesystems(profile_config_t * profile_conf) in get_num_filesystems() argument
738 return get_num_containers(profile_conf->fs_container); in get_num_filesystems()
741 static int get_num_totalthreads(profile_config_t * profile_conf) in get_num_totalthreads() argument
744 container_t *tg = profile_conf->tg_container; in get_num_totalthreads()
780 tmp_cont = get_container(fc->profile_conf->fs_container, pos); in get_fs_config()
789 return get_container(fc->profile_conf->fs_container, pos); in get_fs_container()
797 tmp_cont = get_container(fc->profile_conf->tg_container, pos); in get_tg_config()
806 return get_container(fc->profile_conf->tg_container, pos); in get_tg_container()
863 profile_config_t *profile_conf = fc->profile_conf; in init_filesys() local
901 if (get_config_bool(profile_conf->global, "directio")) in init_filesys()
904 if (get_config_bool(profile_conf->global, "bufferio")) in init_filesys()
907 if (get_config_bool(profile_conf->global, "alignio")) in init_filesys()
1011 static void init_config(ffsb_config_t * fc, profile_config_t * profile_conf) in init_config() argument
1017 fc->time = get_config_u32(profile_conf->global, "time"); in init_config()
1018 fc->num_filesys = get_num_filesystems(profile_conf); in init_config()
1019 fc->num_threadgroups = get_num_threadgroups(profile_conf); in init_config()
1020 fc->num_totalthreads = get_num_totalthreads(profile_conf); in init_config()
1021 fc->profile_conf = profile_conf; in init_config()
1022 fc->callout = get_config_str(profile_conf->global, "callout"); in init_config()
1040 profile_config_t *profile_conf; in ffsb_parse_newconfig() local
1047 profile_conf = parse(f); in ffsb_parse_newconfig()
1050 init_config(fc, profile_conf); in ffsb_parse_newconfig()