Home
last modified time | relevance | path

Searched refs:argp (Results 1 – 25 of 35) sorted by relevance

12

/linux-2.4.37.9/fs/nfsd/
Dnfs3proc.c59 nfsd3_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsd3_proc_null() argument
68 nfsd3_proc_getattr(struct svc_rqst *rqstp, struct nfsd_fhandle *argp, in nfsd3_proc_getattr() argument
74 SVCFH_fmt(&argp->fh)); in nfsd3_proc_getattr()
76 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr()
85 nfsd3_proc_setattr(struct svc_rqst *rqstp, struct nfsd3_sattrargs *argp, in nfsd3_proc_setattr() argument
91 SVCFH_fmt(&argp->fh)); in nfsd3_proc_setattr()
93 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr()
94 nfserr = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr()
95 argp->check_guard, argp->guardtime); in nfsd3_proc_setattr()
103 nfsd3_proc_lookup(struct svc_rqst *rqstp, struct nfsd3_diropargs *argp, in nfsd3_proc_lookup() argument
[all …]
Dnfsproc.c42 nfsd_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsd_proc_null() argument
52 nfsd_proc_getattr(struct svc_rqst *rqstp, struct nfsd_fhandle *argp, in nfsd_proc_getattr() argument
55 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh)); in nfsd_proc_getattr()
57 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr()
66 nfsd_proc_setattr(struct svc_rqst *rqstp, struct nfsd_sattrargs *argp, in nfsd_proc_setattr() argument
70 SVCFH_fmt(&argp->fh), in nfsd_proc_setattr()
71 argp->attrs.ia_valid, (long) argp->attrs.ia_size); in nfsd_proc_setattr()
73 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr()
74 return nfsd_setattr(rqstp, &resp->fh, &argp->attrs,0, (time_t)0); in nfsd_proc_setattr()
84 nfsd_proc_lookup(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, in nfsd_proc_lookup() argument
[all …]
Dnfsctl.c223 struct nfsctl_arg * argp = opaque_argp; in handle_sys_nfsservctl() local
242 if (!access_ok(VERIFY_READ, argp, argsize) in handle_sys_nfsservctl()
253 copy_from_user(arg, argp, argsize); in handle_sys_nfsservctl()
/linux-2.4.37.9/fs/lockd/
Dsvc4proc.c31 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_retrieve_args() argument
36 struct nlm_lock *lock = &argp->lock; in nlm4svc_retrieve_args()
54 || (argp->monitor && !host->h_monitored && nsm_monitor(host) < 0)) in nlm4svc_retrieve_args()
83 nlm4svc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nlm4svc_proc_null() argument
93 nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_proc_test() argument
100 resp->cookie = argp->cookie; in nlm4svc_proc_test()
109 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_test()
113 resp->status = nlmsvc_testlock(file, &argp->lock, &resp->lock); in nlm4svc_proc_test()
122 nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_proc_lock() argument
130 resp->cookie = argp->cookie; in nlm4svc_proc_lock()
[all …]
Dsvcproc.c60 nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_retrieve_args() argument
65 struct nlm_lock *lock = &argp->lock; in nlmsvc_retrieve_args()
83 || (argp->monitor && !host->h_monitored && nsm_monitor(host) < 0)) in nlmsvc_retrieve_args()
110 nlmsvc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nlmsvc_proc_null() argument
120 nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_proc_test() argument
127 resp->cookie = argp->cookie; in nlmsvc_proc_test()
136 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_test()
140 resp->status = cast_status(nlmsvc_testlock(file, &argp->lock, &resp->lock)); in nlmsvc_proc_test()
150 nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_proc_lock() argument
158 resp->cookie = argp->cookie; in nlmsvc_proc_lock()
[all …]
Dxdr.c243 nlmsvc_decode_testargs(struct svc_rqst *rqstp, u32 *p, nlm_args *argp) in nlmsvc_decode_testargs() argument
247 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_testargs()
251 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_testargs()
254 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs()
268 nlmsvc_decode_lockargs(struct svc_rqst *rqstp, u32 *p, nlm_args *argp) in nlmsvc_decode_lockargs() argument
272 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_lockargs()
274 argp->block = ntohl(*p++); in nlmsvc_decode_lockargs()
276 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_lockargs()
279 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs()
280 argp->reclaim = ntohl(*p++); in nlmsvc_decode_lockargs()
[all …]
Dxdr4.c249 nlm4svc_decode_testargs(struct svc_rqst *rqstp, u32 *p, nlm_args *argp) in nlm4svc_decode_testargs() argument
253 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_testargs()
257 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_testargs()
260 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs()
274 nlm4svc_decode_lockargs(struct svc_rqst *rqstp, u32 *p, nlm_args *argp) in nlm4svc_decode_lockargs() argument
278 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_lockargs()
280 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs()
282 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_lockargs()
285 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs()
286 argp->reclaim = ntohl(*p++); in nlm4svc_decode_lockargs()
[all …]
Dsvcshare.c28 struct nlm_args *argp) in nlmsvc_share_file() argument
31 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_share_file()
37 if ((argp->fsm_access & share->s_mode) in nlmsvc_share_file()
38 || (argp->fsm_mode & share->s_access )) in nlmsvc_share_file()
59 share->s_access = argp->fsm_access; in nlmsvc_share_file()
60 share->s_mode = argp->fsm_mode; in nlmsvc_share_file()
69 struct nlm_args *argp) in nlmsvc_unshare_file() argument
72 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_unshare_file()
Dmon.c144 xdr_encode_mon(struct rpc_rqst *rqstp, u32 *p, struct nsm_args *argp) in xdr_encode_mon() argument
147 u32 addr = ntohl(argp->addr); in xdr_encode_mon()
150 htonl(argp->addr), htonl(argp->prog), in xdr_encode_mon()
151 htonl(argp->vers), htonl(argp->proc)); in xdr_encode_mon()
164 *p++ = htonl(argp->prog); in xdr_encode_mon()
165 *p++ = htonl(argp->vers); in xdr_encode_mon()
166 *p++ = htonl(argp->proc); in xdr_encode_mon()
170 *p++ = argp->addr; in xdr_encode_mon()
Dclntproc.c50 struct nlm_args *argp = &req->a_args; in nlmclnt_setlockargs() local
51 struct nlm_lock *lock = &argp->lock; in nlmclnt_setlockargs()
53 nlmclnt_next_cookie(&argp->cookie); in nlmclnt_setlockargs()
54 argp->state = nsm_local_state; in nlmclnt_setlockargs()
241 struct nlm_args *argp = &req->a_args; in nlmclnt_call() local
243 struct file *filp = argp->lock.fl.fl_file; in nlmclnt_call()
251 msg.rpc_argp = argp; in nlmclnt_call()
259 if (host->h_reclaiming && !argp->reclaim) { in nlmclnt_call()
290 if (argp->reclaim) { in nlmclnt_call()
324 struct nlm_args *argp = &req->a_args; in nlmsvc_async_call() local
[all …]
/linux-2.4.37.9/net/sunrpc/
Dsvcauth.c87 struct svc_buf *argp = &rqstp->rq_argbuf; in svcauth_null() local
90 if ((argp->len -= 3) < 0) { in svcauth_null()
94 if (*(argp->buf)++ != 0) { /* we already skipped the flavor */ in svcauth_null()
99 if (*(argp->buf)++ != RPC_AUTH_NULL || *(argp->buf)++ != 0) { in svcauth_null()
119 struct svc_buf *argp = &rqstp->rq_argbuf; in svcauth_unix() local
122 u32 *bufp = argp->buf, slen, i; in svcauth_unix()
123 int len = argp->len; in svcauth_unix()
154 argp->buf = bufp; in svcauth_unix()
155 argp->len = len; in svcauth_unix()
Dsvcauth_des.c59 struct svc_buf *argp = &rqstp->rq_argbuf; in svcauth_des() local
65 u32 *p = argp->buf; in svcauth_des()
66 int len = argp->len, slen, i; in svcauth_des()
70 if ((argp->len -= 3) < 0) { in svcauth_des()
Dsvc.c233 struct svc_buf * argp = &rqstp->rq_argbuf; in svc_process() local
241 bufp = argp->buf; in svc_process()
243 if (argp->len < 5) in svc_process()
262 argp->buf += 5; in svc_process()
263 argp->len -= 5; in svc_process()
364 printk("svc: short len %d, dropping request\n", argp->len); in svc_process()
/linux-2.4.37.9/include/linux/sunrpc/
Dsvc.h84 #define svc_getlong(argp, val) { (val) = *(argp)->buf++; (argp)->len--; } argument
166 typedef int (*svc_procfunc)(struct svc_rqst *, void *argp, void *resp);
Dclnt.h132 int rpc_call(struct rpc_clnt *clnt, u32 proc, void *argp, void *resp, int flags) in rpc_call() argument
134 struct rpc_message msg = { proc, argp, resp, NULL }; in rpc_call()
/linux-2.4.37.9/fs/
Dfilesystems.c20 asmlinkage sys_nfsservctl(int cmd, void *argp, void *resp) in sys_nfsservctl() argument
31 ret = nfsd_linkage->do_nfsservctl(cmd, argp, resp); in sys_nfsservctl()
/linux-2.4.37.9/arch/sparc64/math-emu/
Dmath.c161 } *argp; typedef
334 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_mathemu()
347 case 1: rs1 = (argp)&f->regs[freg]; in do_mathemu()
350 rs1 = (argp)&zero; in do_mathemu()
365 case 1: rs2 = (argp)&f->regs[freg]; in do_mathemu()
368 rs2 = (argp)&zero; in do_mathemu()
383 case 1: rd = (argp)&f->regs[freg]; in do_mathemu()
/linux-2.4.37.9/drivers/char/
Dgeodewdt.c136 void __user *argp = (void __user *)arg; in geodewdt_ioctl() local
137 int __user *p = argp; in geodewdt_ioctl()
149 return copy_to_user(argp, &ident, in geodewdt_ioctl()
Dwdt83627.c218 void *argp = (void *)arg; in wdt_ioctl() local
219 int *p = argp; in wdt_ioctl()
229 if (copy_to_user(argp, &ident, sizeof(ident))) in wdt_ioctl()
/linux-2.4.37.9/arch/sparc/math-emu/
Dmath.c269 } *argp; typedef
280 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_one_mathemu()
365 rs1 = (argp)&fregs[freg]; in do_one_mathemu()
386 rs2 = (argp)&fregs[freg]; in do_one_mathemu()
/linux-2.4.37.9/include/linux/nfsd/
Dinterface.h19 long (*do_nfsservctl)(int cmd, void *argp, void *resp);
/linux-2.4.37.9/drivers/scsi/
DcpqfcTSioctl.h21 void *argp; /* Argument pointer */ member
/linux-2.4.37.9/fs/nfs/
Dnfs3proc.c40 nfs3_rpc_call_wrapper(struct rpc_clnt *clnt, u32 proc, void *argp, void *resp, int flags) in nfs3_rpc_call_wrapper() argument
42 struct rpc_message msg = { proc, argp, resp, NULL }; in nfs3_rpc_call_wrapper()
46 #define rpc_call(clnt, proc, argp, resp, flags) \ argument
47 nfs3_rpc_call_wrapper(clnt, proc, argp, resp, flags)
/linux-2.4.37.9/include/linux/
Distallion.h68 void *argp; member
/linux-2.4.37.9/drivers/isdn/tpam/
Dtpam_commands.c48 unsigned long argp; in tpam_command() local
63 argp = c->parm.userdata; in tpam_command()
67 argp); in tpam_command()
70 argp); in tpam_command()

12