Lines Matching refs:initramfs
57 typedef int f_ldinitramfs(struct initramfs *, char *);
142 static int ldinitramfs_raw(struct initramfs *initramfs, char *fname) in ldinitramfs_raw() argument
144 return initramfs_load_archive(initramfs, fname); in ldinitramfs_raw()
148 static int ldinitramfs_cpio(struct initramfs *initramfs, char *fname) in ldinitramfs_cpio() argument
178 rc = initramfs_load_file(initramfs, fname, target_fname, do_mkdir, 0755); in ldinitramfs_cpio()
188 static int process_initramfs_args(char *arg, struct initramfs *initramfs, in process_initramfs_args() argument
218 if (ldinitramfs(initramfs, arg)) { in process_initramfs_args()
257 struct initramfs *initramfs; in main() local
326 initramfs = initramfs_init(); in main()
327 if (!initramfs) { in main()
334 if (process_initramfs_args(arg, initramfs, kernel_name, ldmode_raw, in main()
342 if (process_initramfs_args(arg, initramfs, kernel_name, ldmode_raw, in main()
350 if (process_initramfs_args(arg, initramfs, kernel_name, ldmode_cpio, in main()
359 if (initramfs_add_file(initramfs, dhcpdata, dhcplen, dhcplen, in main()
397 syslinux_boot_linux(kernel_data, kernel_len, initramfs, in main()