Home
last modified time | relevance | path

Searched refs:dispose (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-6.6/fs/nfsd/
H A Dfilecache.c394 nfsd_file_dispose_list(struct list_head *dispose) in nfsd_file_dispose_list() argument
398 while (!list_empty(dispose)) { in nfsd_file_dispose_list()
399 nf = list_first_entry(dispose, struct nfsd_file, nf_lru); in nfsd_file_dispose_list()
407 * @dispose: list of nfsd_files to be disposed
413 nfsd_file_dispose_list_delayed(struct list_head *dispose) in nfsd_file_dispose_list_delayed() argument
415 while(!list_empty(dispose)) { in nfsd_file_dispose_list_delayed()
416 struct nfsd_file *nf = list_first_entry(dispose, in nfsd_file_dispose_list_delayed()
433 * @arg: dispose list
477 /* Refcount went to zero. Unhash it and queue it to the dispose list */ in __releases()
488 LIST_HEAD(dispose); in nfsd_file_gc()
580 nfsd_file_queue_for_close(struct inode *inode, struct list_head *dispose) nfsd_file_queue_for_close() argument
[all...]
H A Dnfscache.c121 nfsd_cacherep_dispose(struct list_head *dispose) in nfsd_cacherep_dispose() argument
126 while (!list_empty(dispose)) { in nfsd_cacherep_dispose()
127 rp = list_first_entry(dispose, struct nfsd_cacherep, c_lru); in nfsd_cacherep_dispose()
284 unsigned int max, struct list_head *dispose) in nfsd_prune_bucket_locked()
306 list_add(&rp->c_lru, dispose); in nfsd_prune_bucket_locked()
349 LIST_HEAD(dispose); in nfsd_reply_cache_scan()
359 nfsd_prune_bucket_locked(nn, b, 0, &dispose); in nfsd_reply_cache_scan()
362 freed += nfsd_cacherep_dispose(&dispose); in nfsd_reply_cache_scan()
511 LIST_HEAD(dispose); in nfsd_cache_lookup()
537 nfsd_prune_bucket_locked(nn, b, 3, &dispose); in nfsd_cache_lookup()
283 nfsd_prune_bucket_locked(struct nfsd_net *nn, struct nfsd_drc_bucket *b, unsigned int max, struct list_head *dispose) nfsd_prune_bucket_locked() argument
[all...]
H A Dnfs4layouts.c740 struct list_head *dispose) in nfsd4_layout_lm_change()
743 return lease_modify(onlist, arg, dispose); in nfsd4_layout_lm_change()
739 nfsd4_layout_lm_change(struct file_lock *onlist, int arg, struct list_head *dispose) nfsd4_layout_lm_change() argument
/kernel/linux/linux-5.10/fs/nfsd/
H A Dfilecache.c273 nfsd_file_unhash_and_release_locked(struct nfsd_file *nf, struct list_head *dispose) in nfsd_file_unhash_and_release_locked() argument
284 list_add(&nf->nf_lru, dispose); in nfsd_file_unhash_and_release_locked()
328 nfsd_file_dispose_list(struct list_head *dispose) in nfsd_file_dispose_list() argument
332 while(!list_empty(dispose)) { in nfsd_file_dispose_list()
333 nf = list_first_entry(dispose, struct nfsd_file, nf_lru); in nfsd_file_dispose_list()
340 nfsd_file_dispose_list_sync(struct list_head *dispose) in nfsd_file_dispose_list_sync() argument
345 while(!list_empty(dispose)) { in nfsd_file_dispose_list_sync()
346 nf = list_first_entry(dispose, struct nfsd_file, nf_lru); in nfsd_file_dispose_list_sync()
397 nfsd_file_dispose_list_delayed(struct list_head *dispose) in nfsd_file_dispose_list_delayed() argument
402 while(!list_empty(dispose)) { in nfsd_file_dispose_list_delayed()
508 __nfsd_file_close_inode(struct inode *inode, unsigned int hashval, struct list_head *dispose) __nfsd_file_close_inode() argument
[all...]
H A Dnfs4layouts.c739 struct list_head *dispose) in nfsd4_layout_lm_change()
742 return lease_modify(onlist, arg, dispose); in nfsd4_layout_lm_change()
738 nfsd4_layout_lm_change(struct file_lock *onlist, int arg, struct list_head *dispose) nfsd4_layout_lm_change() argument
/kernel/linux/linux-5.10/fs/nfs/
H A 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, struc in nfs4_xattr_cache_scan()
892 struct list_head *dispose = arg; entry_lru_isolate() local
[all...]
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs42xattr.c72 struct list_head dispose; member
83 struct list_head dispose; member
240 INIT_LIST_HEAD(&entry->dispose); in nfs4_xattr_alloc_entry()
826 struct list_head *dispose = arg; in cache_lru_isolate() local
853 list_add_tail(&cache->dispose, dispose); in cache_lru_isolate()
860 LIST_HEAD(dispose); in nfs4_xattr_cache_scan()
865 cache_lru_isolate, &dispose); in nfs4_xattr_cache_scan()
866 while (!list_empty(&dispose)) { in nfs4_xattr_cache_scan()
867 cache = list_first_entry(&dispose, struc in nfs4_xattr_cache_scan()
891 struct list_head *dispose = arg; entry_lru_isolate() local
[all...]
/kernel/linux/linux-5.10/fs/
H A 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()
1509 lease_modify(struct file_lock *fl, int arg, struct list_head *dispose) lease_modify() argument
1541 time_out_leases(struct inode *inode, struct list_head *dispose) time_out_leases() argument
[all...]
H A Ddcache.c1218 LIST_HEAD(dispose); in prune_dcache_sb()
1222 dentry_lru_isolate, &dispose); in prune_dcache_sb()
1223 shrink_dentry_list(&dispose); in prune_dcache_sb()
1258 LIST_HEAD(dispose); in shrink_dcache_sb()
1261 dentry_lru_isolate_shrink, &dispose, 1024); in shrink_dcache_sb()
1262 shrink_dentry_list(&dispose); in shrink_dcache_sb()
1491 struct list_head dispose; member
1508 d_shrink_add(dentry, &data->dispose); in select_collect()
1517 if (!list_empty(&data->dispose)) in select_collect()
1541 d_shrink_add(dentry, &data->dispose); in select_collect2()
[all...]
H A Dinode.c635 * dispose_list - dispose of the contents of a local list
666 LIST_HEAD(dispose); in evict_inodes()
683 list_add(&inode->i_lru, &dispose); in evict_inodes()
693 dispose_list(&dispose); in evict_inodes()
699 dispose_list(&dispose); in evict_inodes()
717 LIST_HEAD(dispose); in invalidate_inodes()
741 list_add(&inode->i_lru, &dispose); in invalidate_inodes()
745 dispose_list(&dispose); in invalidate_inodes()
751 dispose_list(&dispose); in invalidate_inodes()
/kernel/linux/linux-6.6/fs/
H A Dlocks.c341 locks_dispose_list(struct list_head *dispose) in locks_dispose_list() argument
345 while (!list_empty(dispose)) { in locks_dispose_list()
346 fl = list_first_entry(dispose, struct file_lock, fl_list); in locks_dispose_list()
830 locks_delete_lock_ctx(struct file_lock *fl, struct list_head *dispose) in locks_delete_lock_ctx() argument
833 if (dispose) in locks_delete_lock_ctx()
834 list_add(&fl->fl_list, dispose); in locks_delete_lock_ctx()
1029 LIST_HEAD(dispose); in flock_lock_inode()
1055 locks_delete_lock_ctx(fl, &dispose); in flock_lock_inode()
1089 locks_dispose_list(&dispose); in flock_lock_inode()
1105 LIST_HEAD(dispose); in posix_lock_inode()
1389 lease_modify(struct file_lock *fl, int arg, struct list_head *dispose) lease_modify() argument
1421 time_out_leases(struct inode *inode, struct list_head *dispose) time_out_leases() argument
[all...]
H A Ddcache.c1278 LIST_HEAD(dispose); in prune_dcache_sb()
1282 dentry_lru_isolate, &dispose); in prune_dcache_sb()
1283 shrink_dentry_list(&dispose); in prune_dcache_sb()
1318 LIST_HEAD(dispose); in shrink_dcache_sb()
1321 dentry_lru_isolate_shrink, &dispose, 1024); in shrink_dcache_sb()
1322 shrink_dentry_list(&dispose); in shrink_dcache_sb()
1551 struct list_head dispose; member
1568 d_shrink_add(dentry, &data->dispose); in select_collect()
1577 if (!list_empty(&data->dispose)) in select_collect()
1601 d_shrink_add(dentry, &data->dispose); in select_collect2()
[all...]
H A Dinode.c685 * dispose_list - dispose of the contents of a local list
716 LIST_HEAD(dispose); in evict_inodes()
733 list_add(&inode->i_lru, &dispose); in evict_inodes()
743 dispose_list(&dispose); in evict_inodes()
749 dispose_list(&dispose); in evict_inodes()
762 LIST_HEAD(dispose); in invalidate_inodes()
780 list_add(&inode->i_lru, &dispose); in invalidate_inodes()
784 dispose_list(&dispose); in invalidate_inodes()
790 dispose_list(&dispose); in invalidate_inodes()
H A Deventpoll.c789 bool dispose; in ep_clear_and_put() local
813 * dispose it. in ep_clear_and_put()
822 dispose = ep_refcount_dec_and_test(ep); in ep_clear_and_put()
825 if (dispose) in ep_clear_and_put()
946 bool dispose; in eventpoll_release_file() local
966 dispose = __ep_remove(ep, epi, true); in eventpoll_release_file()
969 if (dispose) in eventpoll_release_file()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_buf.c1068 * buffer for the LRU and clear the (now stale) dispose list in xfs_buf_rele()
1797 struct list_head *dispose = arg; in xfs_buftarg_wait_rele() local
1813 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_wait_rele()
1822 LIST_HEAD(dispose); in xfs_wait_buftarg()
1845 &dispose, LONG_MAX); in xfs_wait_buftarg()
1847 while (!list_empty(&dispose)) { in xfs_wait_buftarg()
1849 bp = list_first_entry(&dispose, struct xfs_buf, b_lru); in xfs_wait_buftarg()
1885 struct list_head *dispose = arg; in xfs_buftarg_isolate() local
1904 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_isolate()
1916 LIST_HEAD(dispose); in xfs_buftarg_shrink_scan()
[all...]
H A Dxfs_qm.c411 struct list_head dispose; member
479 list_lru_isolate_move(lru, &dqp->q_lru, &isol->dispose); in __releases()
513 INIT_LIST_HEAD(&isol.dispose); in xfs_qm_shrink_scan()
522 while (!list_empty(&isol.dispose)) { in xfs_qm_shrink_scan()
525 dqp = list_first_entry(&isol.dispose, struct xfs_dquot, q_lru); in xfs_qm_shrink_scan()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_buf.c1047 * buffer for the LRU and clear the (now stale) dispose list in xfs_buf_rele()
1789 struct list_head *dispose = arg; in xfs_buftarg_drain_rele() local
1805 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_drain_rele()
1838 LIST_HEAD(dispose); in xfs_buftarg_drain()
1847 &dispose, LONG_MAX); in xfs_buftarg_drain()
1849 while (!list_empty(&dispose)) { in xfs_buftarg_drain()
1851 bp = list_first_entry(&dispose, struct xfs_buf, b_lru); in xfs_buftarg_drain()
1887 struct list_head *dispose = arg; in xfs_buftarg_isolate() local
1906 list_lru_isolate_move(lru, item, dispose); in xfs_buftarg_isolate()
1918 LIST_HEAD(dispose); in xfs_buftarg_shrink_scan()
[all...]
H A Dxfs_qm.c407 struct list_head dispose; member
481 list_lru_isolate_move(lru, &dqp->q_lru, &isol->dispose); in __releases()
517 INIT_LIST_HEAD(&isol.dispose); in xfs_qm_shrink_scan()
526 while (!list_empty(&isol.dispose)) { in xfs_qm_shrink_scan()
529 dqp = list_first_entry(&isol.dispose, struct xfs_dquot, q_lru); in xfs_qm_shrink_scan()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dquota.c157 struct list_head *dispose = arg; in gfs2_qd_isolate() local
168 list_lru_isolate_move(lru, &qd->qd_lru, dispose); in gfs2_qd_isolate()
179 LIST_HEAD(dispose); in gfs2_qd_shrink_scan()
186 gfs2_qd_isolate, &dispose); in gfs2_qd_shrink_scan()
188 gfs2_qd_list_dispose(&dispose); in gfs2_qd_shrink_scan()
1493 LIST_HEAD(dispose); in gfs2_quota_cleanup()
1510 list_add(&qd->qd_lru, &dispose); in gfs2_quota_cleanup()
1514 gfs2_qd_list_dispose(&dispose); in gfs2_quota_cleanup()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c1614 int dispose = 0; in dvb_ca_en50221_io_read() local
1677 dispose = 1; in dvb_ca_en50221_io_read()
1681 if (dispose) in dvb_ca_en50221_io_read()
1684 dispose = 0; in dvb_ca_en50221_io_read()
/kernel/linux/linux-6.6/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c1617 int dispose = 0; in dvb_ca_en50221_io_read() local
1680 dispose = 1; in dvb_ca_en50221_io_read()
1684 if (dispose) in dvb_ca_en50221_io_read()
1687 dispose = 0; in dvb_ca_en50221_io_read()
/kernel/linux/linux-5.10/fs/gfs2/
H A 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()
H A Dglock.c1765 * @list: The list to dispose of
1823 LIST_HEAD(dispose); in gfs2_scan_glock_lru()
1832 list_move(&gl->gl_lru, &dispose); in gfs2_scan_glock_lru()
1841 if (!list_empty(&dispose)) in gfs2_scan_glock_lru()
1842 gfs2_dispose_glock_lru(&dispose); in gfs2_scan_glock_lru()
/kernel/linux/linux-6.6/include/linux/
H A Dfilelock.h322 struct list_head *dispose) in lease_modify()
321 lease_modify(struct file_lock *fl, int arg, struct list_head *dispose) lease_modify() argument
/kernel/linux/linux-5.10/fs/ceph/
H A Ddir.c1365 LIST_HEAD(dispose); in __dentry_leases_walk()
1406 list_move_tail(&di->lease_list, &dispose); in __dentry_leases_walk()
1417 while (!list_empty(&dispose)) { in __dentry_leases_walk()
1418 di = list_first_entry(&dispose, struct ceph_dentry_info, in __dentry_leases_walk()

Completed in 47 milliseconds

12