• Home
  • Raw
  • Download

Lines Matching refs:crp

7184 	struct nfs4_client_reclaim *crp;  in nfs4_has_reclaimed_state()  local
7186 crp = nfsd4_find_reclaim_client(name, nn); in nfs4_has_reclaimed_state()
7187 return (crp && crp->cr_clp); in nfs4_has_reclaimed_state()
7201 struct nfs4_client_reclaim *crp; in nfs4_client_to_reclaim() local
7203 crp = alloc_reclaim(); in nfs4_client_to_reclaim()
7204 if (crp) { in nfs4_client_to_reclaim()
7206 INIT_LIST_HEAD(&crp->cr_strhash); in nfs4_client_to_reclaim()
7207 list_add(&crp->cr_strhash, &nn->reclaim_str_hashtbl[strhashval]); in nfs4_client_to_reclaim()
7208 crp->cr_name.data = name.data; in nfs4_client_to_reclaim()
7209 crp->cr_name.len = name.len; in nfs4_client_to_reclaim()
7210 crp->cr_princhash.data = princhash.data; in nfs4_client_to_reclaim()
7211 crp->cr_princhash.len = princhash.len; in nfs4_client_to_reclaim()
7212 crp->cr_clp = NULL; in nfs4_client_to_reclaim()
7215 return crp; in nfs4_client_to_reclaim()
7219 nfs4_remove_reclaim_record(struct nfs4_client_reclaim *crp, struct nfsd_net *nn) in nfs4_remove_reclaim_record() argument
7221 list_del(&crp->cr_strhash); in nfs4_remove_reclaim_record()
7222 kfree(crp->cr_name.data); in nfs4_remove_reclaim_record()
7223 kfree(crp->cr_princhash.data); in nfs4_remove_reclaim_record()
7224 kfree(crp); in nfs4_remove_reclaim_record()
7231 struct nfs4_client_reclaim *crp = NULL; in nfs4_release_reclaim() local
7236 crp = list_entry(nn->reclaim_str_hashtbl[i].next, in nfs4_release_reclaim()
7238 nfs4_remove_reclaim_record(crp, nn); in nfs4_release_reclaim()
7250 struct nfs4_client_reclaim *crp = NULL; in nfsd4_find_reclaim_client() local
7253 list_for_each_entry(crp, &nn->reclaim_str_hashtbl[strhashval], cr_strhash) { in nfsd4_find_reclaim_client()
7254 if (compare_blob(&crp->cr_name, &name) == 0) { in nfsd4_find_reclaim_client()
7255 return crp; in nfsd4_find_reclaim_client()