Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/acpi/apei/
Derst.c435 struct erst_record_id_cache { struct
443 static struct erst_record_id_cache erst_record_id_cache = { argument
444 .lock = __MUTEX_INITIALIZER(erst_record_id_cache.lock),
469 rc = mutex_lock_interruptible(&erst_record_id_cache.lock); in erst_get_record_id_begin()
472 erst_record_id_cache.refcount++; in erst_get_record_id_begin()
473 mutex_unlock(&erst_record_id_cache.lock); in erst_get_record_id_begin()
507 entries = erst_record_id_cache.entries; in __erst_record_id_cache_add_one()
508 for (i = 0; i < erst_record_id_cache.len; i++) { in __erst_record_id_cache_add_one()
513 if (i < erst_record_id_cache.len) in __erst_record_id_cache_add_one()
515 if (erst_record_id_cache.len >= erst_record_id_cache.size) { in __erst_record_id_cache_add_one()
[all …]