Searched refs:erase_info (Results 1 – 1 of 1) sorted by relevance
430 struct erase_info_user erase_info; in write_block() local431 erase_info.start = pos; in write_block()432 erase_info.length = size; in write_block()435 if (ioctl(fd, MEMERASE, &erase_info) < 0) { in write_block()469 ioctl(fd, MEMERASE, &erase_info); in write_block()539 struct erase_info_user erase_info; in mtd_erase_blocks() local540 erase_info.start = pos; in mtd_erase_blocks()541 erase_info.length = ctx->partition->erase_size; in mtd_erase_blocks()542 if (ioctl(ctx->fd, MEMERASE, &erase_info) < 0) { in mtd_erase_blocks()