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