Home
last modified time | relevance | path

Searched refs:dispose (Results 1 – 13 of 13) sorted by relevance

/fs/nfsd/
Dfilecache.c267 nfsd_file_unhash_and_release_locked(struct nfsd_file *nf, struct list_head *dispose) in nfsd_file_unhash_and_release_locked() argument
278 list_add(&nf->nf_lru, dispose); in nfsd_file_unhash_and_release_locked()
322 nfsd_file_dispose_list(struct list_head *dispose) in nfsd_file_dispose_list() argument
326 while(!list_empty(dispose)) { in nfsd_file_dispose_list()
327 nf = list_first_entry(dispose, struct nfsd_file, nf_lru); in nfsd_file_dispose_list()
334 nfsd_file_dispose_list_sync(struct list_head *dispose) in nfsd_file_dispose_list_sync() argument
339 while(!list_empty(dispose)) { in nfsd_file_dispose_list_sync()
340 nf = list_first_entry(dispose, struct nfsd_file, nf_lru); in nfsd_file_dispose_list_sync()
391 nfsd_file_dispose_list_delayed(struct list_head *dispose) in nfsd_file_dispose_list_delayed() argument
396 while(!list_empty(dispose)) { in nfsd_file_dispose_list_delayed()
[all …]
Dnfs4layouts.c739 struct list_head *dispose) in nfsd4_layout_lm_change() argument
742 return lease_modify(onlist, arg, dispose); in nfsd4_layout_lm_change()
Dnfs4state.c4739 struct list_head *dispose) in nfsd_change_deleg_cb() argument
4742 return lease_modify(onlist, arg, dispose); in nfsd_change_deleg_cb()
/fs/nfs/
Dnfs42xattr.c72 struct list_head dispose; member
83 struct list_head dispose; member
240 INIT_LIST_HEAD(&entry->dispose); in nfs4_xattr_alloc_entry()
827 struct list_head *dispose = arg; in cache_lru_isolate() local
854 list_add_tail(&cache->dispose, dispose); in cache_lru_isolate()
861 LIST_HEAD(dispose); in nfs4_xattr_cache_scan()
866 cache_lru_isolate, &dispose); in nfs4_xattr_cache_scan()
867 while (!list_empty(&dispose)) { in nfs4_xattr_cache_scan()
868 cache = list_first_entry(&dispose, struct nfs4_xattr_cache, in nfs4_xattr_cache_scan()
869 dispose); in nfs4_xattr_cache_scan()
[all …]
/fs/
Dlocks.c388 locks_dispose_list(struct list_head *dispose) in locks_dispose_list() argument
392 while (!list_empty(dispose)) { in locks_dispose_list()
393 fl = list_first_entry(dispose, struct file_lock, fl_list); in locks_dispose_list()
893 locks_delete_lock_ctx(struct file_lock *fl, struct list_head *dispose) in locks_delete_lock_ctx() argument
896 if (dispose) in locks_delete_lock_ctx()
897 list_add(&fl->fl_list, dispose); in locks_delete_lock_ctx()
1066 LIST_HEAD(dispose); in flock_lock_inode()
1092 locks_delete_lock_ctx(fl, &dispose); in flock_lock_inode()
1126 locks_dispose_list(&dispose); in flock_lock_inode()
1142 LIST_HEAD(dispose); in posix_lock_inode()
[all …]
Ddcache.c1253 LIST_HEAD(dispose); in prune_dcache_sb()
1257 dentry_lru_isolate, &dispose); in prune_dcache_sb()
1258 shrink_dentry_list(&dispose); in prune_dcache_sb()
1293 LIST_HEAD(dispose); in shrink_dcache_sb()
1296 dentry_lru_isolate_shrink, &dispose, 1024); in shrink_dcache_sb()
1297 shrink_dentry_list(&dispose); in shrink_dcache_sb()
1526 struct list_head dispose; member
1543 d_shrink_add(dentry, &data->dispose); in select_collect()
1552 if (!list_empty(&data->dispose)) in select_collect()
1576 d_shrink_add(dentry, &data->dispose); in select_collect2()
[all …]
Dinode.c637 LIST_HEAD(dispose); in evict_inodes()
654 list_add(&inode->i_lru, &dispose); in evict_inodes()
664 dispose_list(&dispose); in evict_inodes()
670 dispose_list(&dispose); in evict_inodes()
688 LIST_HEAD(dispose); in invalidate_inodes()
712 list_add(&inode->i_lru, &dispose); in invalidate_inodes()
716 dispose_list(&dispose); in invalidate_inodes()
722 dispose_list(&dispose); in invalidate_inodes()
/fs/xfs/
Dxfs_buf.c1730 struct list_head *dispose = arg; in xfs_buftarg_drain_rele() local
1746 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_drain_rele()
1779 LIST_HEAD(dispose); in xfs_buftarg_drain()
1788 &dispose, LONG_MAX); in xfs_buftarg_drain()
1790 while (!list_empty(&dispose)) { in xfs_buftarg_drain()
1792 bp = list_first_entry(&dispose, struct xfs_buf, b_lru); in xfs_buftarg_drain()
1828 struct list_head *dispose = arg; in xfs_buftarg_isolate() local
1847 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_isolate()
1859 LIST_HEAD(dispose); in xfs_buftarg_shrink_scan()
1863 xfs_buftarg_isolate, &dispose); in xfs_buftarg_shrink_scan()
[all …]
Dxfs_qm.c407 struct list_head dispose; member
475 list_lru_isolate_move(lru, &dqp->q_lru, &isol->dispose); in xfs_qm_dquot_isolate()
509 INIT_LIST_HEAD(&isol.dispose); in xfs_qm_shrink_scan()
518 while (!list_empty(&isol.dispose)) { in xfs_qm_shrink_scan()
521 dqp = list_first_entry(&isol.dispose, struct xfs_dquot, q_lru); in xfs_qm_shrink_scan()
/fs/gfs2/
Dquota.c148 struct list_head *dispose = arg; in gfs2_qd_isolate() local
156 list_lru_isolate_move(lru, &qd->qd_lru, dispose); in gfs2_qd_isolate()
166 LIST_HEAD(dispose); in gfs2_qd_shrink_scan()
173 gfs2_qd_isolate, &dispose); in gfs2_qd_shrink_scan()
175 gfs2_qd_dispose(&dispose); in gfs2_qd_shrink_scan()
Dglock.c1991 LIST_HEAD(dispose); in gfs2_scan_glock_lru()
2000 list_move(&gl->gl_lru, &dispose); in gfs2_scan_glock_lru()
2009 if (!list_empty(&dispose)) in gfs2_scan_glock_lru()
2010 gfs2_dispose_glock_lru(&dispose); in gfs2_scan_glock_lru()
/fs/ceph/
Ddir.c1385 LIST_HEAD(dispose); in __dentry_leases_walk()
1426 list_move_tail(&di->lease_list, &dispose); in __dentry_leases_walk()
1437 while (!list_empty(&dispose)) { in __dentry_leases_walk()
1438 di = list_first_entry(&dispose, struct ceph_dentry_info, in __dentry_leases_walk()
Dmds_client.c1483 struct list_head *dispose) in dispose_cap_releases() argument
1485 while (!list_empty(dispose)) { in dispose_cap_releases()
1488 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1730 LIST_HEAD(dispose); in remove_session_caps()
1766 detach_cap_releases(session, &dispose); in remove_session_caps()
1771 dispose_cap_releases(session->s_mdsc, &dispose); in remove_session_caps()
4030 LIST_HEAD(dispose); in send_mds_reconnect()
4063 detach_cap_releases(session, &dispose); in send_mds_reconnect()
4065 dispose_cap_releases(mdsc, &dispose); in send_mds_reconnect()