Home
last modified time | relevance | path

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

/fs/nfs/
Dnfs42xattr.c71 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()
[all …]
Ddir.c2565 cache = list_entry(head->next, struct nfs_access_entry, lru); in nfs_access_free_list()
2566 list_del(&cache->lru); in nfs_access_free_list()
2590 struct nfs_access_entry, lru); in nfs_do_access_cache_scan()
2591 list_move(&cache->lru, &head); in nfs_do_access_cache_scan()
2655 list_move(&entry->lru, head); in __nfs_access_zap_cache()
2729 list_move_tail(&cache->lru, &nfsi->access_cache_entry_lru); in nfs_access_get_cached_locked()
2754 cache = list_entry(lh, struct nfs_access_entry, lru); in nfs_access_get_cached_rcu()
2807 list_add_tail(&set->lru, &nfsi->access_cache_entry_lru); in nfs_access_add_rbtree()
2812 list_add_tail(&set->lru, &nfsi->access_cache_entry_lru); in nfs_access_add_rbtree()
2813 list_del(&entry->lru); in nfs_access_add_rbtree()
/fs/proc/
Dmeminfo.c40 int lru; in meminfo_proc_show() local
51 for (lru = LRU_BASE; lru < NR_LRU_LISTS; lru++) in meminfo_proc_show()
52 pages[lru] = global_node_page_state(NR_LRU_BASE + lru); in meminfo_proc_show()
/fs/ceph/
Dsnap.c1093 list_del_init(&exist->lru); in ceph_get_snapid_map()
1114 INIT_LIST_HEAD(&sm->lru); in ceph_get_snapid_map()
1135 list_del_init(&exist->lru); in ceph_get_snapid_map()
1160 list_add_tail(&sm->lru, &mdsc->snapid_map_lru); in ceph_put_snapid_map()
1182 struct ceph_snapid_map, lru); in ceph_trim_snapid_map()
1187 list_move(&sm->lru, &to_free); in ceph_trim_snapid_map()
1192 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_trim_snapid_map()
1193 list_del(&sm->lru); in ceph_trim_snapid_map()
1211 list_move(&sm->lru, &to_free); in ceph_cleanup_snapid_map()
1216 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_cleanup_snapid_map()
[all …]
Dmds_client.h346 struct list_head lru; member
Dxattr.c1360 struct page, lru); in ceph_security_init_secctx()
Dmds_client.c3704 page = list_first_entry(&recon_state->pagelist->head, struct page, lru); in send_reconnect_partial()
4146 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()
728 list_for_each_entry_safe(page, _n, pages, lru) { in cachefiles_read_or_alloc_pages()
750 list_move(&page->lru, &backpages); in cachefiles_read_or_alloc_pages()
855 list_for_each_entry(page, pages, lru) { in cachefiles_allocate_pages()
/fs/
Ddcache.c441 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate() argument
448 list_lru_isolate(lru, &dentry->d_lru); in d_lru_isolate()
451 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move() argument
458 list_lru_isolate_move(lru, &dentry->d_lru, list); in d_lru_shrink_move()
1182 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate() argument
1202 d_lru_isolate(lru, dentry); in dentry_lru_isolate()
1233 d_lru_shrink_move(lru, dentry, freeable); in dentry_lru_isolate()
1263 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate_shrink() argument
1276 d_lru_shrink_move(lru, dentry, freeable); in dentry_lru_isolate_shrink()
Dinode.c743 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in inode_lru_isolate() argument
761 list_lru_isolate(lru, &inode->i_lru); in inode_lru_isolate()
795 list_lru_isolate_move(lru, &inode->i_lru, freeable); in inode_lru_isolate()
/fs/xfs/
Dxfs_buf.c1724 struct list_lru_one *lru, in xfs_buftarg_drain_rele() argument
1746 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_drain_rele()
1823 struct list_lru_one *lru, in xfs_buftarg_isolate() argument
1847 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/nfsd/
Dfilecache.c407 nfsd_file_lru_cb(struct list_head *item, struct list_lru_one *lru, in nfsd_file_lru_cb() argument
441 list_lru_isolate_move(lru, &nf->nf_lru, head); in nfsd_file_lru_cb()
/fs/cifs/
Dfile.c4444 list_move_tail(&page->lru, tmplist); in readpages_get_pages()
4448 list_for_each_entry_safe_reverse(page, tpage, page_list, lru) { in readpages_get_pages()
4463 list_move_tail(&page->lru, tmplist); in readpages_get_pages()
4569 list_for_each_entry_safe(page, tpage, &tmplist, lru) { in cifs_readpages()
4570 list_del(&page->lru); in cifs_readpages()
4592 list_for_each_entry_safe(page, tpage, &tmplist, lru) { in cifs_readpages()
4593 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/fscache/
Dpage.c764 list_for_each_entry(page, pages, lru) { in __fscache_readpages_cancel()