Lines Matching refs:initrd_size
92 unsigned long initrd_size) in prep_initrd() argument
100 initrd_size = _initrd_end - _initrd_start; in prep_initrd()
101 } else if (initrd_size > 0) { in prep_initrd()
103 initrd_addr, initrd_addr + initrd_size); in prep_initrd()
107 if (! initrd_size) in prep_initrd()
119 initrd_size); in prep_initrd()
120 initrd_addr = (unsigned long)malloc(initrd_size); in prep_initrd()
125 initrd_addr, old_addr, initrd_size); in prep_initrd()
126 memmove((void *)initrd_addr, old_addr, initrd_size); in prep_initrd()
133 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); in prep_initrd()
135 return (struct addr_range){(void *)initrd_addr, initrd_size}; in prep_initrd()
194 loader_info.initrd_addr, loader_info.initrd_size); in start()