Searched refs:len (Results 1 – 4 of 4) sorted by relevance
/init/ |
D | initramfs.c | 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 [all …]
|
D | main.c | 363 int ret, len = 0; in xbc_make_cmdline() local 370 len = xbc_snprint_cmdline(NULL, 0, root); in xbc_make_cmdline() 371 if (len <= 0) in xbc_make_cmdline() 374 new_cmdline = memblock_alloc(len + 1, SMP_CACHE_BYTES); in xbc_make_cmdline() 380 ret = xbc_snprint_cmdline(new_cmdline, len + 1, root); in xbc_make_cmdline() 381 if (ret < 0 || ret > len) { in xbc_make_cmdline() 383 memblock_free(__pa(new_cmdline), len + 1); in xbc_make_cmdline() 525 size_t len = strlen(param); in unknown_bootoption() local 534 if (strnchr(param, len, '.')) in unknown_bootoption() 548 if (!strncmp(param, envp_init[i], len+1)) in unknown_bootoption() [all …]
|
D | do_mounts.c | 67 int len; member 85 if (strncasecmp(cmp->uuid, part->info->uuid, cmp->len)) in match_dev_by_uuid() 130 cmp.len = slash - uuid_str; in devt_from_partuuid() 132 cmp.len = strlen(uuid_str); in devt_from_partuuid() 135 if (!cmp.len) { in devt_from_partuuid() 373 int len = get_filesystem_list(page); in get_fs_names() local 376 page[len] = '\0'; in get_fs_names()
|
D | do_mounts_rd.c | 289 static long __init compr_fill(void *buf, unsigned long len) in compr_fill() argument 291 long r = kernel_read(in_file, buf, len, &in_pos); in compr_fill()
|