Lines Matching refs:reaplist

335 	LIST_HEAD(reaplist);  in remove_blocked_locks()
345 list_move(&nbl->nbl_lru, &reaplist); in remove_blocked_locks()
350 while (!list_empty(&reaplist)) { in remove_blocked_locks()
351 nbl = list_first_entry(&reaplist, struct nfsd4_blocked_lock, in remove_blocked_locks()
1518 struct list_head *reaplist) in put_ol_stateid_locked() argument
1533 list_add(&stp->st_locks, reaplist); in put_ol_stateid_locked()
1573 free_ol_stateid_reaplist(struct list_head *reaplist) in free_ol_stateid_reaplist() argument
1580 while (!list_empty(reaplist)) { in free_ol_stateid_reaplist()
1581 stp = list_first_entry(reaplist, struct nfs4_ol_stateid, in free_ol_stateid_reaplist()
1592 struct list_head *reaplist) in release_open_stateid_locks() argument
1602 put_ol_stateid_locked(stp, reaplist); in release_open_stateid_locks()
1607 struct list_head *reaplist) in unhash_open_stateid() argument
1613 release_open_stateid_locks(stp, reaplist); in unhash_open_stateid()
1619 LIST_HEAD(reaplist); in release_open_stateid()
1622 if (unhash_open_stateid(stp, &reaplist)) in release_open_stateid()
1623 put_ol_stateid_locked(stp, &reaplist); in release_open_stateid()
1625 free_ol_stateid_reaplist(&reaplist); in release_open_stateid()
1659 struct list_head reaplist; in release_openowner() local
1661 INIT_LIST_HEAD(&reaplist); in release_openowner()
1668 if (unhash_open_stateid(stp, &reaplist)) in release_openowner()
1669 put_ol_stateid_locked(stp, &reaplist); in release_openowner()
1672 free_ol_stateid_reaplist(&reaplist); in release_openowner()
2224 struct list_head reaplist; in __destroy_client() local
2226 INIT_LIST_HEAD(&reaplist); in __destroy_client()
2231 list_add(&dp->dl_recall_lru, &reaplist); in __destroy_client()
2234 while (!list_empty(&reaplist)) { in __destroy_client()
2235 dp = list_entry(reaplist.next, struct nfs4_delegation, dl_recall_lru); in __destroy_client()
5943 nfs4_get_client_reaplist(struct nfsd_net *nn, struct list_head *reaplist, in nfs4_get_client_reaplist() argument
5952 INIT_LIST_HEAD(reaplist); in nfs4_get_client_reaplist()
5972 list_add(&clp->cl_lru, reaplist); in nfs4_get_client_reaplist()
5981 struct list_head *reaplist) in nfs4_get_courtesy_client_reaplist() argument
5988 INIT_LIST_HEAD(reaplist); in nfs4_get_courtesy_client_reaplist()
5998 list_add(&clp->cl_lru, reaplist); in nfs4_get_courtesy_client_reaplist()
6006 nfs4_process_client_reaplist(struct list_head *reaplist) in nfs4_process_client_reaplist() argument
6011 list_for_each_safe(pos, next, reaplist) { in nfs4_process_client_reaplist()
6026 struct list_head *pos, *next, reaplist; in nfs4_laundromat() local
6049 nfs4_get_client_reaplist(nn, &reaplist, &lt); in nfs4_laundromat()
6050 nfs4_process_client_reaplist(&reaplist); in nfs4_laundromat()
6058 list_add(&dp->dl_recall_lru, &reaplist); in nfs4_laundromat()
6061 while (!list_empty(&reaplist)) { in nfs4_laundromat()
6062 dp = list_first_entry(&reaplist, struct nfs4_delegation, in nfs4_laundromat()
6094 BUG_ON(!list_empty(&reaplist)); in nfs4_laundromat()
6101 list_move(&nbl->nbl_lru, &reaplist); in nfs4_laundromat()
6106 while (!list_empty(&reaplist)) { in nfs4_laundromat()
6107 nbl = list_first_entry(&reaplist, in nfs4_laundromat()
6137 struct list_head reaplist; in courtesy_client_reaper() local
6142 nfs4_get_courtesy_client_reaplist(nn, &reaplist); in courtesy_client_reaper()
6143 nfs4_process_client_reaplist(&reaplist); in courtesy_client_reaper()
6817 LIST_HEAD(reaplist); in nfsd4_close_open_stateid()
6821 unhashed = unhash_open_stateid(s, &reaplist); in nfsd4_close_open_stateid()
6825 put_ol_stateid_locked(s, &reaplist); in nfsd4_close_open_stateid()
6827 list_for_each_entry(stp, &reaplist, st_locks) in nfsd4_close_open_stateid()
6829 free_ol_stateid_reaplist(&reaplist); in nfsd4_close_open_stateid()
6832 free_ol_stateid_reaplist(&reaplist); in nfsd4_close_open_stateid()
7767 LIST_HEAD(reaplist); in nfsd4_release_lockowner()
7795 put_ol_stateid_locked(stp, &reaplist); in nfsd4_release_lockowner()
7799 free_ol_stateid_reaplist(&reaplist); in nfsd4_release_lockowner()
8056 struct list_head *pos, *next, reaplist; in nfs4_state_shutdown_net() local
8062 INIT_LIST_HEAD(&reaplist); in nfs4_state_shutdown_net()
8067 list_add(&dp->dl_recall_lru, &reaplist); in nfs4_state_shutdown_net()
8070 list_for_each_safe(pos, next, &reaplist) { in nfs4_state_shutdown_net()