Lines Matching refs:cps
803 static void nfs4_cb_free_slot(struct cb_process_state *cps) in nfs4_cb_free_slot() argument
805 if (cps->slot) { in nfs4_cb_free_slot()
806 nfs4_callback_free_slot(cps->clp->cl_session, cps->slot); in nfs4_cb_free_slot()
807 cps->slot = NULL; in nfs4_cb_free_slot()
819 static void nfs4_cb_free_slot(struct cb_process_state *cps) in nfs4_cb_free_slot() argument
865 struct cb_process_state *cps) in process_op() argument
877 switch (cps->minorversion) { in process_op()
896 if (cps->drc_status) { in process_op()
897 status = cps->drc_status; in process_op()
905 status = op->process_op(argp, resp, cps); in process_op()
927 struct cb_process_state cps = { in nfs4_callback_compound() local
945 cps.clp = nfs4_find_client_ident(SVC_NET(rqstp), hdr_arg.cb_ident); in nfs4_callback_compound()
946 if (!cps.clp) { in nfs4_callback_compound()
950 if (!check_gss_callback_principal(cps.clp, rqstp)) { in nfs4_callback_compound()
952 nfs_put_client(cps.clp); in nfs4_callback_compound()
957 cps.minorversion = hdr_arg.minorversion; in nfs4_callback_compound()
961 if (cps.clp) in nfs4_callback_compound()
962 nfs_put_client(cps.clp); in nfs4_callback_compound()
968 &cps); in nfs4_callback_compound()
981 nfs4_cb_free_slot(&cps); in nfs4_callback_compound()
982 nfs_put_client(cps.clp); in nfs4_callback_compound()