Lines Matching refs:cps
841 static void nfs4_cb_free_slot(struct cb_process_state *cps) in nfs4_cb_free_slot() argument
843 if (cps->slot) { in nfs4_cb_free_slot()
844 nfs4_callback_free_slot(cps->clp->cl_session, cps->slot); in nfs4_cb_free_slot()
845 cps->slot = NULL; in nfs4_cb_free_slot()
857 static void nfs4_cb_free_slot(struct cb_process_state *cps) in nfs4_cb_free_slot() argument
901 struct cb_process_state *cps) in process_op() argument
914 switch (cps->minorversion) { in process_op()
933 if (cps->drc_status) { in process_op()
934 status = cps->drc_status; in process_op()
944 cps); in process_op()
964 struct cb_process_state cps = { in nfs4_callback_compound() local
977 cps.clp = nfs4_find_client_ident(SVC_NET(rqstp), hdr_arg.cb_ident); in nfs4_callback_compound()
978 if (!cps.clp) { in nfs4_callback_compound()
982 if (!check_gss_callback_principal(cps.clp, rqstp)) { in nfs4_callback_compound()
984 nfs_put_client(cps.clp); in nfs4_callback_compound()
989 cps.minorversion = hdr_arg.minorversion; in nfs4_callback_compound()
993 if (cps.clp) in nfs4_callback_compound()
994 nfs_put_client(cps.clp); in nfs4_callback_compound()
998 status = process_op(nops, rqstp, &cps); in nfs4_callback_compound()
1009 if (svc_is_backchannel(rqstp) && cps.clp) { in nfs4_callback_compound()
1010 rqstp->bc_to_initval = cps.clp->cl_rpcclient->cl_timeout->to_initval; in nfs4_callback_compound()
1011 rqstp->bc_to_retries = cps.clp->cl_rpcclient->cl_timeout->to_retries; in nfs4_callback_compound()
1016 nfs4_cb_free_slot(&cps); in nfs4_callback_compound()
1017 nfs_put_client(cps.clp); in nfs4_callback_compound()