Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/acpi/apei/
Derst.c436 struct erst_record_id_cache { struct
444 static struct erst_record_id_cache erst_record_id_cache = { argument
445 .lock = __MUTEX_INITIALIZER(erst_record_id_cache.lock),
470 rc = mutex_lock_interruptible(&erst_record_id_cache.lock); in erst_get_record_id_begin()
473 erst_record_id_cache.refcount++; in erst_get_record_id_begin()
474 mutex_unlock(&erst_record_id_cache.lock); in erst_get_record_id_begin()
508 entries = erst_record_id_cache.entries; in __erst_record_id_cache_add_one()
509 for (i = 0; i < erst_record_id_cache.len; i++) { in __erst_record_id_cache_add_one()
514 if (i < erst_record_id_cache.len) in __erst_record_id_cache_add_one()
516 if (erst_record_id_cache.len >= erst_record_id_cache.size) { in __erst_record_id_cache_add_one()
[all …]