Lines Matching refs:written
427 long written; in flush_buffer() local
431 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer()
432 char c = buf[written]; in flush_buffer()
434 buf += written; in flush_buffer()
435 len -= written; in flush_buffer()
438 buf += written; in flush_buffer()
439 len -= written; in flush_buffer()
453 long written; in unpack_to_rootfs() local
472 written = write_buffer(buf, len); in unpack_to_rootfs()
473 buf += written; in unpack_to_rootfs()
474 len -= written; in unpack_to_rootfs()
584 ssize_t written; in populate_initrd_image() local
596 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image()
598 if (written != initrd_end - initrd_start) in populate_initrd_image()
600 written, initrd_end - initrd_start); in populate_initrd_image()