Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/acpi/apei/
Derst.c434 struct erst_record_id_cache { struct
442 static struct erst_record_id_cache erst_record_id_cache = { argument
443 .lock = __MUTEX_INITIALIZER(erst_record_id_cache.lock),
468 rc = mutex_lock_interruptible(&erst_record_id_cache.lock); in erst_get_record_id_begin()
471 erst_record_id_cache.refcount++; in erst_get_record_id_begin()
472 mutex_unlock(&erst_record_id_cache.lock); in erst_get_record_id_begin()
506 entries = erst_record_id_cache.entries; in __erst_record_id_cache_add_one()
507 for (i = 0; i < erst_record_id_cache.len; i++) { in __erst_record_id_cache_add_one()
512 if (i < erst_record_id_cache.len) in __erst_record_id_cache_add_one()
514 if (erst_record_id_cache.len >= erst_record_id_cache.size) { in __erst_record_id_cache_add_one()
[all …]