Home
last modified time | relevance | path

Searched refs:desc_start (Results 1 – 4 of 4) sorted by relevance

/external/avb/libavb/
Davb_descriptor.c48 const uint8_t* desc_start; in avb_descriptor_foreach() local
78 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()
/external/u-boot/lib/libavb/
Davb_descriptor.c29 const uint8_t* desc_start; in avb_descriptor_foreach() local
59 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()
/external/u-boot/drivers/net/
Ddesignware.c361 ulong desc_start = (ulong)desc_p; in _dw_eth_send() local
362 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() local
425 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() local
455 ulong desc_end = desc_start + in _dw_free_pkt()
465 flush_dcache_range(desc_start, desc_end); in _dw_free_pkt()
Dsun8i_emac.c518 uintptr_t desc_start = (uintptr_t)desc_p; in _sun8i_eth_recv() local
519 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() local
565 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() local
719 uintptr_t desc_end = desc_start + in _sun8i_free_pkt()
726 flush_dcache_range(desc_start, desc_end); in _sun8i_free_pkt()