Home
last modified time | relevance | path

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

/fs/proc/
Dmeminfo.c30 int lru; in meminfo_proc_show() local
49 for (lru = LRU_BASE; lru < NR_LRU_LISTS; lru++) in meminfo_proc_show()
50 pages[lru] = global_page_state(NR_LRU_BASE + lru); in meminfo_proc_show()
/fs/nfs/
Ddir.c1704 struct nfs_access_entry, lru); in nfs_access_cache_shrinker()
1705 list_move(&cache->lru, &head); in nfs_access_cache_shrinker()
1723 cache = list_entry(head.next, struct nfs_access_entry, lru); in nfs_access_cache_shrinker()
1724 list_del(&cache->lru); in nfs_access_cache_shrinker()
1741 list_del(&entry->lru); in __nfs_access_zap_cache()
1806 list_move_tail(&cache->lru, &nfsi->access_cache_entry_lru); in nfs_access_get_cached()
1813 list_del(&cache->lru); in nfs_access_get_cached()
1845 list_add_tail(&set->lru, &nfsi->access_cache_entry_lru); in nfs_access_add_rbtree()
1850 list_add_tail(&set->lru, &nfsi->access_cache_entry_lru); in nfs_access_add_rbtree()
1851 list_del(&entry->lru); in nfs_access_add_rbtree()
/fs/
Dbuffer.c1363 struct bh_lru *lru; in bh_lru_install() local
1367 lru = &__get_cpu_var(bh_lrus); in bh_lru_install()
1368 if (lru->bhs[0] != bh) { in bh_lru_install()
1376 struct buffer_head *bh2 = lru->bhs[in]; in bh_lru_install()
1391 memcpy(lru->bhs, bhs, sizeof(bhs)); in bh_lru_install()
1406 struct bh_lru *lru; in lookup_bh_lru() local
1411 lru = &__get_cpu_var(bh_lrus); in lookup_bh_lru()
1413 struct buffer_head *bh = lru->bhs[i]; in lookup_bh_lru()
1419 lru->bhs[i] = lru->bhs[i - 1]; in lookup_bh_lru()
1422 lru->bhs[0] = bh; in lookup_bh_lru()
Dmpage.c385 struct page *page = list_entry(pages->prev, struct page, lru); in mpage_readpages()
388 list_del(&page->lru); in mpage_readpages()
/fs/cifs/
Dfile.c1779 page = list_entry(pages->prev, struct page, lru); in cifs_copy_cache_pages()
1780 list_del(&page->lru); in cifs_copy_cache_pages()
1851 page = list_entry(page_list->prev, struct page, lru); in cifs_readpages()
1857 list_entry(page_list->prev, struct page, lru)->index; in cifs_readpages()
1858 list_for_each_entry_reverse(tmp_page, page_list, lru) { in cifs_readpages()
/fs/ocfs2/
Daops.c371 last = list_entry(pages->prev, struct page, lru); in ocfs2_readpages()
/fs/btrfs/
Dextent_io.c2581 struct page *page = list_entry(pages->prev, struct page, lru); in extent_readpages()
2584 list_del(&page->lru); in extent_readpages()