/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 898 kxdrproc_t encode, struct rpc_rqst *rqstp, __be32 *p, void *obj) 900 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf; 912 *p++ = htonl(rqstp->rq_seqno); 914 status = encode(rqstp, p, obj); 946 priv_release_snd_buf(struct rpc_rqst *rqstp) argument 950 for (i=0; i < rqstp->rq_enc_pages_num; i++) 951 __free_page(rqstp->rq_enc_pages[i]); 952 kfree(rqstp->rq_enc_pages); 956 alloc_enc_pages(struct rpc_rqst *rqstp) argument 958 struct xdr_buf *snd_buf = &rqstp 897 gss_wrap_req_integ(struct rpc_cred *cred, struct gss_cl_ctx *ctx, kxdrproc_t encode, struct rpc_rqst *rqstp, __be32 *p, void *obj) argument 990 gss_wrap_req_priv(struct rpc_cred *cred, struct gss_cl_ctx *ctx, kxdrproc_t encode, struct rpc_rqst *rqstp, __be32 *p, void *obj) argument 1053 gss_wrap_req(struct rpc_task *task, kxdrproc_t encode, void *rqstp, __be32 *p, void *obj) argument 1090 gss_unwrap_resp_integ(struct rpc_cred *cred, struct gss_cl_ctx *ctx, struct rpc_rqst *rqstp, __be32 **p) argument 1127 gss_unwrap_resp_priv(struct rpc_cred *cred, struct gss_cl_ctx *ctx, struct rpc_rqst *rqstp, __be32 **p) argument 1156 gss_unwrap_resp(struct rpc_task *task, kxdrproc_t decode, void *rqstp, __be32 *p, void *obj) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/ |
H A D | svcsock.h | 46 int (*sk_recvfrom)(struct svc_rqst *rqstp); 47 int (*sk_sendto)(struct svc_rqst *rqstp);
|
H A D | auth.h | 135 int rpcauth_wrap_req(struct rpc_task *task, kxdrproc_t encode, void *rqstp, __be32 *data, void *obj); 136 int rpcauth_unwrap_resp(struct rpc_task *task, kxdrproc_t decode, void *rqstp, __be32 *data, void *obj);
|
H A D | cache.h | 178 struct cache_head *h, struct cache_req *rqstp);
|
H A D | xdr.h | 32 * This is the generic XDR function. rqstp is either a rpc_rqst (client 36 typedef int (*kxdrproc_t)(void *rqstp, __be32 *data, void *obj);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/nfsd/ |
H A D | xdr4.h | 392 struct svc_rqst *rqstp; member in struct:nfsd4_compoundargs 407 struct svc_rqst * rqstp; member in struct:nfsd4_compoundres 438 extern __be32 nfsd4_setclientid(struct svc_rqst *rqstp, 441 extern __be32 nfsd4_setclientid_confirm(struct svc_rqst *rqstp, 445 extern __be32 nfsd4_process_open2(struct svc_rqst *rqstp, 447 extern __be32 nfsd4_open_confirm(struct svc_rqst *rqstp, 449 extern __be32 nfsd4_close(struct svc_rqst *rqstp, 452 extern __be32 nfsd4_open_downgrade(struct svc_rqst *rqstp, 455 extern __be32 nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *, 457 extern __be32 nfsd4_lockt(struct svc_rqst *rqstp, [all...] |
H A D | xdr3.h | 186 struct svc_rqst * rqstp; member in struct:nfsd3_readdirres 341 __be32 *nfs3svc_encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p,
|
H A D | xdr.h | 174 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp);
|
H A D | nfsd.h | 66 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp); 72 int nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/ |
H A D | callback_xdr.c | 39 static __be32 nfs4_callback_null(struct svc_rqst *rqstp, void *argp, void *resp) argument 44 static int nfs4_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) argument 46 return xdr_argsize_check(rqstp, p); 49 static int nfs4_encode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) argument 51 return xdr_ressize_check(rqstp, p); 172 static __be32 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_getattrargs *args) argument 179 args->addr = svc_addr_in(rqstp); 186 static __be32 decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_recallargs *args) argument 191 args->addr = svc_addr_in(rqstp); 330 static __be32 encode_getattr_res(struct svc_rqst *rqstp, struc argument 356 process_op(struct svc_rqst *rqstp, struct xdr_stream *xdr_in, void *argp, struct xdr_stream *xdr_out, void *resp) argument 402 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *resp) argument [all...] |
H A D | nfs4xdr.c | 3643 static int nfs4_xdr_dec_open_downgrade(struct rpc_rqst *rqstp, __be32 *p, struct nfs_closeres *res) argument 3649 xdr_init_decode(&xdr, &rqstp->rq_rcv_buf, p); 3671 static int nfs4_xdr_dec_access(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_accessres *res) argument 3677 xdr_init_decode(&xdr, &rqstp->rq_rcv_buf, p); 3689 static int nfs4_xdr_dec_lookup(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_lookup_res *res) argument 3695 xdr_init_decode(&xdr, &rqstp->rq_rcv_buf, p); 3712 static int nfs4_xdr_dec_lookup_root(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_lookup_res *res) argument 3718 xdr_init_decode(&xdr, &rqstp->rq_rcv_buf, p); 3732 static int nfs4_xdr_dec_remove(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_remove_res *res) argument 3738 xdr_init_decode(&xdr, &rqstp 3753 nfs4_xdr_dec_rename(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_rename_res *res) argument 3783 nfs4_xdr_dec_link(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_link_res *res) argument 3816 nfs4_xdr_dec_create(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_create_res *res) argument 3845 nfs4_xdr_dec_symlink(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_create_res *res) argument 3853 nfs4_xdr_dec_getattr(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_getattr_res *res) argument 3897 nfs4_xdr_dec_setacl(struct rpc_rqst *rqstp, __be32 *p, void *res) argument 3919 nfs4_xdr_dec_getacl(struct rpc_rqst *rqstp, __be32 *p, size_t *acl_len) argument 3941 nfs4_xdr_dec_close(struct rpc_rqst *rqstp, __be32 *p, struct nfs_closeres *res) argument 3971 nfs4_xdr_dec_open(struct rpc_rqst *rqstp, __be32 *p, struct nfs_openres *res) argument 4005 nfs4_xdr_dec_open_confirm(struct rpc_rqst *rqstp, __be32 *p, struct nfs_open_confirmres *res) argument 4026 nfs4_xdr_dec_open_noattr(struct rpc_rqst *rqstp, __be32 *p, struct nfs_openres *res) argument 4050 nfs4_xdr_dec_setattr(struct rpc_rqst *rqstp, __be32 *p, struct nfs_setattrres *res) argument 4076 nfs4_xdr_dec_lock(struct rpc_rqst *rqstp, __be32 *p, struct nfs_lock_res *res) argument 4097 nfs4_xdr_dec_lockt(struct rpc_rqst *rqstp, __be32 *p, struct nfs_lockt_res *res) argument 4118 nfs4_xdr_dec_locku(struct rpc_rqst *rqstp, __be32 *p, struct nfs_locku_res *res) argument 4139 nfs4_xdr_dec_readlink(struct rpc_rqst *rqstp, __be32 *p, void *res) argument 4160 nfs4_xdr_dec_readdir(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_readdir_res *res) argument 4181 nfs4_xdr_dec_read(struct rpc_rqst *rqstp, __be32 *p, struct nfs_readres *res) argument 4204 nfs4_xdr_dec_write(struct rpc_rqst *rqstp, __be32 *p, struct nfs_writeres *res) argument 4230 nfs4_xdr_dec_commit(struct rpc_rqst *rqstp, __be32 *p, struct nfs_writeres *res) argument 4329 nfs4_xdr_dec_renew(struct rpc_rqst *rqstp, __be32 *p, void *dummy) argument 4386 nfs4_xdr_dec_delegreturn(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_delegreturnres *res) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/ |
H A D | nfsfh.c | 76 nfsd_mode_check(struct svc_rqst *rqstp, umode_t mode, int type) argument 80 if (rqstp->rq_vers == 4 && (mode & S_IFMT) == S_IFLNK) 90 if (rqstp->rq_vers == 4 && (mode & S_IFMT) == S_IFLNK) 110 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access) argument 126 if (rqstp->rq_client == NULL) 128 if (rqstp->rq_vers > 2) 130 if (rqstp->rq_vers == 4 && fh->fh_size == 0) 151 exp = exp_find(rqstp->rq_client, fh->fh_fsid_type, datap, &rqstp->rq_chandle); 162 exp = exp_find(rqstp [all...] |
H A D | nfs4xdr.c | 304 host_err = nfsd_map_name_to_gid(argp->rqstp, 307 host_err = nfsd_map_name_to_uid(argp->rqstp, 328 if ((host_err = nfsd_map_name_to_uid(argp->rqstp, buf, dummy32, &iattr->ia_uid))) 339 if ((host_err = nfsd_map_name_to_gid(argp->rqstp, buf, dummy32, &iattr->ia_gid))) 918 argp->rqstp->rq_vec[0].iov_base = p; 919 argp->rqstp->rq_vec[0].iov_len = avail; 922 while (len > argp->rqstp->rq_vec[v].iov_len) { 923 len -= argp->rqstp->rq_vec[v].iov_len; 925 argp->rqstp->rq_vec[v].iov_base = page_address(argp->pagelist[0]); 928 argp->rqstp 1270 nfsd4_path(struct svc_rqst *rqstp, struct svc_export *exp, __be32 *stat) argument 1296 nfsd4_encode_fs_locations(struct svc_rqst *rqstp, struct svc_export *exp, __be32 **pp, int *buflen) argument 1332 nfsd4_encode_name(struct svc_rqst *rqstp, int whotype, uid_t id, int group, __be32 **p, int *buflen) argument 1354 nfsd4_encode_user(struct svc_rqst *rqstp, uid_t uid, __be32 **p, int *buflen) argument 1360 nfsd4_encode_group(struct svc_rqst *rqstp, uid_t gid, __be32 **p, int *buflen) argument 1366 nfsd4_encode_aclname(struct svc_rqst *rqstp, int whotype, uid_t id, int group, __be32 **p, int *buflen) argument 1400 nfsd4_encode_fattr(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, __be32 *buffer, int *countp, u32 *bmval, struct svc_rqst *rqstp) argument 2588 nfs4svc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) argument 2610 nfs4svc_decode_compoundargs(struct svc_rqst *rqstp, __be32 *p, struct nfsd4_compoundargs *args) argument 2631 nfs4svc_encode_compoundres(struct svc_rqst *rqstp, __be32 *p, struct nfsd4_compoundres *resp) argument [all...] |
H A D | auth.c | 15 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) argument 17 struct svc_cred cred = rqstp->rq_cred;
|
H A D | nfs4idmap.c | 563 idmap_lookup(struct svc_rqst *rqstp, argument 587 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, argument 599 strlcpy(key.authname, rqstp->rq_client->name, sizeof(key.authname)); 600 ret = idmap_lookup(rqstp, nametoid_lookup, &key, &nametoid_cache, &item); 611 idmap_id_to_name(struct svc_rqst *rqstp, int type, uid_t id, char *name) argument 619 strlcpy(key.authname, rqstp->rq_client->name, sizeof(key.authname)); 620 ret = idmap_lookup(rqstp, idtoname_lookup, &key, &idtoname_cache, &item); 633 nfsd_map_name_to_uid(struct svc_rqst *rqstp, const char *name, size_t namelen, argument 636 return idmap_name_to_id(rqstp, IDMAP_TYPE_USER, name, namelen, id); 640 nfsd_map_name_to_gid(struct svc_rqst *rqstp, cons argument 647 nfsd_map_uid_to_name(struct svc_rqst *rqstp, __u32 id, char *name) argument 653 nfsd_map_gid_to_name(struct svc_rqst *rqstp, __u32 id, char *name) argument [all...] |
H A D | nfs4state.c | 709 nfsd4_setclientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, argument 712 struct sockaddr_in *sin = svc_addr_in(rqstp); 742 if (!cmp_creds(&conf->cl_cred, &rqstp->rq_cred) 763 copy_cred(&new->cl_cred,&rqstp->rq_cred); 795 copy_cred(&new->cl_cred,&rqstp->rq_cred); 814 copy_cred(&new->cl_cred,&rqstp->rq_cred); 841 copy_cred(&new->cl_cred,&rqstp->rq_cred); 870 nfsd4_setclientid_confirm(struct svc_rqst *rqstp, argument 874 struct sockaddr_in *sin = svc_addr_in(rqstp); 924 if (!cmp_creds(&conf->cl_cred,&rqstp 1563 nfs4_new_open(struct svc_rqst *rqstp, struct nfs4_stateid **stpp, struct nfs4_delegation *dp, struct svc_fh *cur_fh, int flags) argument 1592 nfsd4_truncate(struct svc_rqst *rqstp, struct svc_fh *fh, struct nfsd4_open *open) argument 1607 nfs4_upgrade_open(struct svc_rqst *rqstp, struct svc_fh *cur_fh, struct nfs4_stateid *stp, struct nfsd4_open *open) argument 1726 nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open) argument 1820 nfsd4_renew(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, clientid_t *clid) argument 2229 nfsd4_open_confirm(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open_confirm *oc) argument 2299 nfsd4_open_downgrade(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open_downgrade *od) argument 2357 nfsd4_close(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_close *close) argument 2398 nfsd4_delegreturn(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_delegreturn *dr) argument 2631 nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_lock *lock) argument 2789 nfsd4_lockt(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_lockt *lockt) argument 2875 nfsd4_locku(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_locku *locku) argument 2969 nfsd4_release_lockowner(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_release_lockowner *rlockowner) argument [all...] |
H A D | nfs4callback.c | 301 nfs4_xdr_dec_cb_recall(struct rpc_rqst *rqstp, __be32 *p) argument 307 xdr_init_decode(&xdr, &rqstp->rq_rcv_buf, p);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/ |
H A D | auth.c | 356 rpcauth_wrap_req(struct rpc_task *task, kxdrproc_t encode, void *rqstp, argument 364 return cred->cr_ops->crwrap_req(task, encode, rqstp, data, obj); 366 return encode(rqstp, data, obj); 370 rpcauth_unwrap_resp(struct rpc_task *task, kxdrproc_t decode, void *rqstp, argument 378 return cred->cr_ops->crunwrap_resp(task, decode, rqstp, 381 return decode(rqstp, data, obj);
|
H A D | cache.c | 192 struct cache_head *h, struct cache_req *rqstp) 214 if (rqstp == NULL) { 241 if (cache_defer_req(rqstp, h) != 0) 191 cache_check(struct cache_detail *detail, struct cache_head *h, struct cache_req *rqstp) argument
|
H A D | clnt.c | 1407 static int rpcproc_encode_null(void *rqstp, __be32 *data, void *obj) argument 1412 static int rpcproc_decode_null(void *rqstp, __be32 *data, void *obj) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/lockd/ |
H A D | svclock.c | 175 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_file *file, argument 183 host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len); 210 block->b_daemon = rqstp->rq_server; 339 nlmsvc_defer_lock_rqst(struct svc_rqst *rqstp, struct nlm_block *block) argument 347 block->b_cache_req = &rqstp->rq_chandle; 348 if (rqstp->rq_chandle.defer) { 350 rqstp->rq_chandle.defer(block->b_cache_req); 365 nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file, argument 388 block = nlmsvc_create_block(rqstp, file, lock, cookie); 431 ret = nlmsvc_defer_lock_rqst(rqstp, bloc 460 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, struct nlm_lock *lock, struct nlm_lock *conflock, struct nlm_cookie *cookie) argument [all...] |
H A D | host.c | 191 nlmsvc_lookup_host(struct svc_rqst *rqstp, argument 194 return nlm_lookup_host(1, svc_addr_in(rqstp), 195 rqstp->rq_prot, rqstp->rq_vers,
|
H A D | svcsubs.c | 73 nlm_lookup_file(struct svc_rqst *rqstp, struct nlm_file **result, argument 110 if ((nfserr = nlmsvc_ops->fopen(rqstp, f, &file->f_file)) != 0) {
|