Searched refs:file_name (Results 1 - 8 of 8) sorted by relevance
/netgear-R7800-V1.0.2.28/tools/firmware-utils/src/ |
H A D | mkcameofw.c | 32 char *file_name; /* name of the file */ member in struct:file_info 129 if (fdata->file_name == NULL) 132 res = stat(fdata->file_name, &st); 134 ERRS("stat failed on %s", fdata->file_name); 148 f = fopen(fdata->file_name, "r"); 150 ERRS("could not open \"%s\" for reading", fdata->file_name); 157 ERRS("unable to read from file \"%s\"", fdata->file_name); 198 CHKSTR(kernel_info.file_name, "kernel image"); 199 CHKSTR(rootfs_info.file_name, "rootfs image"); 365 kernel_info.file_name [all...] |
H A D | fix-u-media-header.c | 57 char *file_name; /* name of the file */ member in struct:if_info 145 if (fdata->file_name == NULL) 148 res = stat(fdata->file_name, &st); 150 ERRS("stat failed on %s", fdata->file_name); 163 f = fopen(fdata->file_name, "r"); 165 ERRS("could not open \"%s\" for reading", fdata->file_name); 172 ERRS("unable to read from file \"%s\"", fdata->file_name); 193 if (if_info.file_name == NULL) { 332 if_info.file_name = optarg;
|
H A D | mkzcfw.c | 40 char *file_name; /* name of the file */ member in struct:file_info 151 if (fdata->file_name == NULL) 154 res = stat(fdata->file_name, &st); 156 ERRS("stat failed on %s", fdata->file_name); 169 f = fopen(fdata->file_name, "r"); 171 ERRS("could not open \"%s\" for reading", fdata->file_name); 178 ERRS("unable to read from file \"%s\"", fdata->file_name); 205 if (kernel_info.file_name == NULL) { 219 if (rootfs_info.file_name == NULL) { 382 kernel_info.file_name [all...] |
H A D | mktplinkfw.c | 59 char *file_name; /* name of the file */ member in struct:file_info 407 if (fdata->file_name == NULL) 410 res = stat(fdata->file_name, &st); 412 ERRS("stat failed on %s", fdata->file_name); 425 f = fopen(fdata->file_name, "r"); 427 ERRS("could not open \"%s\" for reading", fdata->file_name); 434 ERRS("unable to read from file \"%s\"", fdata->file_name); 450 if (inspect_info.file_name) { 503 if (kernel_info.file_name == NULL) { 521 if (rootfs_info.file_name [all...] |
H A D | mkcasfw.c | 61 char *file_name; /* name of the file */ member in struct:image_desc 616 if (desc->file_name == NULL) 619 err = stat(desc->file_name, &st); 621 ERRS("stat failed on %s", desc->file_name); 627 desc->file_name, desc->out_size); 649 if (desc->file_name == NULL) 656 f = fopen(desc->file_name,"r"); 658 ERRS("unable to open file: %s", desc->file_name); 671 ERRS("unable to read from file: %s", desc->file_name); 701 desc->file_name, des [all...] |
H A D | mkcsysimg.c | 85 char *file_name; /* name of the file */ member in struct:csys_block 554 if (block->file_name == NULL) 557 err = stat(block->file_name, &st); 559 ERRS("stat failed on %s", block->file_name); 598 if (block->file_name == NULL) 605 f = fopen(block->file_name,"r"); 607 ERRS("unable to open file: %s", block->file_name); 620 ERRS("unable to read from file: %s", block->file_name); 687 block->file_name, block->file_size, block->size_avail); 861 block->file_name [all...] |
H A D | mkzynfw.c | 69 char *file_name; /* name of the file */ member in struct:fw_block 639 if (block->file_name == NULL) 642 res = stat(block->file_name, &st); 644 ERRS("stat failed on %s", block->file_name); 660 f = fopen(bootext_block->file_name,"r"); 662 ERRS("unable to open file: %s", bootext_block->file_name); 669 ERRS("unable to read from file: %s", bootext_block->file_name); 733 if (block->file_name == NULL) 739 res = write_out_file(outfile, block->file_name, 779 ERR("bootext file '%s' is too big", bootext_block->file_name); [all...] |
H A D | mktitanimg.c | 239 char* file_name; /* input file name */ local 247 file_name = argv[cmdline_getarg(cmdline_getarg_list('i'),i)]; 248 filep = fopen(file_name, "rb"); 250 printf("ERROR: can't open file %s for reading.\n", file_name);
|
Completed in 104 milliseconds