Home | History | Annotate | Download | only in fastboot

Lines Matching refs:partition

134      * file partition we generate image for.
146 /* Return true if this partition is supported by the fastboot format command.
147 * It is also used to determine if we should first erase a partition before
153 int fb_format_supported(usb_handle *usb, const char *partition)
160 status = fb_getvar(usb, response, "partition-type:%s", partition);
315 const char *partition = a->cmd;
324 status = fb_getvar(usb, response, "partition-type:%s", partition);
330 "Can't determine partition type.\n");
356 status = fb_getvar(usb, response, "partition-size:%s", partition);
361 fprintf(stderr, "Unable to get partition size\n.");
377 fprintf(stderr, "sending '%s' (%lli KB)...\n", partition, image.image_size/1024);
381 fprintf(stderr, "writing '%s'...\n", partition);
382 snprintf(cmd, sizeof(cmd), "flash:%s", partition);
392 void fb_queue_format(const char *partition, int skip_if_not_supported)
396 a = queue_action(OP_FORMAT, partition);
398 a->msg = mkmsg("formatting '%s' partition", partition);