Lines Matching refs:lru
71 struct list_head lru; member
82 struct list_head lru; member
130 struct list_lru *lru; in nfs4_xattr_entry_lru_add() local
132 lru = (entry->flags & NFS4_XATTR_ENTRY_EXTVAL) ? in nfs4_xattr_entry_lru_add()
135 return list_lru_add(lru, &entry->lru); in nfs4_xattr_entry_lru_add()
141 struct list_lru *lru; in nfs4_xattr_entry_lru_del() local
143 lru = (entry->flags & NFS4_XATTR_ENTRY_EXTVAL) ? in nfs4_xattr_entry_lru_del()
146 return list_lru_del(lru, &entry->lru); in nfs4_xattr_entry_lru_del()
239 INIT_LIST_HEAD(&entry->lru); in nfs4_xattr_alloc_entry()
261 if (WARN_ON(!list_empty(&entry->lru))) in nfs4_xattr_free_entry_cb()
353 list_lru_del(&nfs4_xattr_cache_lru, &oldcache->lru); in nfs4_xattr_cache_unlink()
478 list_lru_add(&nfs4_xattr_cache_lru, &cache->lru); in nfs4_xattr_get_cache()
825 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in cache_lru_isolate() argument
830 struct nfs4_xattr_cache, lru); in cache_lru_isolate()
850 list_lru_isolate(lru, &cache->lru); in cache_lru_isolate()
890 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in entry_lru_isolate() argument
896 struct nfs4_xattr_entry, lru); in entry_lru_isolate()
919 list_lru_isolate(lru, &entry->lru); in entry_lru_isolate()
930 list_lru_isolate(lru, &entry->lru); in entry_lru_isolate()
945 struct list_lru *lru; in nfs4_xattr_entry_scan() local
947 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_scan()
950 freed = list_lru_shrink_walk(lru, sc, entry_lru_isolate, &dispose); in nfs4_xattr_entry_scan()
973 struct list_lru *lru; in nfs4_xattr_entry_count() local
975 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_count()
978 count = list_lru_shrink_count(lru, sc); in nfs4_xattr_entry_count()
991 INIT_LIST_HEAD(&cache->lru); in nfs4_xattr_cache_init_once()