Lines Matching defs:fwimg
81 static int fwflash_load_verifier(char *drv, char *vendorid, char *fwimg);
514 * verification plugin, and attaches the designated fwimg's fd to
519 fwflash_load_verifier(char *drv, char *vendorid, char *fwimg)
696 if ((imgfd = open(fwimg, O_RDONLY)) < 0) {
700 (fwimg != NULL) ? fwimg : "(null)",
706 if (stat(fwimg, &fwstat) == -1) {
710 fwimg, strerror(errno));
720 fwimg, strerror(errno));
741 if ((verifier->imgfile = calloc(1, strlen(fwimg) + 1)) == NULL) {
746 (void) strlcpy(verifier->imgfile, fwimg, strlen(fwimg) + 1);