Lines Matching defs:cps
802 static void nfs4_cb_free_slot(struct cb_process_state *cps)
804 if (cps->slot) {
805 nfs4_callback_free_slot(cps->clp->cl_session, cps->slot);
806 cps->slot = NULL;
818 static void nfs4_cb_free_slot(struct cb_process_state *cps)
862 struct cb_process_state *cps)
875 switch (cps->minorversion) {
894 if (cps->drc_status) {
895 status = cps->drc_status;
905 cps);
925 struct cb_process_state cps = {
938 cps.clp = nfs4_find_client_ident(SVC_NET(rqstp), hdr_arg.cb_ident);
939 if (!cps.clp) {
943 if (!check_gss_callback_principal(cps.clp, rqstp)) {
945 nfs_put_client(cps.clp);
950 cps.minorversion = hdr_arg.minorversion;
954 if (cps.clp)
955 nfs_put_client(cps.clp);
959 status = process_op(nops, rqstp, &cps);
972 nfs4_cb_free_slot(&cps);
973 nfs_put_client(cps.clp);