Lines Matching refs:written
465 long written; in flush_buffer() local
469 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer()
470 char c = buf[written]; in flush_buffer()
472 buf += written; in flush_buffer()
473 len -= written; in flush_buffer()
476 buf += written; in flush_buffer()
477 len -= written; in flush_buffer()
491 long written; in unpack_to_rootfs() local
510 written = write_buffer(buf, len); in unpack_to_rootfs()
511 buf += written; in unpack_to_rootfs()
512 len -= written; in unpack_to_rootfs()
675 ssize_t written; in populate_initrd_image() local
687 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image()
689 if (written != initrd_end - initrd_start) in populate_initrd_image()
691 written, initrd_end - initrd_start); in populate_initrd_image()