Lines Matching refs:nfs4_client
139 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired()
144 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked()
158 renew_client_locked(struct nfs4_client *clp) in renew_client_locked()
175 static void put_client_renew_locked(struct nfs4_client *clp) in put_client_renew_locked()
189 static void put_client_renew(struct nfs4_client *clp) in put_client_renew()
217 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session_locked()
229 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session()
291 struct nfs4_client *clp = lo->lo_owner.so_client; in remove_blocked_locks()
372 struct nfs4_client *clp) in find_openstateowner_str_locked()
390 struct nfs4_client *clp) in find_openstateowner_str()
641 alloc_clnt_odstate(struct nfs4_client *clp) in alloc_clnt_odstate()
691 struct nfs4_client *cl; in find_or_hash_clnt_odstate()
713 struct nfs4_stid *nfs4_alloc_stid(struct nfs4_client *cl, struct kmem_cache *slab, in nfs4_alloc_stid()
832 static struct nfs4_ol_stateid * nfs4_alloc_open_stateid(struct nfs4_client *clp) in nfs4_alloc_open_stateid()
926 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp, in alloc_init_deleg()
970 struct nfs4_client *clp = s->sc_client; in nfs4_put_stid()
1044 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp) in nfs4_delegation_exists()
1047 struct nfs4_client *searchclp = NULL; in nfs4_delegation_exists()
1077 struct nfs4_client *clp = dp->dl_stid.sc_client; in hash_delegation_locked()
1125 struct nfs4_client *clp = dp->dl_stid.sc_client; in revoke_delegation()
1314 struct nfs4_client *clp = sop->so_client; in nfs4_put_stateowner()
1382 struct nfs4_client *clp = s->sc_client; in put_ol_stateid_locked()
1410 struct nfs4_client *clp = stp->st_stid.sc_client; in release_lock_stateid()
1422 struct nfs4_client *clp = lo->lo_owner.so_client; in unhash_lockowner_locked()
1491 struct nfs4_client *clp = oo->oo_owner.so_client; in unhash_openowner_locked()
1519 struct nfs4_client *clp = oo->oo_owner.so_client; in release_openowner()
1586 struct nfs4_client *clp = ses->se_client; in gen_sessionid()
1730 struct nfs4_client *clp = c->cn_session->se_client; in nfsd4_conn_lost()
1763 struct nfs4_client *clp = ses->se_client; in nfsd4_hash_conn()
1801 struct nfs4_client *clp = s->se_client; in nfsd4_del_conns()
1831 static void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp… in init_session()
1912 struct nfs4_client *clp = ses->se_client; in unhash_session()
1943 static struct nfs4_client *alloc_client(struct xdr_netobj name) in alloc_client()
1945 struct nfs4_client *clp; in alloc_client()
1988 struct nfs4_client *clp = container_of(c, struct nfs4_client, cl_nfsdfs); in __free_client()
1999 static void drop_client(struct nfs4_client *clp) in drop_client()
2005 free_client(struct nfs4_client *clp) in free_client()
2026 unhash_client_locked(struct nfs4_client *clp) in unhash_client_locked()
2051 unhash_client(struct nfs4_client *clp) in unhash_client()
2060 static __be32 mark_client_expired_locked(struct nfs4_client *clp) in mark_client_expired_locked()
2069 __destroy_client(struct nfs4_client *clp) in __destroy_client()
2119 destroy_client(struct nfs4_client *clp) in destroy_client()
2125 static void inc_reclaim_complete(struct nfs4_client *clp) in inc_reclaim_complete()
2141 static void expire_client(struct nfs4_client *clp) in expire_client()
2148 static void copy_verf(struct nfs4_client *target, nfs4_verifier *source) in copy_verf()
2154 static void copy_clid(struct nfs4_client *target, struct nfs4_client *source) in copy_clid()
2260 bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp) in nfsd4_mach_creds_match()
2278 static void gen_confirm(struct nfs4_client *clp, struct nfsd_net *nn) in gen_confirm()
2291 static void gen_clid(struct nfs4_client *clp, struct nfsd_net *nn) in gen_clid()
2299 find_stateid_locked(struct nfs4_client *cl, stateid_t *t) in find_stateid_locked()
2310 find_stateid_by_type(struct nfs4_client *cl, stateid_t *t, char typemask) in find_stateid_by_type()
2326 static struct nfs4_client *get_nfsdfs_clp(struct inode *inode) in get_nfsdfs_clp()
2332 return container_of(nc, struct nfs4_client, cl_nfsdfs); in get_nfsdfs_clp()
2345 struct nfs4_client *clp; in client_info_show()
2386 struct nfs4_client *clp = s->private; in states_start()
2398 struct nfs4_client *clp = s->private; in states_next()
2412 struct nfs4_client *clp = s->private; in states_stop()
2605 struct nfs4_client *clp; in client_states_open()
2623 struct nfs4_client *clp = m->private; in client_opens_release()
2643 static void force_expire_client(struct nfs4_client *clp) in force_expire_client()
2669 struct nfs4_client *clp; in client_ctl_write()
2696 static struct nfs4_client *create_client(struct xdr_netobj name, in create_client()
2699 struct nfs4_client *clp; in create_client()
2734 add_clp_to_name_tree(struct nfs4_client *new_clp, struct rb_root *root) in add_clp_to_name_tree()
2737 struct nfs4_client *clp; in add_clp_to_name_tree()
2740 clp = rb_entry(*new, struct nfs4_client, cl_namenode); in add_clp_to_name_tree()
2753 static struct nfs4_client *
2758 struct nfs4_client *clp; in find_clp_in_name_tree()
2761 clp = rb_entry(node, struct nfs4_client, cl_namenode); in find_clp_in_name_tree()
2774 add_to_unconfirmed(struct nfs4_client *clp) in add_to_unconfirmed()
2789 move_to_confirmed(struct nfs4_client *clp) in move_to_confirmed()
2804 static struct nfs4_client *
2807 struct nfs4_client *clp; in find_client_in_id_table()
2821 static struct nfs4_client *
2830 static struct nfs4_client *
2839 static bool clp_used_exchangeid(struct nfs4_client *clp) in clp_used_exchangeid()
2844 static struct nfs4_client *
2851 static struct nfs4_client *
2859 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) in gen_callback()
3001 nfsd4_set_ex_flags(struct nfs4_client *new, struct nfsd4_exchange_id *clid) in nfsd4_set_ex_flags()
3016 static bool client_has_openowners(struct nfs4_client *clp) in client_has_openowners()
3027 static bool client_has_state(struct nfs4_client *clp) in client_has_state()
3038 static __be32 copy_impl_id(struct nfs4_client *clp, in copy_impl_id()
3058 struct nfs4_client *conf, *new; in nfsd4_exchange_id()
3059 struct nfs4_client *unconf = NULL; in nfsd4_exchange_id()
3357 struct nfs4_client *conf, *unconf; in nfsd4_create_session()
3358 struct nfs4_client *old = NULL; in nfsd4_create_session()
3516 struct nfs4_client *clp = session->se_client; in nfsd4_match_existing_connection()
3631 struct nfs4_client *clp = ses->se_client; in nfsd4_sequence_check_conn()
3712 struct nfs4_client *clp; in nfsd4_sequence()
3850 struct nfs4_client *conf, *unconf; in nfsd4_destroy_clientid()
3851 struct nfs4_client *clp = NULL; in nfsd4_destroy_clientid()
3935 struct nfs4_client *conf, *new; in nfsd4_setclientid()
3936 struct nfs4_client *unconf = NULL; in nfsd4_setclientid()
3989 struct nfs4_client *conf, *unconf; in nfsd4_setclientid_confirm()
3990 struct nfs4_client *old = NULL; in nfsd4_setclientid_confirm()
4102 sizeof(struct nfs4_client), 0, 0, NULL); in nfsd4_init_slabs()
4175 … void *alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4_client *clp) in alloc_stateowner()
4196 static void hash_openowner(struct nfs4_openowner *oo, struct nfs4_client *clp, unsigned int strhash… in hash_openowner()
4296 struct nfs4_client *clp = cstate->clp; in alloc_init_open_stateowner()
4596 struct nfs4_client *clp; in nfsd_breaker_owns_lease()
4640 struct nfs4_client *found; in lookup_clientid()
4677 struct nfs4_client *clp = NULL; in nfsd4_process_open1()
4747 static struct nfs4_delegation *find_deleg_stateid(struct nfs4_client *cl, stateid_t *s) in find_deleg_stateid()
4765 nfs4_check_deleg(struct nfs4_client *cl, struct nfsd4_open *open, in nfs4_check_deleg()
4917 static bool nfsd4_cb_channel_good(struct nfs4_client *clp) in nfsd4_cb_channel_good()
4947 static int nfsd4_check_conflicting_opens(struct nfs4_client *clp, in nfsd4_check_conflicting_opens()
4973 nfs4_set_delegation(struct nfs4_client *clp, struct svc_fh *fh, in nfs4_set_delegation()
5096 struct nfs4_client *clp = stp->st_stid.sc_client; in nfs4_open_delegation()
5170 struct nfs4_client *cl = open->op_openowner->oo_owner.so_client; in nfsd4_process_open2()
5297 struct nfs4_client *clp; in nfsd4_renew()
5376 struct nfs4_client *clp; in nfs4_laundromat()
5406 clp = list_entry(pos, struct nfs4_client, cl_lru); in nfs4_laundromat()
5420 clp = list_entry(pos, struct nfs4_client, cl_lru); in nfs4_laundromat()
5628 static __be32 nfsd4_validate_stateid(struct nfs4_client *cl, stateid_t *stateid) in nfsd4_validate_stateid()
5784 struct nfs4_client *clp, in manage_cpntf_state()
5923 struct nfs4_client *cl = cstate->session->se_client; in nfsd4_test_stateid()
5969 struct nfs4_client *cl = cstate->session->se_client; in nfsd4_free_stateid()
6201 struct nfs4_client *clp = s->st_stid.sc_client; in nfsd4_close_open_stateid()
6416 find_lockowner_str_locked(struct nfs4_client *clp, struct xdr_netobj *owner) in find_lockowner_str_locked()
6434 find_lockowner_str(struct nfs4_client *clp, struct xdr_netobj *owner) in find_lockowner_str()
6469 alloc_init_lock_stateowner(unsigned int strhashval, struct nfs4_client *clp, in alloc_init_lock_stateowner()
6520 struct nfs4_client *clp = lo->lo_owner.so_client; in init_lock_stateid()
6570 struct nfs4_client *clp = oo->oo_owner.so_client; in find_or_create_lock_stateid()
6622 struct nfs4_client *cl = oo->oo_owner.so_client; in lookup_or_create_lock_state()
7090 struct nfs4_client *clp; in nfsd4_release_lockowner()
7337 struct nfs4_client *clp = NULL; in nfs4_state_destroy_net()
7342 clp = list_entry(nn->conf_id_hashtbl[i].next, struct nfs4_client, cl_idhash); in nfs4_state_destroy_net()
7351 clp = list_entry(nn->unconf_id_hashtbl[i].next, struct nfs4_client, cl_idhash); in nfs4_state_destroy_net()