Lines Matching refs:nfs4_client
161 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired()
167 struct nfs4_client *clp) in nfsd4_dec_courtesy_client_count()
173 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked()
189 renew_client_locked(struct nfs4_client *clp) in renew_client_locked()
208 static void put_client_renew_locked(struct nfs4_client *clp) in put_client_renew_locked()
222 static void put_client_renew(struct nfs4_client *clp) in put_client_renew()
250 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session_locked()
262 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session()
335 struct nfs4_client *clp = lo->lo_owner.so_client; in remove_blocked_locks()
543 struct nfs4_client *clp) in find_openstateowner_str_locked()
561 struct nfs4_client *clp) in find_openstateowner_str()
754 struct nfs4_client *clp; in nfs4_resolve_deny_conflicts_locked()
865 alloc_clnt_odstate(struct nfs4_client *clp) in alloc_clnt_odstate()
915 struct nfs4_client *cl; in find_or_hash_clnt_odstate()
937 struct nfs4_stid *nfs4_alloc_stid(struct nfs4_client *cl, struct kmem_cache *slab, in nfs4_alloc_stid()
1058 static struct nfs4_ol_stateid * nfs4_alloc_open_stateid(struct nfs4_client *clp) in nfs4_alloc_open_stateid()
1158 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp, in alloc_init_deleg()
1202 struct nfs4_client *clp = s->sc_client; in nfs4_put_stid()
1276 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp) in nfs4_delegation_exists()
1279 struct nfs4_client *searchclp = NULL; in nfs4_delegation_exists()
1309 struct nfs4_client *clp = dp->dl_stid.sc_client; in hash_delegation_locked()
1362 struct nfs4_client *clp = dp->dl_stid.sc_client; in revoke_delegation()
1451 struct nfs4_client *clp = sop->so_client; in nfs4_put_stateowner()
1520 struct nfs4_client *clp = s->sc_client; in put_ol_stateid_locked()
1548 struct nfs4_client *clp = stp->st_stid.sc_client; in release_lock_stateid()
1560 struct nfs4_client *clp = lo->lo_owner.so_client; in unhash_lockowner_locked()
1629 struct nfs4_client *clp = oo->oo_owner.so_client; in unhash_openowner_locked()
1657 struct nfs4_client *clp = oo->oo_owner.so_client; in release_openowner()
1724 struct nfs4_client *clp = ses->se_client; in gen_sessionid()
1867 struct nfs4_client *clp = c->cn_session->se_client; in nfsd4_conn_lost()
1902 struct nfs4_client *clp = ses->se_client; in nfsd4_hash_conn()
1940 struct nfs4_client *clp = s->se_client; in nfsd4_del_conns()
1970 static void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp… in init_session()
2051 struct nfs4_client *clp = ses->se_client; in unhash_session()
2082 static struct nfs4_client *alloc_client(struct xdr_netobj name, in alloc_client()
2085 struct nfs4_client *clp; in alloc_client()
2135 struct nfs4_client *clp = container_of(c, struct nfs4_client, cl_nfsdfs); in __free_client()
2147 static void drop_client(struct nfs4_client *clp) in drop_client()
2153 free_client(struct nfs4_client *clp) in free_client()
2174 unhash_client_locked(struct nfs4_client *clp) in unhash_client_locked()
2199 unhash_client(struct nfs4_client *clp) in unhash_client()
2208 static __be32 mark_client_expired_locked(struct nfs4_client *clp) in mark_client_expired_locked()
2217 __destroy_client(struct nfs4_client *clp) in __destroy_client()
2270 destroy_client(struct nfs4_client *clp) in destroy_client()
2276 static void inc_reclaim_complete(struct nfs4_client *clp) in inc_reclaim_complete()
2292 static void expire_client(struct nfs4_client *clp) in expire_client()
2299 static void copy_verf(struct nfs4_client *target, nfs4_verifier *source) in copy_verf()
2305 static void copy_clid(struct nfs4_client *target, struct nfs4_client *source) in copy_clid()
2411 bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp) in nfsd4_mach_creds_match()
2429 static void gen_confirm(struct nfs4_client *clp, struct nfsd_net *nn) in gen_confirm()
2442 static void gen_clid(struct nfs4_client *clp, struct nfsd_net *nn) in gen_clid()
2450 find_stateid_locked(struct nfs4_client *cl, stateid_t *t) in find_stateid_locked()
2461 find_stateid_by_type(struct nfs4_client *cl, stateid_t *t, char typemask) in find_stateid_by_type()
2477 static struct nfs4_client *get_nfsdfs_clp(struct inode *inode) in get_nfsdfs_clp()
2483 return container_of(nc, struct nfs4_client, cl_nfsdfs); in get_nfsdfs_clp()
2511 struct nfs4_client *clp; in client_info_show()
2555 struct nfs4_client *clp = s->private; in states_start()
2567 struct nfs4_client *clp = s->private; in states_next()
2581 struct nfs4_client *clp = s->private; in states_stop()
2778 struct nfs4_client *clp; in client_states_open()
2796 struct nfs4_client *clp = m->private; in client_opens_release()
2816 static void force_expire_client(struct nfs4_client *clp) in force_expire_client()
2844 struct nfs4_client *clp; in client_ctl_write()
2888 struct nfs4_client *clp = cb->cb_clp; in nfsd4_cb_recall_any_release()
2902 static struct nfs4_client *create_client(struct xdr_netobj name, in create_client()
2905 struct nfs4_client *clp; in create_client()
2951 add_clp_to_name_tree(struct nfs4_client *new_clp, struct rb_root *root) in add_clp_to_name_tree()
2954 struct nfs4_client *clp; in add_clp_to_name_tree()
2957 clp = rb_entry(*new, struct nfs4_client, cl_namenode); in add_clp_to_name_tree()
2970 static struct nfs4_client *
2975 struct nfs4_client *clp; in find_clp_in_name_tree()
2978 clp = rb_entry(node, struct nfs4_client, cl_namenode); in find_clp_in_name_tree()
2991 add_to_unconfirmed(struct nfs4_client *clp) in add_to_unconfirmed()
3006 move_to_confirmed(struct nfs4_client *clp) in move_to_confirmed()
3021 static struct nfs4_client *
3024 struct nfs4_client *clp; in find_client_in_id_table()
3038 static struct nfs4_client *
3047 static struct nfs4_client *
3056 static bool clp_used_exchangeid(struct nfs4_client *clp) in clp_used_exchangeid()
3061 static struct nfs4_client *
3068 static struct nfs4_client *
3076 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) in gen_callback()
3218 nfsd4_set_ex_flags(struct nfs4_client *new, struct nfsd4_exchange_id *clid) in nfsd4_set_ex_flags()
3233 static bool client_has_openowners(struct nfs4_client *clp) in client_has_openowners()
3244 static bool client_has_state(struct nfs4_client *clp) in client_has_state()
3255 static __be32 copy_impl_id(struct nfs4_client *clp, in copy_impl_id()
3275 struct nfs4_client *conf, *new; in nfsd4_exchange_id()
3276 struct nfs4_client *unconf = NULL; in nfsd4_exchange_id()
3584 struct nfs4_client *conf, *unconf; in nfsd4_create_session()
3585 struct nfs4_client *old = NULL; in nfsd4_create_session()
3747 struct nfs4_client *clp = session->se_client; in nfsd4_match_existing_connection()
3872 struct nfs4_client *clp = ses->se_client; in nfsd4_sequence_check_conn()
3953 struct nfs4_client *clp; in nfsd4_sequence()
4091 struct nfs4_client *conf, *unconf; in nfsd4_destroy_clientid()
4092 struct nfs4_client *clp = NULL; in nfsd4_destroy_clientid()
4135 struct nfs4_client *clp = cstate->clp; in nfsd4_reclaim_complete()
4178 struct nfs4_client *conf, *new; in nfsd4_setclientid()
4179 struct nfs4_client *unconf = NULL; in nfsd4_setclientid()
4235 struct nfs4_client *conf, *unconf; in nfsd4_setclientid_confirm()
4236 struct nfs4_client *old = NULL; in nfsd4_setclientid_confirm()
4354 sizeof(struct nfs4_client), 0, 0, NULL); in nfsd4_init_slabs()
4472 … void *alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4_client *clp) in alloc_stateowner()
4493 static void hash_openowner(struct nfs4_openowner *oo, struct nfs4_client *clp, unsigned int strhash… in hash_openowner()
4593 struct nfs4_client *clp = cstate->clp; in alloc_init_open_stateowner()
4928 struct nfs4_client *clp = dp->dl_stid.sc_client; in nfsd_break_deleg_cb()
4966 struct nfs4_client *clp; in nfsd_breaker_owns_lease()
4983 struct nfs4_client *clp = dp->dl_stid.sc_client; in nfsd_change_deleg_cb()
5010 static struct nfs4_client *lookup_clientid(clientid_t *clid, bool sessions, in lookup_clientid()
5013 struct nfs4_client *found; in lookup_clientid()
5049 struct nfs4_client *clp = NULL; in nfsd4_process_open1()
5117 static struct nfs4_delegation *find_deleg_stateid(struct nfs4_client *cl, stateid_t *s) in find_deleg_stateid()
5135 nfs4_check_deleg(struct nfs4_client *cl, struct nfsd4_open *open, in nfs4_check_deleg()
5321 static bool nfsd4_cb_channel_good(struct nfs4_client *clp) in nfsd4_cb_channel_good()
5351 static int nfsd4_check_conflicting_opens(struct nfs4_client *clp, in nfsd4_check_conflicting_opens()
5460 struct nfs4_client *clp = stp->st_stid.sc_client; in nfs4_set_delegation()
5633 struct nfs4_client *clp = stp->st_stid.sc_client; in nfs4_open_delegation()
5728 struct nfs4_client *cl = open->op_openowner->oo_owner.so_client; in nfsd4_process_open2()
5857 struct nfs4_client *clp; in nfsd4_renew()
6029 nfs4_anylock_blockers(struct nfs4_client *clp) in nfs4_anylock_blockers()
6060 struct nfs4_client *clp; in nfs4_get_client_reaplist()
6067 clp = list_entry(pos, struct nfs4_client, cl_lru); in nfs4_get_client_reaplist()
6097 struct nfs4_client *clp; in nfs4_get_courtesy_client_reaplist()
6104 clp = list_entry(pos, struct nfs4_client, cl_lru); in nfs4_get_courtesy_client_reaplist()
6121 struct nfs4_client *clp; in nfs4_process_client_reaplist()
6124 clp = list_entry(pos, struct nfs4_client, cl_lru); in nfs4_process_client_reaplist()
6259 struct nfs4_client *clp; in deleg_reaper()
6265 clp = list_entry(pos, struct nfs4_client, cl_lru); in deleg_reaper()
6284 clp = list_first_entry(&cblist, struct nfs4_client, in deleg_reaper()
6393 static __be32 nfsd4_validate_stateid(struct nfs4_client *cl, stateid_t *stateid) in nfsd4_validate_stateid()
6551 struct nfs4_client *clp, in manage_cpntf_state()
6587 struct nfs4_client *found; in find_cpntf_state()
6707 struct nfs4_client *cl = cstate->clp; in nfsd4_test_stateid()
6753 struct nfs4_client *cl = cstate->clp; in nfsd4_free_stateid()
6995 struct nfs4_client *clp = s->st_stid.sc_client; in nfsd4_close_open_stateid()
7152 struct nfs4_client *clp = lo->lo_owner.so_client; in nfsd4_lm_lock_expirable()
7234 find_lockowner_str_locked(struct nfs4_client *clp, struct xdr_netobj *owner) in find_lockowner_str_locked()
7252 find_lockowner_str(struct nfs4_client *clp, struct xdr_netobj *owner) in find_lockowner_str()
7287 alloc_init_lock_stateowner(unsigned int strhashval, struct nfs4_client *clp, in alloc_init_lock_stateowner()
7338 struct nfs4_client *clp = lo->lo_owner.so_client; in init_lock_stateid()
7388 struct nfs4_client *clp = oo->oo_owner.so_client; in find_or_create_lock_stateid()
7440 struct nfs4_client *cl = oo->oo_owner.so_client; in lookup_or_create_lock_state()
7947 struct nfs4_client *clp; in nfsd4_release_lockowner()
8073 nfs4_check_open_reclaim(struct nfs4_client *clp) in nfs4_check_open_reclaim()
8175 struct nfs4_client *clp = NULL; in nfs4_state_destroy_net()
8180 clp = list_entry(nn->conf_id_hashtbl[i].next, struct nfs4_client, cl_idhash); in nfs4_state_destroy_net()
8189 clp = list_entry(nn->unconf_id_hashtbl[i].next, struct nfs4_client, cl_idhash); in nfs4_state_destroy_net()