Searched refs:size (Results 1 – 5 of 5) sorted by relevance
/init/ |
D | do_mounts_rd.c | 61 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()
|
D | main.c | 269 u32 size, csum; in get_boot_config_from_initrd() local 291 size = le32_to_cpu(hdr[0]); in get_boot_config_from_initrd() 294 data = ((void *)hdr) - size; in get_boot_config_from_initrd() 297 size, initrd_end - initrd_start); in get_boot_config_from_initrd() 304 *_size = size; in get_boot_config_from_initrd() 323 static int __init xbc_snprint_cmdline(char *buf, size_t size, in xbc_snprint_cmdline() argument 327 char *end = buf + size; in xbc_snprint_cmdline() 354 return buf - (end - size); in xbc_snprint_cmdline() 404 u32 size, csum; in setup_boot_config() local 409 data = get_boot_config_from_initrd(&size, &csum); in setup_boot_config() [all …]
|
D | do_mounts_initrd.c | 34 unsigned long size; in early_initrdmem() local 39 size = memparse(endp + 1, NULL); in early_initrdmem() 42 phys_initrd_size = size; in early_initrdmem()
|
D | initramfs.c | 209 static void __init read_into(char *buf, unsigned size, enum state next) in read_into() argument 211 if (byte_count >= size) { in read_into() 213 eat(size); in read_into() 217 remains = size; in read_into()
|
D | Kconfig | 252 size matters less. 269 size is about 10% smaller with bzip2, in comparison to gzip. 279 The kernel size is about 33% smaller with LZMA in comparison to gzip. 287 code. The size of the kernel is about 30% smaller with XZ in 301 size is about 10% bigger than gzip; however its speed 312 Its compression ratio is worse than LZO. The size of the kernel 718 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" 724 Select the minimal kernel log buffer size as a power of 2. 725 The final size is affected by LOG_CPU_MAX_BUF_SHIFT config 726 parameter, see below. Any higher size also might be forced [all …]
|