Home
last modified time | relevance | path

Searched refs:size (Results 1 – 6 of 6) sorted by relevance

/init/
Ddo_mounts_rd.c61 const int size = 512; in identify_ramdisk_image() local
72 buf = kmalloc(size, GFP_KERNEL); in identify_ramdisk_image()
80 memset(buf, 0xe5, size); in identify_ramdisk_image()
86 kernel_read(file, buf, size, &pos); in identify_ramdisk_image()
88 *decompressor = decompress_method(buf, size, &compress_name); in identify_ramdisk_image()
106 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image()
114 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
132 kernel_read(file, buf, size, &pos); in identify_ramdisk_image()
138 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
146 kernel_read(file, buf, size, &pos); in identify_ramdisk_image()
Dmain.c271 u32 size, csum; in get_boot_config_from_initrd() local
293 size = le32_to_cpu(hdr[0]); in get_boot_config_from_initrd()
296 data = ((void *)hdr) - size; in get_boot_config_from_initrd()
299 size, initrd_end - initrd_start); in get_boot_config_from_initrd()
306 *_size = size; in get_boot_config_from_initrd()
325 static int __init xbc_snprint_cmdline(char *buf, size_t size, in xbc_snprint_cmdline() argument
329 char *end = buf + size; in xbc_snprint_cmdline()
356 return buf - (end - size); in xbc_snprint_cmdline()
412 u32 size, csum; in setup_boot_config() local
417 data = get_boot_config_from_initrd(&size, &csum); in setup_boot_config()
[all …]
Dinitramfs.c222 static void __init read_into(char *buf, unsigned size, enum state next) in read_into() argument
224 if (byte_count >= size) { in read_into()
226 eat(size); in read_into()
230 remains = size; in read_into()
562 unsigned long size; in reserve_initrd_mem() local
576 size = phys_initrd_size + (phys_initrd_start - start); in reserve_initrd_mem()
577 size = round_up(size, PAGE_SIZE); in reserve_initrd_mem()
579 if (!memblock_is_region_memory(start, size)) { in reserve_initrd_mem()
581 (u64)start, size); in reserve_initrd_mem()
585 if (memblock_is_region_reserved(start, size)) { in reserve_initrd_mem()
[all …]
Ddo_mounts_initrd.c34 unsigned long size; in early_initrdmem() local
39 size = memparse(endp + 1, NULL); in early_initrdmem()
42 phys_initrd_size = size; in early_initrdmem()
DKconfig255 size matters less.
272 size is about 10% smaller with bzip2, in comparison to gzip.
282 The kernel size is about 33% smaller with LZMA in comparison to gzip.
290 code. The size of the kernel is about 30% smaller with XZ in
304 size is about 10% bigger than gzip; however its speed
315 Its compression ratio is worse than LZO. The size of the kernel
722 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
728 Select the minimal kernel log buffer size as a power of 2.
729 The final size is affected by LOG_CPU_MAX_BUF_SHIFT config
730 parameter, see below. Any higher size also might be forced
[all …]
Ddo_mounts.c342 static int __init split_fs_names(char *page, size_t size, char *names) in split_fs_names() argument
347 strlcpy(p, root_fs_names, size); in split_fs_names()