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