Home
last modified time | relevance | path

Searched refs:len (Results 1 – 4 of 4) sorted by relevance

/init/
Dmain.c365 int ret, len = 0; in xbc_make_cmdline() local
372 len = xbc_snprint_cmdline(NULL, 0, root); in xbc_make_cmdline()
373 if (len <= 0) in xbc_make_cmdline()
376 new_cmdline = memblock_alloc(len + 1, SMP_CACHE_BYTES); in xbc_make_cmdline()
382 ret = xbc_snprint_cmdline(new_cmdline, len + 1, root); in xbc_make_cmdline()
383 if (ret < 0 || ret > len) { in xbc_make_cmdline()
385 memblock_free_ptr(new_cmdline, len + 1); in xbc_make_cmdline()
541 size_t len = strlen(param); in unknown_bootoption() local
554 if (strnchr(param, len, '.')) in unknown_bootoption()
568 if (!strncmp(param, envp_init[i], len+1)) in unknown_bootoption()
[all …]
Dinitramfs.c63 #define N_ALIGN(len) ((((len) + 1) & ~3) + 2) argument
427 static long __init write_buffer(char *buf, unsigned long len) in write_buffer() argument
429 byte_count = len; in write_buffer()
434 return len - byte_count; in write_buffer()
437 static long __init flush_buffer(void *bufv, unsigned long len) in flush_buffer() argument
441 long origLen = len; in flush_buffer()
444 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer()
448 len -= written; in flush_buffer()
452 len -= written; in flush_buffer()
464 static char * __init unpack_to_rootfs(char *buf, unsigned long len) in unpack_to_rootfs() argument
[all …]
Ddo_mounts.c67 int len; member
83 strncasecmp(cmp->uuid, bdev->bd_meta_info->uuid, cmp->len)) in match_dev_by_uuid()
119 cmp.len = slash - uuid_str; in devt_from_partuuid()
121 cmp.len = strlen(uuid_str); in devt_from_partuuid()
124 if (!cmp.len) in devt_from_partuuid()
Ddo_mounts_rd.c289 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()