Lines Matching full:ent
54 const struct ipu6_cpd_ent *ent; in ipu6_cpd_get_entry() local
56 ent = (const struct ipu6_cpd_ent *)((const u8 *)cpd + cpd_hdr->hdr_len); in ipu6_cpd_get_entry()
57 return ent + idx; in ipu6_cpd_get_entry()
164 const struct ipu6_cpd_ent *ent, *man_ent, *met_ent; in ipu6_cpd_create_pkg_dir() local
193 ent = ipu6_cpd_get_moduledata(src); in ipu6_cpd_create_pkg_dir()
195 ret = ipu6_cpd_parse_module_data(isp, src + ent->offset, in ipu6_cpd_create_pkg_dir()
196 ent->len, dma_addr_src + ent->offset, in ipu6_cpd_create_pkg_dir()
233 const struct ipu6_cpd_ent *ent; in ipu6_cpd_validate_cpd() local
246 if ((cpd_size - len) / sizeof(*ent) < cpd_hdr->ent_cnt) { in ipu6_cpd_validate_cpd()
252 ent = (const struct ipu6_cpd_ent *)(((const u8 *)cpd_hdr) + len); in ipu6_cpd_validate_cpd()
253 for (i = 0; i < cpd_hdr->ent_cnt; i++, ent++) { in ipu6_cpd_validate_cpd()
254 if (data_size < ent->offset || in ipu6_cpd_validate_cpd()
255 data_size - ent->offset < ent->len) { in ipu6_cpd_validate_cpd()
323 const struct ipu6_cpd_ent *ent; in ipu6_cpd_validate_cpd_file() local
340 ent = ipu6_cpd_get_manifest(cpd_file); in ipu6_cpd_validate_cpd_file()
341 if (ent->len > MAX_MANIFEST_SIZE) { in ipu6_cpd_validate_cpd_file()
347 ent = ipu6_cpd_get_metadata(cpd_file); in ipu6_cpd_validate_cpd_file()
348 ret = ipu6_cpd_validate_metadata(isp, cpd_file + ent->offset, ent->len); in ipu6_cpd_validate_cpd_file()
355 ent = ipu6_cpd_get_moduledata(cpd_file); in ipu6_cpd_validate_cpd_file()
356 ret = ipu6_cpd_validate_moduledata(isp, cpd_file + ent->offset, in ipu6_cpd_validate_cpd_file()
357 ent->len); in ipu6_cpd_validate_cpd_file()