Lines Matching refs:reaplist
280 LIST_HEAD(reaplist); in remove_blocked_locks()
289 list_move(&nbl->nbl_lru, &reaplist); in remove_blocked_locks()
294 while (!list_empty(&reaplist)) { in remove_blocked_locks()
295 nbl = list_first_entry(&reaplist, struct nfsd4_blocked_lock, in remove_blocked_locks()
1268 struct list_head *reaplist) in put_ol_stateid_locked() argument
1283 list_add(&stp->st_locks, reaplist); in put_ol_stateid_locked()
1323 free_ol_stateid_reaplist(struct list_head *reaplist) in free_ol_stateid_reaplist() argument
1330 while (!list_empty(reaplist)) { in free_ol_stateid_reaplist()
1331 stp = list_first_entry(reaplist, struct nfs4_ol_stateid, in free_ol_stateid_reaplist()
1342 struct list_head *reaplist) in release_open_stateid_locks() argument
1352 put_ol_stateid_locked(stp, reaplist); in release_open_stateid_locks()
1357 struct list_head *reaplist) in unhash_open_stateid() argument
1363 release_open_stateid_locks(stp, reaplist); in unhash_open_stateid()
1369 LIST_HEAD(reaplist); in release_open_stateid()
1372 if (unhash_open_stateid(stp, &reaplist)) in release_open_stateid()
1373 put_ol_stateid_locked(stp, &reaplist); in release_open_stateid()
1375 free_ol_stateid_reaplist(&reaplist); in release_open_stateid()
1409 struct list_head reaplist; in release_openowner() local
1411 INIT_LIST_HEAD(&reaplist); in release_openowner()
1418 if (unhash_open_stateid(stp, &reaplist)) in release_openowner()
1419 put_ol_stateid_locked(stp, &reaplist); in release_openowner()
1422 free_ol_stateid_reaplist(&reaplist); in release_openowner()
1925 struct list_head reaplist; in __destroy_client() local
1927 INIT_LIST_HEAD(&reaplist); in __destroy_client()
1932 list_add(&dp->dl_recall_lru, &reaplist); in __destroy_client()
1935 while (!list_empty(&reaplist)) { in __destroy_client()
1936 dp = list_entry(reaplist.next, struct nfs4_delegation, dl_recall_lru); in __destroy_client()
4751 struct list_head *pos, *next, reaplist; in nfs4_laundromat() local
4762 INIT_LIST_HEAD(&reaplist); in nfs4_laundromat()
4776 list_add(&clp->cl_lru, &reaplist); in nfs4_laundromat()
4779 list_for_each_safe(pos, next, &reaplist) { in nfs4_laundromat()
4795 list_add(&dp->dl_recall_lru, &reaplist); in nfs4_laundromat()
4798 while (!list_empty(&reaplist)) { in nfs4_laundromat()
4799 dp = list_first_entry(&reaplist, struct nfs4_delegation, in nfs4_laundromat()
4835 BUG_ON(!list_empty(&reaplist)); in nfs4_laundromat()
4846 list_move(&nbl->nbl_lru, &reaplist); in nfs4_laundromat()
4851 while (!list_empty(&reaplist)) { in nfs4_laundromat()
4852 nbl = list_first_entry(&reaplist, in nfs4_laundromat()
5489 LIST_HEAD(reaplist); in nfsd4_close_open_stateid()
5492 unhashed = unhash_open_stateid(s, &reaplist); in nfsd4_close_open_stateid()
5496 put_ol_stateid_locked(s, &reaplist); in nfsd4_close_open_stateid()
5498 free_ol_stateid_reaplist(&reaplist); in nfsd4_close_open_stateid()
5501 free_ol_stateid_reaplist(&reaplist); in nfsd4_close_open_stateid()
6377 LIST_HEAD (reaplist); in nfsd4_release_lockowner()
6415 put_ol_stateid_locked(stp, &reaplist); in nfsd4_release_lockowner()
6418 free_ol_stateid_reaplist(&reaplist); in nfsd4_release_lockowner()
6610 LIST_HEAD(reaplist); in nfsd_inject_forget_clients()
6618 list_add(&clp->cl_lru, &reaplist); in nfsd_inject_forget_clients()
6625 list_for_each_entry_safe(clp, next, &reaplist, cl_lru) in nfsd_inject_forget_clients()
6730 nfsd_reap_locks(struct list_head *reaplist) in nfsd_reap_locks() argument
6735 list_for_each_entry_safe(stp, next, reaplist, st_locks) { in nfsd_reap_locks()
6750 LIST_HEAD(reaplist); in nfsd_inject_forget_client_locks()
6758 count = nfsd_collect_client_locks(clp, &reaplist, 0); in nfsd_inject_forget_client_locks()
6760 nfsd_reap_locks(&reaplist); in nfsd_inject_forget_client_locks()
6771 LIST_HEAD(reaplist); in nfsd_inject_forget_locks()
6778 count += nfsd_collect_client_locks(clp, &reaplist, max - count); in nfsd_inject_forget_locks()
6783 nfsd_reap_locks(&reaplist); in nfsd_inject_forget_locks()
6861 nfsd_reap_openowners(struct list_head *reaplist) in nfsd_reap_openowners() argument
6866 list_for_each_entry_safe(oop, next, reaplist, oo_perclient) { in nfsd_reap_openowners()
6882 LIST_HEAD(reaplist); in nfsd_inject_forget_client_openowners()
6890 count = nfsd_collect_client_openowners(clp, &reaplist, 0); in nfsd_inject_forget_client_openowners()
6892 nfsd_reap_openowners(&reaplist); in nfsd_inject_forget_client_openowners()
6903 LIST_HEAD(reaplist); in nfsd_inject_forget_openowners()
6910 count += nfsd_collect_client_openowners(clp, &reaplist, in nfsd_inject_forget_openowners()
6916 nfsd_reap_openowners(&reaplist); in nfsd_inject_forget_openowners()
6990 nfsd_forget_delegations(struct list_head *reaplist) in nfsd_forget_delegations() argument
6995 list_for_each_entry_safe(dp, next, reaplist, dl_recall_lru) { in nfsd_forget_delegations()
7011 LIST_HEAD(reaplist); in nfsd_inject_forget_client_delegations()
7019 count = nfsd_find_all_delegations(clp, 0, &reaplist); in nfsd_inject_forget_client_delegations()
7022 nfsd_forget_delegations(&reaplist); in nfsd_inject_forget_client_delegations()
7033 LIST_HEAD(reaplist); in nfsd_inject_forget_delegations()
7040 count += nfsd_find_all_delegations(clp, max - count, &reaplist); in nfsd_inject_forget_delegations()
7045 nfsd_forget_delegations(&reaplist); in nfsd_inject_forget_delegations()
7050 nfsd_recall_delegations(struct list_head *reaplist) in nfsd_recall_delegations() argument
7055 list_for_each_entry_safe(dp, next, reaplist, dl_recall_lru) { in nfsd_recall_delegations()
7080 LIST_HEAD(reaplist); in nfsd_inject_recall_client_delegations()
7088 count = nfsd_find_all_delegations(clp, 0, &reaplist); in nfsd_inject_recall_client_delegations()
7091 nfsd_recall_delegations(&reaplist); in nfsd_inject_recall_client_delegations()
7102 LIST_HEAD(reaplist); in nfsd_inject_recall_delegations()
7109 count += nfsd_find_all_delegations(clp, max - count, &reaplist); in nfsd_inject_recall_delegations()
7114 nfsd_recall_delegations(&reaplist); in nfsd_inject_recall_delegations()
7269 struct list_head *pos, *next, reaplist; in nfs4_state_shutdown_net() local
7275 INIT_LIST_HEAD(&reaplist); in nfs4_state_shutdown_net()
7280 list_add(&dp->dl_recall_lru, &reaplist); in nfs4_state_shutdown_net()
7283 list_for_each_safe(pos, next, &reaplist) { in nfs4_state_shutdown_net()