Lines Matching refs:fname

110 		size = imagetool_get_filesize(params, cont->fname);  in fit_calc_size()
125 void *fdt, const char *name, const char *fname) in fdt_property_file() argument
132 fd = open(fname, O_RDWR | O_BINARY); in fdt_property_file()
135 params->cmdname, fname, strerror(errno)); in fdt_property_file()
141 params->cmdname, fname, strerror(errno)); in fdt_property_file()
151 params->cmdname, fname, strerror(errno)); in fdt_property_file()
173 static void get_basename(char *str, int size, const char *fname) in get_basename() argument
184 p = strrchr(fname, '/'); in get_basename()
185 start = p ? p + 1 : fname; in get_basename()
186 p = strrchr(fname, '.'); in get_basename()
187 end = p ? p : fname + strlen(fname); in get_basename()
257 get_basename(str, sizeof(str), cont->fname); in fit_write_images()
260 cont->fname); in fit_write_images()
322 get_basename(str, sizeof(str), cont->fname); in fit_write_configs()
381 static int fit_build(struct image_tool_params *params, const char *fname) in fit_build() argument
404 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0666); in fit_build()
407 params->cmdname, fname, strerror(errno)); in fit_build()
413 params->cmdname, fname, strerror(errno)); in fit_build()
438 static int fit_extract_data(struct image_tool_params *params, const char *fname) in fit_extract_data() argument
453 fd = mmap_fdt(params->cmdname, fname, 0, &fdt, &sbuf, false, false); in fit_extract_data()
557 static int fit_import_data(struct image_tool_params *params, const char *fname) in fit_import_data() argument
567 fd = mmap_fdt(params->cmdname, fname, 0, &old_fdt, &sbuf, false, false); in fit_import_data()
630 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0666); in fit_import_data()
633 params->cmdname, fname, strerror(errno)); in fit_import_data()