Lines Matching refs:session
563 struct nfs4_session *session; in nfs41_sequence_free_slot() local
569 session = tbl->session; in nfs41_sequence_free_slot()
590 nfs41_server_notify_highest_slotid_update(session->clp); in nfs41_sequence_free_slot()
595 struct nfs4_session *session; in nfs41_sequence_done() local
607 session = slot->table->session; in nfs41_sequence_done()
614 trace_nfs4_sequence_done(session, res); in nfs41_sequence_done()
620 clp = session->clp; in nfs41_sequence_done()
702 if (!res->sr_slot->table->session) in nfs4_sequence_done()
707 int nfs41_setup_sequence(struct nfs4_session *session, in nfs41_setup_sequence() argument
720 tbl = &session->fc_slot_table; in nfs41_setup_sequence()
755 trace_nfs4_setup_sequence(session, args); in nfs41_setup_sequence()
776 struct nfs4_session *session = nfs4_get_session(server); in nfs4_setup_sequence() local
779 if (!session) in nfs4_setup_sequence()
783 __func__, session->clp, session, res->sr_slot ? in nfs4_setup_sequence()
786 ret = nfs41_setup_sequence(session, args, res, task); in nfs4_setup_sequence()
795 struct nfs4_session *session = nfs4_get_session(data->seq_server); in nfs41_call_sync_prepare() local
799 nfs41_setup_sequence(session, data->seq_args, data->seq_res, task); in nfs41_call_sync_prepare()
6599 res.session = kzalloc(sizeof(struct nfs4_session), GFP_NOFS); in nfs4_proc_bind_conn_to_session()
6600 if (unlikely(res.session == NULL)) { in nfs4_proc_bind_conn_to_session()
6608 if (memcmp(res.session->sess_id.data, in nfs4_proc_bind_conn_to_session()
6628 kfree(res.session); in nfs4_proc_bind_conn_to_session()
7106 …fs4_verify_fore_channel_attrs(struct nfs41_create_session_args *args, struct nfs4_session *session) in nfs4_verify_fore_channel_attrs() argument
7109 struct nfs4_channel_attrs *rcvd = &session->fc_attrs; in nfs4_verify_fore_channel_attrs()
7128 …fs4_verify_back_channel_attrs(struct nfs41_create_session_args *args, struct nfs4_session *session) in nfs4_verify_back_channel_attrs() argument
7131 struct nfs4_channel_attrs *rcvd = &session->bc_attrs; in nfs4_verify_back_channel_attrs()
7148 struct nfs4_session *session) in nfs4_verify_channel_attrs() argument
7152 ret = nfs4_verify_fore_channel_attrs(args, session); in nfs4_verify_channel_attrs()
7155 return nfs4_verify_back_channel_attrs(args, session); in nfs4_verify_channel_attrs()
7161 struct nfs4_session *session = clp->cl_session; in _nfs4_proc_create_session() local
7180 status = rpc_call_sync(session->clp->cl_rpcclient, &msg, RPC_TASK_TIMEOUT); in _nfs4_proc_create_session()
7185 status = nfs4_verify_channel_attrs(&args, session); in _nfs4_proc_create_session()
7202 struct nfs4_session *session = clp->cl_session; in nfs4_proc_create_session() local
7204 dprintk("--> %s clp=%p session=%p\n", __func__, clp, session); in nfs4_proc_create_session()
7211 status = nfs4_setup_session_slot_tables(session); in nfs4_proc_create_session()
7216 ptr = (unsigned *)&session->sess_id.data[0]; in nfs4_proc_create_session()
7228 int nfs4_proc_destroy_session(struct nfs4_session *session, in nfs4_proc_destroy_session() argument
7233 .rpc_argp = session, in nfs4_proc_destroy_session()
7241 if (session->clp->cl_cons_state != NFS_CS_READY) in nfs4_proc_destroy_session()
7244 status = rpc_call_sync(session->clp->cl_rpcclient, &msg, RPC_TASK_TIMEOUT); in nfs4_proc_destroy_session()
7245 trace_nfs4_destroy_session(session->clp, status); in nfs4_proc_destroy_session()
7521 struct nfs4_session *session = nfs4_get_session(server); in nfs4_layoutget_prepare() local
7529 if (nfs41_setup_sequence(session, &lgp->args.seq_args, in nfs4_layoutget_prepare()
7877 struct nfs4_session *session = nfs4_get_session(server); in nfs4_layoutcommit_prepare() local
7879 nfs41_setup_sequence(session, in nfs4_layoutcommit_prepare()