Lines Matching refs:container
75 struct container_hdr *container, in read_auth_image() argument
83 if (image_index > container->num_images) { in read_auth_image()
88 images = (struct boot_img_t *)((u8 *)container + in read_auth_image()
103 container, sector, sectors); in read_auth_image()
123 struct container_hdr *container = NULL; in read_auth_container() local
135 container = (struct container_hdr *)spl_get_load_buffer(-size, size); in read_auth_container()
138 container, sector, sectors); in read_auth_container()
139 if (info->read(info, sector, sectors, container) != sectors) in read_auth_container()
142 if (container->tag != 0x87 && container->version != 0x0) { in read_auth_container()
147 if (!container->num_images) { in read_auth_container()
152 length = container->length_lsb + (container->length_msb << 8); in read_auth_container()
159 container = (struct container_hdr *)spl_get_load_buffer(-size, size); in read_auth_container()
162 __func__, container, sector, sectors); in read_auth_container()
163 if (info->read(info, sector, sectors, container) != in read_auth_container()
169 memcpy((void *)SEC_SECURE_RAM_BASE, (const void *)container, in read_auth_container()
180 for (i = 0; i < container->num_images; i++) { in read_auth_container()
182 container, i, in read_auth_container()