Searched refs:cfg_fp (Results 1 – 1 of 1) sorted by relevance
59 static int parse_config_entry_count(FILE *cfg_fp) { in parse_config_entry_count() argument64 while (fgets(line, sizeof(line), cfg_fp) != NULL) { in parse_config_entry_count()73 static int output_img_with_config(FILE *img_fp, FILE *cfg_fp) { in output_img_with_config() argument74 int entry_count = parse_config_entry_count(cfg_fp); in output_img_with_config()77 fseek(cfg_fp, 0, SEEK_SET); /* Reset the file pos to head */ in output_img_with_config()81 while (fgets(line, sizeof(line), cfg_fp) != NULL) { in output_img_with_config()122 FILE *cfg_fp = NULL; in process_command_cfg_create() local125 cfg_fp = fopen(params->cfg_filename, "r"); in process_command_cfg_create()126 if (cfg_fp == NULL) { in process_command_cfg_create()146 ret = output_img_with_config(img_fp, cfg_fp); in process_command_cfg_create()[all …]