Lines Matching refs:fcfg
1452 static int image_create_config_parse(FILE *fcfg) in image_create_config_parse() argument
1458 while (!feof(fcfg)) { in image_create_config_parse()
1464 line = fgets(buf, sizeof(buf), fcfg); in image_create_config_parse()
1509 FILE *fcfg; in kwbimage_set_header() local
1517 fcfg = fopen(params->imagename, "r"); in kwbimage_set_header()
1518 if (!fcfg) { in kwbimage_set_header()
1528 fclose(fcfg); in kwbimage_set_header()
1534 rewind(fcfg); in kwbimage_set_header()
1536 ret = image_create_config_parse(fcfg); in kwbimage_set_header()
1537 fclose(fcfg); in kwbimage_set_header()
1645 FILE *fcfg; in kwbimage_generate() local
1651 fcfg = fopen(params->imagename, "r"); in kwbimage_generate()
1652 if (!fcfg) { in kwbimage_generate()
1662 fclose(fcfg); in kwbimage_generate()
1668 rewind(fcfg); in kwbimage_generate()
1670 ret = image_create_config_parse(fcfg); in kwbimage_generate()
1671 fclose(fcfg); in kwbimage_generate()