Lines Matching refs:cps
815 static void nfs4_cb_free_slot(struct cb_process_state *cps) in nfs4_cb_free_slot() argument
817 if (cps->slot) { in nfs4_cb_free_slot()
818 nfs4_callback_free_slot(cps->clp->cl_session, cps->slot); in nfs4_cb_free_slot()
819 cps->slot = NULL; in nfs4_cb_free_slot()
831 static void nfs4_cb_free_slot(struct cb_process_state *cps) in nfs4_cb_free_slot() argument
877 struct cb_process_state *cps) in process_op() argument
889 switch (cps->minorversion) { in process_op()
908 if (cps->drc_status) { in process_op()
909 status = cps->drc_status; in process_op()
917 status = op->process_op(argp, resp, cps); in process_op()
939 struct cb_process_state cps = { in nfs4_callback_compound() local
956 cps.clp = nfs4_find_client_ident(SVC_NET(rqstp), hdr_arg.cb_ident); in nfs4_callback_compound()
957 if (!cps.clp || !check_gss_callback_principal(cps.clp, rqstp)) { in nfs4_callback_compound()
958 if (cps.clp) in nfs4_callback_compound()
959 nfs_put_client(cps.clp); in nfs4_callback_compound()
964 cps.minorversion = hdr_arg.minorversion; in nfs4_callback_compound()
968 if (cps.clp) in nfs4_callback_compound()
969 nfs_put_client(cps.clp); in nfs4_callback_compound()
975 &cps); in nfs4_callback_compound()
988 nfs4_cb_free_slot(&cps); in nfs4_callback_compound()
989 nfs_put_client(cps.clp); in nfs4_callback_compound()