Lines Matching refs:entries

381 			   ERST_TAB_ENTRY(erst_tab), erst_tab->entries);  in erst_exec_ctx_init()
439 u64 *entries; member
488 u64 *entries; in __erst_record_id_cache_add_one() local
509 entries = erst_record_id_cache.entries; in __erst_record_id_cache_add_one()
511 if (entries[i] == id) in __erst_record_id_cache_add_one()
529 alloc_size = new_size * sizeof(entries[0]); in __erst_record_id_cache_add_one()
536 memcpy(new_entries, entries, in __erst_record_id_cache_add_one()
537 erst_record_id_cache.len * sizeof(entries[0])); in __erst_record_id_cache_add_one()
539 kfree(entries); in __erst_record_id_cache_add_one()
541 vfree(entries); in __erst_record_id_cache_add_one()
542 erst_record_id_cache.entries = entries = new_entries; in __erst_record_id_cache_add_one()
545 entries[i] = id; in __erst_record_id_cache_add_one()
559 u64 *entries; in erst_get_record_id_next() local
569 entries = erst_record_id_cache.entries; in erst_get_record_id_next()
571 if (entries[*pos] != APEI_ERST_INVALID_RECORD_ID) in erst_get_record_id_next()
575 *record_id = entries[*pos]; in erst_get_record_id_next()
586 *record_id = erst_record_id_cache.entries[*pos]; in erst_get_record_id_next()
604 u64 *entries; in __erst_record_id_cache_compact() local
609 entries = erst_record_id_cache.entries; in __erst_record_id_cache_compact()
611 if (entries[i] == APEI_ERST_INVALID_RECORD_ID) in __erst_record_id_cache_compact()
614 entries[wpos] = entries[i]; in __erst_record_id_cache_compact()
879 u64 *entries; in erst_clear() local
895 entries = erst_record_id_cache.entries; in erst_clear()
897 if (entries[i] == record_id) in erst_clear()
898 entries[i] = APEI_ERST_INVALID_RECORD_ID; in erst_clear()
923 if (erst_tab->entries != in erst_check_table()