Lines Matching refs:initrd_size
107 unsigned long initrd_size) in prep_initrd() argument
115 initrd_size = _initrd_end - _initrd_start; in prep_initrd()
116 } else if (initrd_size > 0) { in prep_initrd()
118 initrd_addr, initrd_addr + initrd_size); in prep_initrd()
122 if (! initrd_size) in prep_initrd()
134 initrd_size); in prep_initrd()
135 initrd_addr = (unsigned long)malloc(initrd_size); in prep_initrd()
140 initrd_addr, old_addr, initrd_size); in prep_initrd()
141 memmove((void *)initrd_addr, old_addr, initrd_size); in prep_initrd()
148 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); in prep_initrd()
150 return (struct addr_range){(void *)initrd_addr, initrd_size}; in prep_initrd()
220 loader_info.initrd_addr, loader_info.initrd_size); in start()