Lines Matching refs:rqstp
98 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() argument
120 nfsd4_check_open_attributes(struct svc_rqst *rqstp, in nfsd4_check_open_attributes() argument
128 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
131 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
152 do_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp, in do_set_nfs4_acl() argument
157 status = nfsd4_set_nfs4_acl(rqstp, fhp, acl); in do_set_nfs4_acl()
178 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission() argument
195 status = fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission()
227 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup() argument
260 status = do_nfsd_create(rqstp, current_fh, open->op_fname.data, in do_open_lookup()
285 status = nfsd_lookup(rqstp, current_fh, in do_open_lookup()
294 do_set_nfs4_acl(rqstp, *resfh, open->op_acl, open->op_bmval); in do_open_lookup()
301 status = do_open_permission(rqstp, *resfh, open, accmode); in do_open_lookup()
308 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *ope… in do_open_fhandle() argument
336 status = do_open_permission(rqstp, current_fh, open, accmode); in do_open_fhandle()
352 nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_open() argument
358 struct net *net = SVC_NET(rqstp); in nfsd4_open()
391 status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); in nfsd4_open()
405 status = nfsd4_check_open_attributes(rqstp, cstate, open); in nfsd4_open()
421 status = do_open_lookup(rqstp, cstate, open, &resfh); in nfsd4_open()
435 status = do_open_fhandle(rqstp, cstate, open); in nfsd4_open()
457 status = nfsd4_process_open2(rqstp, resfh, open); in nfsd4_open()
480 static __be32 nfsd4_open_omfg(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct n… in nfsd4_open_omfg() argument
489 return nfsd4_open(rqstp, cstate, &op->u); in nfsd4_open_omfg()
496 nfsd4_getfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_getfh() argument
504 nfsd4_putfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_putfh() argument
514 ret = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_BYPASS_GSS); in nfsd4_putfh()
525 nfsd4_putrootfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_putrootfh() argument
531 status = exp_pseudoroot(rqstp, &cstate->current_fh); in nfsd4_putrootfh()
536 nfsd4_restorefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_restorefh() argument
551 nfsd4_savefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_savefh() argument
566 nfsd4_access(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_access() argument
581 return nfsd_access(rqstp, &cstate->current_fh, &access->ac_resp_access, in nfsd4_access()
595 nfsd4_commit(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_commit() argument
600 return nfsd_commit(rqstp, &cstate->current_fh, commit->co_offset, in nfsd4_commit()
606 nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_create() argument
616 status = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_NOP); in nfsd4_create()
620 status = check_attr_support(rqstp, cstate, create->cr_bmval, in nfsd4_create()
628 status = nfsd_symlink(rqstp, &cstate->current_fh, in nfsd4_create()
639 status = nfsd_create(rqstp, &cstate->current_fh, in nfsd4_create()
650 status = nfsd_create(rqstp, &cstate->current_fh, in nfsd4_create()
656 status = nfsd_create(rqstp, &cstate->current_fh, in nfsd4_create()
662 status = nfsd_create(rqstp, &cstate->current_fh, in nfsd4_create()
669 status = nfsd_create(rqstp, &cstate->current_fh, in nfsd4_create()
685 do_set_nfs4_acl(rqstp, &resfh, create->cr_acl, in nfsd4_create()
699 nfsd4_getattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_getattr() argument
705 status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); in nfsd4_getattr()
721 nfsd4_link(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_link() argument
727 status = nfsd_link(rqstp, &cstate->current_fh, in nfsd4_link()
734 static __be32 nfsd4_do_lookupp(struct svc_rqst *rqstp, struct svc_fh *fh) in nfsd4_do_lookupp() argument
740 ret = exp_pseudoroot(rqstp, &tmp_fh); in nfsd4_do_lookupp()
748 return nfsd_lookup(rqstp, fh, "..", 2, fh); in nfsd4_do_lookupp()
752 nfsd4_lookupp(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_lookupp() argument
755 return nfsd4_do_lookupp(rqstp, &cstate->current_fh); in nfsd4_lookupp()
759 nfsd4_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_lookup() argument
762 return nfsd_lookup(rqstp, &cstate->current_fh, in nfsd4_lookup()
768 nfsd4_read(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_read() argument
778 trace_nfsd_read_start(rqstp, &cstate->current_fh, in nfsd4_read()
789 if (!nfsd4_last_compound_op(rqstp)) in nfsd4_read()
790 clear_bit(RQ_SPLICE_OK, &rqstp->rq_flags); in nfsd4_read()
793 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_read()
802 read->rd_rqstp = rqstp; in nfsd4_read()
818 nfsd4_readdir(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_readdir() argument
838 readdir->rd_rqstp = rqstp; in nfsd4_readdir()
844 nfsd4_readlink(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_readlink() argument
847 u->readlink.rl_rqstp = rqstp; in nfsd4_readlink()
853 nfsd4_remove(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_remove() argument
859 if (opens_in_grace(SVC_NET(rqstp))) in nfsd4_remove()
861 status = nfsd_unlink(rqstp, &cstate->current_fh, 0, in nfsd4_remove()
871 nfsd4_rename(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_rename() argument
877 if (opens_in_grace(SVC_NET(rqstp))) in nfsd4_rename()
879 status = nfsd_rename(rqstp, &cstate->save_fh, rename->rn_sname, in nfsd4_rename()
890 nfsd4_secinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_secinfo() argument
898 err = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_EXEC); in nfsd4_secinfo()
901 err = nfsd_lookup_dentry(rqstp, &cstate->current_fh, in nfsd4_secinfo()
920 nfsd4_secinfo_no_name(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_secinfo_no_name() argument
929 err = nfsd4_do_lookupp(rqstp, &cstate->current_fh); in nfsd4_secinfo_no_name()
957 nfsd4_setattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_setattr() argument
965 status = nfs4_preprocess_stateid_op(rqstp, cstate, in nfsd4_setattr()
978 status = check_attr_support(rqstp, cstate, setattr->sa_bmval, in nfsd4_setattr()
984 status = nfsd4_set_nfs4_acl(rqstp, &cstate->current_fh, in nfsd4_setattr()
989 status = nfsd4_set_nfs4_label(rqstp, &cstate->current_fh, in nfsd4_setattr()
993 status = nfsd_setattr(rqstp, &cstate->current_fh, &setattr->sa_iattr, in nfsd4_setattr()
1001 nfsd4_write(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_write() argument
1016 trace_nfsd_write_start(rqstp, &cstate->current_fh, in nfsd4_write()
1018 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_write()
1027 nvecs = svc_fill_write_vector(rqstp, write->wr_pagelist, in nfsd4_write()
1029 WARN_ON_ONCE(nvecs > ARRAY_SIZE(rqstp->rq_vec)); in nfsd4_write()
1031 status = nfsd_vfs_write(rqstp, &cstate->current_fh, nf, in nfsd4_write()
1032 write->wr_offset, rqstp->rq_vec, nvecs, &cnt, in nfsd4_write()
1038 trace_nfsd_write_done(rqstp, &cstate->current_fh, in nfsd4_write()
1044 nfsd4_verify_copy(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_verify_copy() argument
1053 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->save_fh, in nfsd4_verify_copy()
1060 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_verify_copy()
1084 nfsd4_clone(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_clone() argument
1091 status = nfsd4_verify_copy(rqstp, cstate, &clone->cl_src_stateid, &src, in nfsd4_clone()
1170 nfsd4_interssc_connect(struct nl4_server *nss, struct svc_rqst *rqstp, in nfsd4_interssc_connect() argument
1184 tmp_addrlen = rpc_uaddr2sockaddr(SVC_NET(rqstp), naddr->addr, in nfsd4_interssc_connect()
1266 nfsd4_setup_inter_ssc(struct svc_rqst *rqstp, in nfsd4_setup_inter_ssc() argument
1275 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_setup_inter_ssc()
1281 status = nfsd4_interssc_connect(©->cp_src, rqstp, mount); in nfsd4_setup_inter_ssc()
1311 nfsd4_setup_inter_ssc(struct svc_rqst *rqstp, in nfsd4_setup_inter_ssc() argument
1340 nfsd4_setup_intra_ssc(struct svc_rqst *rqstp, in nfsd4_setup_intra_ssc() argument
1344 return nfsd4_verify_copy(rqstp, cstate, ©->cp_src_stateid, in nfsd4_setup_intra_ssc()
1505 nfsd4_copy(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_copy() argument
1517 status = nfsd4_setup_inter_ssc(rqstp, cstate, copy, in nfsd4_copy()
1522 status = nfsd4_setup_intra_ssc(rqstp, cstate, copy); in nfsd4_copy()
1531 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_copy()
1585 nfsd4_offload_cancel(struct svc_rqst *rqstp, in nfsd4_offload_cancel() argument
1595 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_offload_cancel()
1605 nfsd4_copy_notify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_copy_notify() argument
1610 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_copy_notify()
1615 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_copy_notify()
1636 status = nfsd4_set_netaddr((struct sockaddr *)&rqstp->rq_daddr, in nfsd4_copy_notify()
1649 nfsd4_fallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_fallocate() argument
1655 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_fallocate()
1663 status = nfsd4_vfs_fallocate(rqstp, &cstate->current_fh, nf->nf_file, in nfsd4_fallocate()
1671 nfsd4_offload_status(struct svc_rqst *rqstp, in nfsd4_offload_status() argument
1691 nfsd4_allocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_allocate() argument
1694 return nfsd4_fallocate(rqstp, cstate, &u->allocate, 0); in nfsd4_allocate()
1698 nfsd4_deallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_deallocate() argument
1701 return nfsd4_fallocate(rqstp, cstate, &u->deallocate, in nfsd4_deallocate()
1706 nfsd4_seek(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_seek() argument
1714 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_seek()
1755 _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in _nfsd4_verify() argument
1762 status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); in _nfsd4_verify()
1766 status = check_attr_support(rqstp, cstate, verify->ve_bmval, NULL); in _nfsd4_verify()
1789 rqstp, 0); in _nfsd4_verify()
1813 nfsd4_nverify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_nverify() argument
1818 status = _nfsd4_verify(rqstp, cstate, &u->verify); in nfsd4_nverify()
1823 nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_verify() argument
1828 status = _nfsd4_verify(rqstp, cstate, &u->nverify); in nfsd4_verify()
1852 nfsd4_getdeviceinfo(struct svc_rqst *rqstp, in nfsd4_getdeviceinfo() argument
1874 exp = rqst_exp_find(rqstp, map->fsid_type, map->fsid); in nfsd4_getdeviceinfo()
1888 rqstp, cstate->session->se_client, gdp); in nfsd4_getdeviceinfo()
1904 nfsd4_layoutget(struct svc_rqst *rqstp, in nfsd4_layoutget() argument
1928 nfserr = fh_verify(rqstp, current_fh, 0, accmode); in nfsd4_layoutget()
1958 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lgp->lg_sid, in nfsd4_layoutget()
1990 nfsd4_layoutcommit(struct svc_rqst *rqstp, in nfsd4_layoutcommit() argument
2002 nfserr = fh_verify(rqstp, current_fh, 0, NFSD_MAY_WRITE); in nfsd4_layoutcommit()
2026 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, in nfsd4_layoutcommit()
2054 nfsd4_layoutreturn(struct svc_rqst *rqstp, in nfsd4_layoutreturn() argument
2061 nfserr = fh_verify(rqstp, current_fh, 0, NFSD_MAY_NOP); in nfsd4_layoutreturn()
2083 nfserr = nfsd4_return_file_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
2087 nfserr = nfsd4_return_client_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
2101 nfsd4_getxattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_getxattr() argument
2106 return nfsd_getxattr(rqstp, &cstate->current_fh, in nfsd4_getxattr()
2112 nfsd4_setxattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_setxattr() argument
2118 if (opens_in_grace(SVC_NET(rqstp))) in nfsd4_setxattr()
2121 ret = nfsd_setxattr(rqstp, &cstate->current_fh, setxattr->setxa_name, in nfsd4_setxattr()
2132 nfsd4_listxattrs(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_listxattrs() argument
2139 return nfsd_listxattr(rqstp, &cstate->current_fh, in nfsd4_listxattrs()
2144 nfsd4_removexattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_removexattr() argument
2150 if (opens_in_grace(SVC_NET(rqstp))) in nfsd4_removexattr()
2153 ret = nfsd_removexattr(rqstp, &cstate->current_fh, in nfsd4_removexattr()
2166 nfsd4_proc_null(struct svc_rqst *rqstp) in nfsd4_proc_null() argument
2231 static bool need_wrongsec_check(struct svc_rqst *rqstp) in need_wrongsec_check() argument
2233 struct nfsd4_compoundres *resp = rqstp->rq_resp; in need_wrongsec_check()
2234 struct nfsd4_compoundargs *argp = rqstp->rq_argp; in need_wrongsec_check()
2264 static void svcxdr_init_encode(struct svc_rqst *rqstp, in svcxdr_init_encode() argument
2268 struct xdr_buf *buf = &rqstp->rq_res; in svcxdr_init_encode()
2274 xdr->end = head->iov_base + PAGE_SIZE - rqstp->rq_auth_slack; in svcxdr_init_encode()
2279 buf->buflen = PAGE_SIZE * (1 + rqstp->rq_page_end - buf->pages) in svcxdr_init_encode()
2280 - rqstp->rq_auth_slack; in svcxdr_init_encode()
2326 nfsd4_proc_compound(struct svc_rqst *rqstp) in nfsd4_proc_compound() argument
2328 struct nfsd4_compoundargs *args = rqstp->rq_argp; in nfsd4_proc_compound()
2329 struct nfsd4_compoundres *resp = rqstp->rq_resp; in nfsd4_proc_compound()
2334 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_proc_compound()
2337 svcxdr_init_encode(rqstp, resp); in nfsd4_proc_compound()
2343 resp->rqstp = rqstp; in nfsd4_proc_compound()
2351 clear_bit(RQ_USEDEFERRAL, &rqstp->rq_flags); in nfsd4_proc_compound()
2372 rqstp->rq_lease_breaker = (void **)&cstate->clp; in nfsd4_proc_compound()
2374 trace_nfsd_compound(rqstp, args->opcnt); in nfsd4_proc_compound()
2385 op->status = nfsd4_open_omfg(rqstp, cstate, op); in nfsd4_proc_compound()
2409 u32 plen = op->opdesc->op_rsize_bop(rqstp, op); in nfsd4_proc_compound()
2424 op->status = op->opdesc->op_func(rqstp, cstate, &op->u); in nfsd4_proc_compound()
2440 need_wrongsec_check(rqstp)) in nfsd4_proc_compound()
2441 op->status = check_nfsd_access(current_fh->fh_export, rqstp); in nfsd4_proc_compound()
2466 set_bit(RQ_USEDEFERRAL, &rqstp->rq_flags); in nfsd4_proc_compound()
2488 static inline u32 nfsd4_only_status_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_only_status_rsize() argument
2493 static inline u32 nfsd4_status_stateid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_status_stateid_rsize() argument
2498 static inline u32 nfsd4_access_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_access_rsize() argument
2504 static inline u32 nfsd4_commit_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_commit_rsize() argument
2509 static inline u32 nfsd4_create_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_create_rsize() argument
2520 static inline u32 nfsd4_getattr_rsize(struct svc_rqst *rqstp, in nfsd4_getattr_rsize() argument
2528 return svc_max_payload(rqstp); in nfsd4_getattr_rsize()
2530 return svc_max_payload(rqstp); in nfsd4_getattr_rsize()
2558 static inline u32 nfsd4_getfh_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_getfh_rsize() argument
2563 static inline u32 nfsd4_link_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_link_rsize() argument
2569 static inline u32 nfsd4_lock_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_lock_rsize() argument
2575 static inline u32 nfsd4_open_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_open_rsize() argument
2583 static inline u32 nfsd4_read_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_read_rsize() argument
2587 maxcount = svc_max_payload(rqstp); in nfsd4_read_rsize()
2593 static inline u32 nfsd4_read_plus_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_read_plus_rsize() argument
2595 u32 maxcount = svc_max_payload(rqstp); in nfsd4_read_plus_rsize()
2607 static inline u32 nfsd4_readdir_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_readdir_rsize() argument
2611 maxcount = svc_max_payload(rqstp); in nfsd4_readdir_rsize()
2618 static inline u32 nfsd4_readlink_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_readlink_rsize() argument
2623 static inline u32 nfsd4_remove_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_remove_rsize() argument
2629 static inline u32 nfsd4_rename_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_rename_rsize() argument
2635 static inline u32 nfsd4_sequence_rsize(struct svc_rqst *rqstp, in nfsd4_sequence_rsize() argument
2642 static inline u32 nfsd4_test_stateid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_test_stateid_rsize() argument
2648 static inline u32 nfsd4_setattr_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_setattr_rsize() argument
2653 static inline u32 nfsd4_secinfo_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_secinfo_rsize() argument
2659 static inline u32 nfsd4_setclientid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_setclientid_rsize() argument
2665 static inline u32 nfsd4_write_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_write_rsize() argument
2670 static inline u32 nfsd4_exchange_id_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_exchange_id_rsize() argument
2684 static inline u32 nfsd4_bind_conn_to_session_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_bind_conn_to_session_rsize() argument
2691 static inline u32 nfsd4_create_session_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_create_session_rsize() argument
2700 static inline u32 nfsd4_copy_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_copy_rsize() argument
2712 static inline u32 nfsd4_offload_status_rsize(struct svc_rqst *rqstp, in nfsd4_offload_status_rsize() argument
2720 static inline u32 nfsd4_copy_notify_rsize(struct svc_rqst *rqstp, in nfsd4_copy_notify_rsize() argument
2736 static inline u32 nfsd4_getdeviceinfo_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_getdeviceinfo_rsize() argument
2740 maxcount = svc_max_payload(rqstp); in nfsd4_getdeviceinfo_rsize()
2754 static inline u32 nfsd4_layoutget_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_layoutget_rsize() argument
2763 static inline u32 nfsd4_layoutcommit_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_layoutcommit_rsize() argument
2770 static inline u32 nfsd4_layoutreturn_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_layoutreturn_rsize() argument
2779 static inline u32 nfsd4_seek_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_seek_rsize() argument
2784 static inline u32 nfsd4_getxattr_rsize(struct svc_rqst *rqstp, in nfsd4_getxattr_rsize() argument
2789 maxcount = svc_max_payload(rqstp); in nfsd4_getxattr_rsize()
2795 static inline u32 nfsd4_setxattr_rsize(struct svc_rqst *rqstp, in nfsd4_setxattr_rsize() argument
2801 static inline u32 nfsd4_listxattrs_rsize(struct svc_rqst *rqstp, in nfsd4_listxattrs_rsize() argument
2806 maxcount = svc_max_payload(rqstp); in nfsd4_listxattrs_rsize()
2812 static inline u32 nfsd4_removexattr_rsize(struct svc_rqst *rqstp, in nfsd4_removexattr_rsize() argument
3242 bool nfsd4_spo_must_allow(struct svc_rqst *rqstp) in nfsd4_spo_must_allow() argument
3244 struct nfsd4_compoundres *resp = rqstp->rq_resp; in nfsd4_spo_must_allow()
3245 struct nfsd4_compoundargs *argp = rqstp->rq_argp; in nfsd4_spo_must_allow()
3262 nfsd4_mach_creds_match(cstate->clp, rqstp)) { in nfsd4_spo_must_allow()
3271 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op) in nfsd4_max_reply() argument
3277 return OPDESC(op)->op_rsize_bop(rqstp, op); in nfsd4_max_reply()