Lines Matching refs:tparams
318 struct image_type_params *tparams = NULL; in main() local
329 tparams = imagetool_get_type(params.type); in main()
330 if (tparams == NULL) { in main()
340 if (tparams->check_params) in main()
341 if (tparams->check_params (¶ms)) in main()
348 params.ep += tparams->header_size; in main()
352 if (tparams->fflag_handle) in main()
359 retval = tparams->fflag_handle(¶ms); in main()
390 if ((unsigned)sbuf.st_size < tparams->header_size) { in main()
412 tparams, ¶ms); in main()
436 params.file_size = sbuf.st_size + tparams->header_size; in main()
446 if (tparams->vrec_header) in main()
447 pad_len = tparams->vrec_header(¶ms, tparams); in main()
449 memset(tparams->hdr, 0, tparams->header_size); in main()
451 if (write(ifd, tparams->hdr, tparams->header_size) in main()
452 != tparams->header_size) { in main()
535 - tparams->header_size, in main()
537 - tparams->header_size in main()
587 if (tparams->set_header) in main()
588 tparams->set_header (ptr, &sbuf, ifd, ¶ms); in main()
591 params.cmdname, tparams->name, strerror(errno)); in main()
596 if (tparams->print_header) in main()
597 tparams->print_header (ptr); in main()
600 params.cmdname, tparams->name); in main()
636 struct image_type_params *tparams = imagetool_get_type(params.type); in copy_file() local
671 if ((unsigned)sbuf.st_size < tparams->header_size) { in copy_file()
678 for (p = ptr; p < ptr + tparams->header_size; p++) { in copy_file()
687 offset = tparams->header_size; in copy_file()