Lines Matching refs:rd_hdr
396 const image_header_t *rd_hdr = (const image_header_t *)rd_addr; in image_get_ramdisk() local
398 if (!image_check_magic(rd_hdr)) { in image_get_ramdisk()
404 if (!image_check_hcrc(rd_hdr)) { in image_get_ramdisk()
411 image_print_contents(rd_hdr); in image_get_ramdisk()
415 if (!image_check_dcrc(rd_hdr)) { in image_get_ramdisk()
425 if (!image_check_os(rd_hdr, IH_OS_LINUX) || in image_get_ramdisk()
426 !image_check_arch(rd_hdr, arch) || in image_get_ramdisk()
427 !image_check_type(rd_hdr, IH_TYPE_RAMDISK)) { in image_get_ramdisk()
434 return rd_hdr; in image_get_ramdisk()
934 const image_header_t *rd_hdr; in boot_get_ramdisk() local
1031 rd_hdr = image_get_ramdisk(rd_addr, arch, in boot_get_ramdisk()
1034 if (rd_hdr == NULL) in boot_get_ramdisk()
1037 rd_data = image_get_data(rd_hdr); in boot_get_ramdisk()
1038 rd_len = image_get_data_size(rd_hdr); in boot_get_ramdisk()
1039 rd_load = image_get_load(rd_hdr); in boot_get_ramdisk()