Lines Matching defs:req

195 static char	*client_name(struct svc_req *req);
196 static char *client_addr(struct svc_req *req, char *buf);
653 struct svc_req *req, cred_t *cr, bool_t ro)
660 struct svc_req *req, cred_t *cr, bool_t ro)
662 DTRACE_NFSV3_3(op__null__start, struct svc_req *, req,
664 DTRACE_NFSV3_3(op__null__done, struct svc_req *, req,
671 struct svc_req *req, cred_t *cr, bool_t ro)
1457 auth_tooweak(struct svc_req *req, char *res)
1460 if (req->rq_vers == NFS_VERSION && req->rq_proc == RFS_LOOKUP) {
1464 } else if (req->rq_vers == NFS_V3 && req->rq_proc == NFSPROC3_LOOKUP) {
1474 common_dispatch(struct svc_req *req, SVCXPRT *xprt, rpcvers_t min_vers,
1510 vers = req->rq_vers;
1513 svcerr_progvers(req->rq_xprt, min_vers, max_vers);
1520 which = req->rq_proc;
1522 svcerr_noproc(req->rq_xprt);
1532 auth_flavor = req->rq_cred.oa_flavor;
1555 if (rfs4_minorvers_mismatch(req, xprt, (void *)args))
1563 client_name(req), client_addr(req, cbuf));
1571 if (req->rq_vers == 4) {
1572 error += rfs4_dispatch(disp, req, xprt, args);
1590 switch (req->rq_vers) {
1663 authres = checkauth(exi, req, cr, anon_ok, publicfh_ok,
1689 dupstat = SVC_DUP_EXT(xprt, req, res, disp->dis_ressz, &dr,
1708 (*disp->dis_proc)(args, res, exi, req, cr, ro);
1738 (*disp->dis_proc)(args, res, exi, req, cr, ro);
1750 if (auth_tooweak(req, res)) {
1764 nfslog_exi = nfslog_get_exi(exi, req, res, &nfslog_rec_id);
1814 nfslog_write_record(nfslog_exi, req, args, (char *)&res_buf,
1847 global_svstat_ptr[req->rq_vers][NFS_BADCALLS].value.ui64 += error;
1849 global_svstat_ptr[req->rq_vers][NFS_CALLS].value.ui64++;
1853 rfs_dispatch(struct svc_req *req, SVCXPRT *xprt)
1855 common_dispatch(req, xprt, NFS_VERSMIN, NFS_VERSMAX,
1979 acl_dispatch(struct svc_req *req, SVCXPRT *xprt)
1981 common_dispatch(req, xprt, NFS_ACL_VERSMIN, NFS_ACL_VERSMAX,
1986 checkwin(int flavor, int window, struct svc_req *req)
1992 adc = (struct authdes_cred *)req->rq_clntcred;
2011 checkauth(struct exportinfo *exi, struct svc_req *req, cred_t *cr, int anon_ok,
2031 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
2045 client_name(req), client_addr(req, buf));
2053 stat = sec_svc_getcred(req, cr, &principal, &nfsflavor);
2062 client_name(req));
2078 rpcflavor = req->rq_cred.oa_flavor;
2082 access = nfsauth_access(exi, req, cr, &uid, &gid, &ngids, &gids);
2187 client_name(req), client_addr(req, buf),
2192 if (!checkwin(rpcflavor, secp->s_window, req)) {
2196 client_name(req), client_addr(req, buf));
2253 client_name(req), client_addr(req, buf),
2271 checkauth4(struct compound_state *cs, struct svc_req *req)
2293 rpcflavor = req->rq_cred.oa_flavor;
2302 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
2316 client_name(req), client_addr(req, buf));
2325 access = nfsauth4_access(cs->exi, cs->vp, req, cr, &uid, &gid, &ngids,
2424 client_name(req), client_addr(req, buf),
2429 if (!checkwin(rpcflavor, secp->s_window, req)) {
2433 client_name(req), client_addr(req, buf));
2487 client_name(req), client_addr(req, buf),
2498 client_name(struct svc_req *req)
2506 if (req->rq_cred.oa_flavor == AUTH_UNIX) {
2508 req->rq_clntcred)->aup_machname;
2517 client_addr(struct svc_req *req, char *buf)
2531 if (req->rq_cred.oa_flavor == AUTH_UNIX)
2537 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;