Searched refs:desc_start (Results 1 – 4 of 4) sorted by relevance
48 const uint8_t* desc_start; in avb_descriptor_foreach() local78 desc_start = image_data + sizeof(AvbVBMetaImageHeader) + in avb_descriptor_foreach()82 desc_end = desc_start + avb_be64toh(header->descriptors_size); in avb_descriptor_foreach()84 if (desc_start < image_data || desc_start > image_end || in avb_descriptor_foreach()85 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { in avb_descriptor_foreach()90 for (p = desc_start; p < desc_end;) { in avb_descriptor_foreach()101 if (nb_total + p < desc_start || nb_total + p > desc_end) { in avb_descriptor_foreach()
29 const uint8_t* desc_start; in avb_descriptor_foreach() local59 desc_start = image_data + sizeof(AvbVBMetaImageHeader) + in avb_descriptor_foreach()63 desc_end = desc_start + avb_be64toh(header->descriptors_size); in avb_descriptor_foreach()65 if (desc_start < image_data || desc_start > image_end || in avb_descriptor_foreach()66 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { in avb_descriptor_foreach()71 for (p = desc_start; p < desc_end;) { in avb_descriptor_foreach()82 if (nb_total + p < desc_start || nb_total + p > desc_end) { in avb_descriptor_foreach()
361 ulong desc_start = (ulong)desc_p; in _dw_eth_send() local362 ulong desc_end = desc_start + in _dw_eth_send()374 invalidate_dcache_range(desc_start, desc_end); in _dw_eth_send()405 flush_dcache_range(desc_start, desc_end); in _dw_eth_send()424 ulong desc_start = (ulong)desc_p; in _dw_eth_recv() local425 ulong desc_end = desc_start + in _dw_eth_recv()431 invalidate_dcache_range(desc_start, desc_end); in _dw_eth_recv()454 ulong desc_start = (ulong)desc_p; in _dw_free_pkt() local455 ulong desc_end = desc_start + in _dw_free_pkt()465 flush_dcache_range(desc_start, desc_end); in _dw_free_pkt()
518 uintptr_t desc_start = (uintptr_t)desc_p; in _sun8i_eth_recv() local519 uintptr_t desc_end = desc_start + in _sun8i_eth_recv()526 invalidate_dcache_range(desc_start, desc_end); in _sun8i_eth_recv()564 uintptr_t desc_start = (uintptr_t)desc_p; in _sun8i_emac_eth_send() local565 uintptr_t desc_end = desc_start + in _sun8i_emac_eth_send()573 invalidate_dcache_range(desc_start, desc_end); in _sun8i_emac_eth_send()593 flush_dcache_range(desc_start, desc_end); in _sun8i_emac_eth_send()718 uintptr_t desc_start = (uintptr_t)desc_p; in _sun8i_free_pkt() local719 uintptr_t desc_end = desc_start + in _sun8i_free_pkt()726 flush_dcache_range(desc_start, desc_end); in _sun8i_free_pkt()