Home
last modified time | relevance | path

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

12

/fs/proc/
Dmeminfo.c41 int lru; in meminfo_proc_show() local
52 for (lru = LRU_BASE; lru < NR_LRU_LISTS; lru++) in meminfo_proc_show()
53 pages[lru] = global_node_page_state(NR_LRU_BASE + lru); in meminfo_proc_show()
/fs/ceph/
Dsnap.c1028 list_del_init(&exist->lru); in ceph_get_snapid_map()
1049 INIT_LIST_HEAD(&sm->lru); in ceph_get_snapid_map()
1070 list_del_init(&exist->lru); in ceph_get_snapid_map()
1095 list_add_tail(&sm->lru, &mdsc->snapid_map_lru); in ceph_put_snapid_map()
1117 struct ceph_snapid_map, lru); in ceph_trim_snapid_map()
1122 list_move(&sm->lru, &to_free); in ceph_trim_snapid_map()
1127 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_trim_snapid_map()
1128 list_del(&sm->lru); in ceph_trim_snapid_map()
1146 list_move(&sm->lru, &to_free); in ceph_cleanup_snapid_map()
1151 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_cleanup_snapid_map()
[all …]
Dmds_client.h324 struct list_head lru; member
Daddr.c342 list_del(&page->lru); in start_read()
353 list_for_each_entry_reverse(page, page_list, lru) { in start_read()
383 page = list_entry(page_list->prev, struct page, lru); in start_read()
385 list_del(&page->lru); in start_read()
Dxattr.c1249 struct page, lru); in ceph_security_init_secctx()
Dmds_client.c3299 page = list_first_entry(&recon_state->pagelist->head, struct page, lru); in send_reconnect_partial()
3702 struct page, lru); in send_mds_reconnect()
/fs/cachefiles/
Drdwr.c476 list_for_each_entry_safe(netpage, _n, list, lru) { in cachefiles_read_backing_file()
477 list_del(&netpage->lru); in cachefiles_read_backing_file()
652 list_for_each_entry_safe(netpage, _n, list, lru) { in cachefiles_read_backing_file()
653 list_del(&netpage->lru); in cachefiles_read_backing_file()
730 list_for_each_entry_safe(page, _n, pages, lru) { in cachefiles_read_or_alloc_pages()
751 list_move(&page->lru, &backpages); in cachefiles_read_or_alloc_pages()
856 list_for_each_entry(page, pages, lru) { in cachefiles_allocate_pages()
/fs/erofs/
Ddata.c291 struct page *page = list_last_entry(pages, struct page, lru); in erofs_raw_access_readpages()
296 page = list_entry(pages->prev, struct page, lru); in erofs_raw_access_readpages()
299 list_del(&page->lru); in erofs_raw_access_readpages()
Dcompress.h52 list_add(&page->lru, pagepool); in z_erofs_put_stagingpage()
Dutils.c17 list_del(&page->lru); in erofs_allocpage()
Dzdata.c1098 list_add(&page->lru, pagepool); in pickup_page_for_submission()
1390 list_del(&page->lru); in z_erofs_vle_normalaccess_readpages()
1400 list_add(&page->lru, &pagepool); in z_erofs_vle_normalaccess_readpages()
/fs/nfs/
Ddir.c2164 cache = list_entry(head->next, struct nfs_access_entry, lru); in nfs_access_free_list()
2165 list_del(&cache->lru); in nfs_access_free_list()
2189 struct nfs_access_entry, lru); in nfs_do_access_cache_scan()
2190 list_move(&cache->lru, &head); in nfs_do_access_cache_scan()
2254 list_move(&entry->lru, head); in __nfs_access_zap_cache()
2329 list_move_tail(&cache->lru, &nfsi->access_cache_entry_lru); in nfs_access_get_cached()
2354 cache = list_entry(lh, struct nfs_access_entry, lru); in nfs_access_get_cached_rcu()
2394 list_add_tail(&set->lru, &nfsi->access_cache_entry_lru); in nfs_access_add_rbtree()
2399 list_add_tail(&set->lru, &nfsi->access_cache_entry_lru); in nfs_access_add_rbtree()
2400 list_del(&entry->lru); in nfs_access_add_rbtree()
/fs/afs/
Dfile.c457 for (p = first->lru.prev; p != pages; p = p->prev) { in afs_readpages_one()
458 page = list_entry(p, struct page, lru); in afs_readpages_one()
487 list_del(&page->lru); in afs_readpages_one()
/fs/
Ddcache.c439 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate() argument
446 list_lru_isolate(lru, &dentry->d_lru); in d_lru_isolate()
449 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move() argument
456 list_lru_isolate_move(lru, &dentry->d_lru, list); in d_lru_shrink_move()
1125 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate() argument
1145 d_lru_isolate(lru, dentry); in dentry_lru_isolate()
1176 d_lru_shrink_move(lru, dentry, freeable); in dentry_lru_isolate()
1206 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate_shrink() argument
1219 d_lru_shrink_move(lru, dentry, freeable); in dentry_lru_isolate_shrink()
Dinode.c732 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in inode_lru_isolate() argument
750 list_lru_isolate(lru, &inode->i_lru); in inode_lru_isolate()
784 list_lru_isolate_move(lru, &inode->i_lru, freeable); in inode_lru_isolate()
Dmpage.c434 list_del(&page->lru); in mpage_readpages()
/fs/xfs/
Dxfs_buf.c1559 struct list_lru_one *lru, in xfs_buftarg_wait_rele() argument
1581 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_wait_rele()
1635 struct list_lru_one *lru, in xfs_buftarg_isolate() argument
1659 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_isolate()
Dxfs_qm.c413 struct list_lru_one *lru, in xfs_qm_dquot_isolate() argument
434 list_lru_isolate(lru, &dqp->q_lru); in xfs_qm_dquot_isolate()
475 list_lru_isolate_move(lru, &dqp->q_lru, &isol->dispose); in xfs_qm_dquot_isolate()
/fs/iomap/
Dbuffered-io.c334 list_del(&page->lru); in iomap_next_page()
388 loff_t pos = page_offset(list_entry(pages->prev, struct page, lru)); in iomap_readpages()
389 loff_t last = page_offset(list_entry(pages->next, struct page, lru)); in iomap_readpages()
/fs/nfsd/
Dfilecache.c360 nfsd_file_lru_cb(struct list_head *item, struct list_lru_one *lru, in nfsd_file_lru_cb() argument
394 list_lru_isolate_move(lru, &nf->nf_lru, head); in nfsd_file_lru_cb()
/fs/ext4/
Dreadpage.c286 list_del(&page->lru); in ext4_mpage_readpages()
/fs/cifs/
Dfile.c4252 list_move_tail(&page->lru, tmplist); in readpages_get_pages()
4256 list_for_each_entry_safe_reverse(page, tpage, page_list, lru) { in readpages_get_pages()
4270 list_move_tail(&page->lru, tmplist); in readpages_get_pages()
4369 list_for_each_entry_safe(page, tpage, &tmplist, lru) { in cifs_readpages()
4370 list_del(&page->lru); in cifs_readpages()
4391 list_for_each_entry_safe(page, tpage, &tmplist, lru) { in cifs_readpages()
4392 list_del(&page->lru); in cifs_readpages()
/fs/gfs2/
Dquota.c146 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in gfs2_qd_isolate() argument
156 list_lru_isolate_move(lru, &qd->qd_lru, dispose); in gfs2_qd_isolate()
/fs/f2fs/
Ddata.c1955 page = list_last_entry(pages, struct page, lru); in f2fs_mpage_readpages()
1958 list_del(&page->lru); in f2fs_mpage_readpages()
2003 struct page *page = list_last_entry(pages, struct page, lru); in f2fs_read_data_pages()
/fs/fscache/
Dpage.c770 list_for_each_entry(page, pages, lru) { in __fscache_readpages_cancel()

12