Lines Matching refs:len
50 #define N_ALIGN(len) ((((len) + 1) & ~3) + 2) argument
414 static long __init write_buffer(char *buf, unsigned long len) in write_buffer() argument
416 byte_count = len; in write_buffer()
421 return len - byte_count; in write_buffer()
424 static long __init flush_buffer(void *bufv, unsigned long len) in flush_buffer() argument
428 long origLen = len; in flush_buffer()
431 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer()
435 len -= written; in flush_buffer()
439 len -= written; in flush_buffer()
451 static char * __init unpack_to_rootfs(char *buf, unsigned long len) in unpack_to_rootfs() argument
468 while (!message && len) { in unpack_to_rootfs()
472 written = write_buffer(buf, len); in unpack_to_rootfs()
474 len -= written; in unpack_to_rootfs()
479 len--; in unpack_to_rootfs()
484 decompress = decompress_method(buf, len, &compress_name); in unpack_to_rootfs()
487 int res = decompress(buf, len, NULL, flush_buffer, NULL, in unpack_to_rootfs()
504 len -= my_inptr; in unpack_to_rootfs()