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