Lines Matching refs:e_lru_list
142 mb_assert(list_empty(&ce->e_lru_list)); in __mb_cache_entry_release_unlock()
143 list_add_tail(&ce->e_lru_list, &mb_cache_lru_list); in __mb_cache_entry_release_unlock()
179 struct mb_cache_entry, e_lru_list); in mb_cache_shrink_fn()
180 list_move_tail(&ce->e_lru_list, &free_list); in mb_cache_shrink_fn()
189 list_for_each_entry_safe(entry, tmp, &free_list, e_lru_list) { in mb_cache_shrink_fn()
276 list_entry(l, struct mb_cache_entry, e_lru_list); in mb_cache_shrink()
278 list_move_tail(&ce->e_lru_list, &free_list); in mb_cache_shrink()
285 e_lru_list), GFP_KERNEL); in mb_cache_shrink()
306 list_entry(l, struct mb_cache_entry, e_lru_list); in mb_cache_destroy()
308 list_move_tail(&ce->e_lru_list, &free_list); in mb_cache_destroy()
317 e_lru_list), GFP_KERNEL); in mb_cache_destroy()
350 struct mb_cache_entry, e_lru_list); in mb_cache_entry_alloc()
351 list_del_init(&ce->e_lru_list); in mb_cache_entry_alloc()
361 INIT_LIST_HEAD(&ce->e_lru_list); in mb_cache_entry_alloc()
442 mb_assert(list_empty(&ce->e_lru_list)); in mb_cache_entry_free()
472 if (!list_empty(&ce->e_lru_list)) in mb_cache_entry_get()
473 list_del_init(&ce->e_lru_list); in mb_cache_entry_get()
513 if (!list_empty(&ce->e_lru_list)) in __mb_cache_entry_find()
514 list_del_init(&ce->e_lru_list); in __mb_cache_entry_find()