Lines Matching refs:argp

152 	struct nlm_args *argp = rqstp->rq_argp;
155 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
159 if (!svcxdr_decode_lock(xdr, &argp->lock))
162 argp->lock.fl.c.flc_type = F_WRLCK;
170 struct nlm_args *argp = rqstp->rq_argp;
173 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
175 if (xdr_stream_decode_bool(xdr, &argp->block) < 0)
179 if (!svcxdr_decode_lock(xdr, &argp->lock))
182 argp->lock.fl.c.flc_type = F_WRLCK;
183 if (xdr_stream_decode_bool(xdr, &argp->reclaim) < 0)
185 if (xdr_stream_decode_u32(xdr, &argp->state) < 0)
187 argp->monitor = 1; /* monitor client by default */
195 struct nlm_args *argp = rqstp->rq_argp;
198 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
200 if (xdr_stream_decode_bool(xdr, &argp->block) < 0)
204 if (!svcxdr_decode_lock(xdr, &argp->lock))
207 argp->lock.fl.c.flc_type = F_WRLCK;
215 struct nlm_args *argp = rqstp->rq_argp;
217 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
219 if (!svcxdr_decode_lock(xdr, &argp->lock))
221 argp->lock.fl.c.flc_type = F_UNLCK;
242 struct nlm_reboot *argp = rqstp->rq_argp;
253 argp->len = len;
254 argp->mon = (char *)p;
255 if (xdr_stream_decode_u32(xdr, &argp->state) < 0)
260 memcpy(&argp->priv.data, p, sizeof(argp->priv.data));
268 struct nlm_args *argp = rqstp->rq_argp;
269 struct nlm_lock *lock = &argp->lock;
275 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
284 if (xdr_stream_decode_u32(xdr, &argp->fsm_mode) < 0)
286 if (xdr_stream_decode_u32(xdr, &argp->fsm_access) < 0)
295 struct nlm_args *argp = rqstp->rq_argp;
296 struct nlm_lock *lock = &argp->lock;
300 if (xdr_stream_decode_u32(xdr, &argp->state) < 0)