Lines Matching refs:iterator
203 coreboot_cfr_next_entry(struct coreboot_cfr_iterator *iterator)
207 if (!iterator->remaining)
210 if (iterator->remaining < sizeof(*entry))
213 entry = (const struct coreboot_table_entry *)iterator->cursor;
214 if (entry->size < sizeof(*entry) || entry->size > iterator->remaining)
217 iterator->cursor += entry->size;
218 iterator->remaining -= entry->size;
226 struct coreboot_cfr_iterator iterator = {
233 entry = coreboot_cfr_next_entry(&iterator);
746 struct coreboot_cfr_iterator iterator = {
754 entry = coreboot_cfr_next_entry(&iterator);
768 struct coreboot_cfr_iterator iterator = {
787 entry = coreboot_cfr_next_entry(&iterator);
1026 struct coreboot_cfr_iterator iterator = {
1038 entry = coreboot_cfr_next_entry(&iterator);