Lines Matching defs:path
47 * @param mtd path to or partition name of MTD device
78 * @param mtd path to or partition name of MTD device
122 * @param path file to write or a URL
123 * @param mtd path to or partition name of MTD device
127 mtd_write(const char *path, const char *mtd)
143 if ((fp = fopen(path, "r")))
146 count = http_get(path, (char *) &trx, sizeof(struct trx_header), 0);
148 fprintf(stderr, "%s: File is too small (%ld bytes)\n", path, count);
163 fprintf(stderr, "%s: Bad trx header\n", path);
206 count += http_get(path, &buf[off], len - off, erase_info.start + off);
208 fprintf(stderr, "%s: Truncated file (actual %ld expect %ld)\n", path,
217 fprintf(stderr, "%s: Bad CRC\n", path);