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