Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/acpi/apei/
Derst.c437 struct erst_record_id_cache { struct
445 static struct erst_record_id_cache erst_record_id_cache = { argument
446 .lock = __MUTEX_INITIALIZER(erst_record_id_cache.lock),
471 rc = mutex_lock_interruptible(&erst_record_id_cache.lock); in erst_get_record_id_begin()
474 erst_record_id_cache.refcount++; in erst_get_record_id_begin()
475 mutex_unlock(&erst_record_id_cache.lock); in erst_get_record_id_begin()
509 entries = erst_record_id_cache.entries; in __erst_record_id_cache_add_one()
510 for (i = 0; i < erst_record_id_cache.len; i++) { in __erst_record_id_cache_add_one()
515 if (i < erst_record_id_cache.len) in __erst_record_id_cache_add_one()
517 if (erst_record_id_cache.len >= erst_record_id_cache.size) { in __erst_record_id_cache_add_one()
[all …]