Lines Matching refs:ah
185 static void fmap_limit_area(FmapAreaHeader *ah, uint32_t len) in fmap_limit_area() argument
187 uint32_t sum = ah->area_offset + ah->area_size; in fmap_limit_area()
188 if (sum < ah->area_size || sum > len) { in fmap_limit_area()
190 __func__, ah->area_name, in fmap_limit_area()
191 ah->area_offset, ah->area_size, len); in fmap_limit_area()
192 ah->area_offset = 0; in fmap_limit_area()
193 ah->area_size = 0; in fmap_limit_area()
202 FmapAreaHeader *ah = 0; in futil_traverse() local
226 fmap_find_by_name(buf, len, fmap, area->name, &ah); in futil_traverse()
228 fmap_limit_area(ah, len); in futil_traverse()
232 ah->area_offset, in futil_traverse()
233 buf + ah->area_offset, in futil_traverse()
234 ah->area_size); in futil_traverse()
244 fmap_find_by_name(buf, len, fmap, area->name, &ah); in futil_traverse()
246 fmap_limit_area(ah, len); in futil_traverse()
250 ah->area_offset, in futil_traverse()
251 buf + ah->area_offset, in futil_traverse()
252 ah->area_size); in futil_traverse()