Searched refs:to_write (Results 1 – 2 of 2) sorted by relevance
431 size_t to_write = len - start; in WriteToPartition() local432 if (to_write > 1<<20) to_write = 1<<20; in WriteToPartition()434 ssize_t written = TEMP_FAILURE_RETRY(write(fd, data+start, to_write)); in WriteToPartition()
1480 int to_write = strlen(stagestr)+1; in SetStageFn() local1482 if (to_write > max_size) { in SetStageFn()1483 to_write = max_size; in SetStageFn()1486 fwrite(stagestr, to_write, 1, f); in SetStageFn()