Searched refs:len (Results 1 – 5 of 5) sorted by relevance
/init/ |
D | do_mounts_dm.c | 92 size_t len; member 115 opt->len = strlen(str); in get_dm_option() 116 endp = str + opt->len; in get_dm_option() 118 opt->len = endp - str; in get_dm_option() 127 return opt->len != 0; in get_dm_option() 155 size_t len; in dm_parse_device() local 163 len = min(opt.len + 1, sizeof(dev->name)); in dm_parse_device() 164 strlcpy(dev->name, opt.start, len); /* includes nul */ in dm_parse_device() 171 len = min(opt.len + 1, sizeof(dev->uuid)); in dm_parse_device() 172 strlcpy(dev->uuid, opt.start, len); in dm_parse_device() [all …]
|
D | initramfs.c | 55 #define N_ALIGN(len) ((((len) + 1) & ~3) + 2) argument 413 static long __init write_buffer(char *buf, unsigned long len) in write_buffer() argument 415 byte_count = len; in write_buffer() 420 return len - byte_count; in write_buffer() 423 static long __init flush_buffer(void *bufv, unsigned long len) in flush_buffer() argument 427 long origLen = len; in flush_buffer() 430 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer() 434 len -= written; in flush_buffer() 438 len -= written; in flush_buffer() 450 static char * __init unpack_to_rootfs(char *buf, unsigned long len) in unpack_to_rootfs() argument [all …]
|
D | do_mounts.c | 76 int len; member 94 if (strncasecmp(cmp->uuid, part->info->uuid, cmp->len)) in match_dev_by_uuid() 139 cmp.len = slash - uuid_str; in devt_from_partuuid() 141 cmp.len = strlen(uuid_str); in devt_from_partuuid() 144 if (!cmp.len) { in devt_from_partuuid() 347 int len = get_filesystem_list(page); in get_fs_names() local 350 page[len] = '\0'; in get_fs_names()
|
D | do_mounts_md.c | 255 int len, pos; in raid_setup() local 257 len = strlen(str) + 1; in raid_setup() 260 while (pos < len) { in raid_setup() 265 else wlen = (len-1)-pos; in raid_setup()
|
D | do_mounts_rd.c | 314 static long __init compr_fill(void *buf, unsigned long len) in compr_fill() argument 316 long r = sys_read(crd_infd, buf, len); in compr_fill()
|