Lines Matching refs:argp

157 	struct nlm_args *argp = rqstp->rq_argp;
160 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
164 if (!svcxdr_decode_lock(xdr, &argp->lock))
167 argp->lock.fl.c.flc_type = F_WRLCK;
175 struct nlm_args *argp = rqstp->rq_argp;
178 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
180 if (xdr_stream_decode_bool(xdr, &argp->block) < 0)
184 if (!svcxdr_decode_lock(xdr, &argp->lock))
187 argp->lock.fl.c.flc_type = F_WRLCK;
188 if (xdr_stream_decode_bool(xdr, &argp->reclaim) < 0)
190 if (xdr_stream_decode_u32(xdr, &argp->state) < 0)
192 argp->monitor = 1; /* monitor client by default */
200 struct nlm_args *argp = rqstp->rq_argp;
203 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
205 if (xdr_stream_decode_bool(xdr, &argp->block) < 0)
209 if (!svcxdr_decode_lock(xdr, &argp->lock))
212 argp->lock.fl.c.flc_type = F_WRLCK;
220 struct nlm_args *argp = rqstp->rq_argp;
222 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
224 if (!svcxdr_decode_lock(xdr, &argp->lock))
226 argp->lock.fl.c.flc_type = F_UNLCK;
247 struct nlm_reboot *argp = rqstp->rq_argp;
258 argp->len = len;
259 argp->mon = (char *)p;
260 if (xdr_stream_decode_u32(xdr, &argp->state) < 0)
265 memcpy(&argp->priv.data, p, sizeof(argp->priv.data));
273 struct nlm_args *argp = rqstp->rq_argp;
274 struct nlm_lock *lock = &argp->lock;
280 if (!svcxdr_decode_cookie(xdr, &argp->cookie))
289 if (xdr_stream_decode_u32(xdr, &argp->fsm_mode) < 0)
291 if (xdr_stream_decode_u32(xdr, &argp->fsm_access) < 0)
300 struct nlm_args *argp = rqstp->rq_argp;
301 struct nlm_lock *lock = &argp->lock;
305 if (xdr_stream_decode_u32(xdr, &argp->state) < 0)