Lines Matching refs:written
440 long written; in flush_buffer() local
444 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer()
445 char c = buf[written]; in flush_buffer()
447 buf += written; in flush_buffer()
448 len -= written; in flush_buffer()
451 buf += written; in flush_buffer()
452 len -= written; in flush_buffer()
466 long written; in unpack_to_rootfs() local
485 written = write_buffer(buf, len); in unpack_to_rootfs()
486 buf += written; in unpack_to_rootfs()
487 len -= written; in unpack_to_rootfs()
650 ssize_t written; in populate_initrd_image() local
662 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image()
664 if (written != initrd_end - initrd_start) in populate_initrd_image()
666 written, initrd_end - initrd_start); in populate_initrd_image()