Lines Matching defs:req

200 				struct svc_req *req, struct compound_state *cs);
243 struct svc_req *req, struct compound_state *);
843 rfs4_op_inval(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
1064 access = nfsauth4_secinfo_access(exi, cs->req,
1125 rfs4_op_secinfo(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
1181 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
1238 rfs4_op_access(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
1276 if (rdonly4(req, cs) &&
1299 ASSERT(req->rq_label != NULL);
1300 clabel = req->rq_label;
1303 struct svc_req *, req);
1374 rfs4_op_commit(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
1412 if (rdonly4(req, cs)) {
1452 do_rfs4_op_mknod(CREATE4args *args, CREATE4res *resp, struct svc_req *req,
1514 rfs4_op_create(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
1583 if (rdonly4(req, cs)) {
1603 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
1774 vp = do_rfs4_op_mknod(args, resp, req, cs, vap, name);
1894 rfs4_op_delegpurge(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
1900 rfs4_op_inval(argop, resop, req, cs);
1908 rfs4_op_delegreturn(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
2000 call_checkauth4(struct compound_state *cs, struct svc_req *req)
2013 authres = checkauth4(cs, req);
2303 rfs4_op_getattr(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
2338 if (client_is_downrev(req))
2364 rfs4_op_getfh(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
2391 if (vn_is_nfs_reparse(cs->vp, cs->cr) && !client_is_downrev(req)) {
2428 struct svc_req *req, struct compound_state *cs)
2442 rfs4_op_link(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
2523 if (rdonly4(req, cs)) {
2538 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
2609 do_rfs4_op_lookup(char *nm, struct svc_req *req, struct compound_state *cs)
2787 stat = call_checkauth4(cs, req);
2807 ASSERT(req->rq_label != NULL);
2808 clabel = req->rq_label;
2810 "got client label from request(1)", struct svc_req *, req);
2830 req->rq_xprt)->buf;
2886 rfs4_op_lookup(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
2933 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
2943 *cs->statusp = resp->status = do_rfs4_op_lookup(name, req, cs);
2956 rfs4_op_lookupp(nfs_argop4 *args, nfs_resop4 *resop, struct svc_req *req,
2973 *cs->statusp = resp->status = do_rfs4_op_lookup("..", req, cs);
2991 rfs4_op_openattr(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
3046 if (args->createdir && ! (exp_ro = rdonly4(req, cs)))
3132 rfs4_op_read(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
3263 if (args->count > rfs4_tsize(req))
3264 args->count = rfs4_tsize(req);
3299 (void) rdma_get_wchunk(req, &iov, args->wlist);
3404 rfs4_op_putpubfh(nfs_argop4 *args, nfs_resop4 *resop, struct svc_req *req,
3463 ASSERT(req->rq_label != NULL);
3464 clabel = req->rq_label;
3467 struct svc_req *, req);
3481 if ((resp->status = call_checkauth4(cs, req)) != NFS4_OK) {
3512 rfs4_op_putfh(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
3556 if ((resp->status = call_checkauth4(cs, req)) != NFS4_OK) {
3573 rfs4_op_putrootfh(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
3637 if ((resp->status = call_checkauth4(cs, req)) != NFS4_OK) {
3733 rfs4_op_readlink(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
3762 if (vn_is_nfs_reparse(vp, cs->cr) && client_is_downrev(req)) {
3836 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
3888 struct svc_req *req, struct compound_state *cs)
4059 rfs4_op_remove(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
4126 if (rdonly4(req, cs)) {
4132 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
4191 ASSERT(req->rq_label != NULL);
4192 clabel = req->rq_label;
4195 struct svc_req *, req);
4353 rfs4_op_rename(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
4447 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
4488 if (rdonly4(req, cs)) {
4501 ASSERT(req->rq_label != NULL);
4502 clabel = req->rq_label;
4505 struct svc_req *, req);
4761 rfs4_op_renew(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
4803 rfs4_op_restorefh(nfs_argop4 *args, nfs_resop4 *resop, struct svc_req *req,
4832 rfs4_op_savefh(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
5357 rfs4_op_setattr(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
5383 if (rdonly4(req, cs)) {
5390 ASSERT(req->rq_label != NULL);
5391 clabel = req->rq_label;
5394 struct svc_req *, req);
5415 rfs4_op_verify(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
5476 rfs4_op_nverify(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
5543 rfs4_op_write(nfs_argop4 *argop, nfs_resop4 *resop, struct svc_req *req,
5610 if (rdonly4(req, cs)) {
5656 printf("bytes=0x%x, round_len=0x%x, req len=0x%x\n",
5748 struct svc_req *req, cred_t *cr, int *rv)
5766 cs.req = req;
5793 if (sec_svc_getcred(req, cr, &cs.principal, &cs.nfsflavor) == 0) {
5799 svcerr_badcred(req->rq_xprt);
5858 (*rfsv4disptab[op].dis_proc)(argop, resop, req, &cs);
5873 rfs4_op_illegal(argop, resop, req, &cs);
5914 if (req->rq_label != NULL) {
5915 kmem_free(req->rq_label, sizeof (bslabel_t));
5916 req->rq_label = NULL;
6035 creds_ok(cred_set_t cr_set, struct svc_req *req, struct compound_state *cs)
6046 rfs4_lookup(component4 *component, struct svc_req *req,
6076 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
6085 status = do_rfs4_op_lookup(name, req, cs);
6096 rfs4_lookupfile(component4 *component, struct svc_req *req,
6113 status = rfs4_lookup(component, req, cs);
6161 return (check_open_access(access, cs, req));
6259 struct svc_req *req)
6279 readonly = rdonly4(req, cs);
6301 rfs4_createfile(OPEN4args *args, struct svc_req *req, struct compound_state *cs,
6333 if (rdonly4(req, cs))
6338 ASSERT(req->rq_label != NULL);
6339 clabel = req->rq_label;
6342 struct svc_req *, req);
6466 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
6683 status = check_open_access(args->share_access, cs, req);
6692 rfs4_do_open(struct compound_state *cs, struct svc_req *req,
6697 /* XXX Currently not using req */
6931 rfs4_do_opennull(struct compound_state *cs, struct svc_req *req,
6939 req, cs, args->share_access, cinfo);
6946 resp->status = rfs4_createfile(args, req, cs, cinfo, attrset,
6954 rfs4_do_open(cs, req, oo,
6975 rfs4_do_openprev(struct compound_state *cs, struct svc_req *req,
7011 resp->status = check_open_access(args->share_access, cs, req);
7024 rfs4_do_open(cs, req, oo,
7030 rfs4_do_opendelcur(struct compound_state *cs, struct svc_req *req,
7079 rfs4_do_open(cs, req, oo, DELEG_NONE,
7085 rfs4_do_opendelprev(struct compound_state *cs, struct svc_req *req,
7107 req, cs, args->share_access, &resp->cinfo);
7280 struct svc_req *req, struct compound_state *cs)
7439 rfs4_do_opennull(cs, req, args, oo, resp);
7442 rfs4_do_openprev(cs, req, args, oo, resp);
7445 rfs4_do_opendelcur(cs, req, args, oo, resp);
7448 rfs4_do_opendelprev(cs, req, args, oo, resp);
7564 struct svc_req *req, struct compound_state *cs)
7681 struct svc_req *req, struct compound_state *cs)
7944 struct svc_req *req, struct compound_state *cs)
7963 (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;
8036 if (!creds_ok(cp_confirmed->rc_cr_set, req, cs)) {
8174 struct svc_req *req, struct compound_state *cs)
8196 if (!creds_ok(cp, req, cs)) {
8257 struct svc_req *req, struct compound_state *cs)
8792 struct svc_req *req, struct compound_state *cs)
9216 struct svc_req *req, struct compound_state *cs)
9343 struct svc_req *req, struct compound_state *cs)
9872 client_is_downrev(struct svc_req *req)
9879 ca = (struct sockaddr *)svc_getrpccaller(req->rq_xprt)->buf;