Lines Matching refs:argp

185 	struct nlm_args *argp = rqstp->rq_argp;  in nlm4svc_decode_testargs()  local
188 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_testargs()
192 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_testargs()
195 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs()
213 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_lockargs() local
216 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_lockargs()
218 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs()
220 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_lockargs()
223 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs()
224 argp->reclaim = ntohl(*p++); in nlm4svc_decode_lockargs()
225 argp->state = ntohl(*p++); in nlm4svc_decode_lockargs()
226 argp->monitor = 1; /* monitor client by default */ in nlm4svc_decode_lockargs()
234 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_cancargs() local
237 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_cancargs()
239 argp->block = ntohl(*p++); in nlm4svc_decode_cancargs()
241 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_cancargs()
244 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
251 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_unlockargs() local
253 if (!(p = nlm4_decode_cookie(p, &argp->cookie)) in nlm4svc_decode_unlockargs()
254 || !(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_unlockargs()
256 argp->lock.fl.fl_type = F_UNLCK; in nlm4svc_decode_unlockargs()
263 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_shareargs() local
264 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_shareargs()
271 if (!(p = nlm4_decode_cookie(p, &argp->cookie)) in nlm4svc_decode_shareargs()
277 argp->fsm_mode = ntohl(*p++); in nlm4svc_decode_shareargs()
278 argp->fsm_access = ntohl(*p++); in nlm4svc_decode_shareargs()
308 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_notify() local
309 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_notify()
314 argp->state = ntohl(*p++); in nlm4svc_decode_notify()
321 struct nlm_reboot *argp = rqstp->rq_argp; in nlm4svc_decode_reboot() local
323 if (!(p = xdr_decode_string_inplace(p, &argp->mon, &argp->len, SM_MAXSTRLEN))) in nlm4svc_decode_reboot()
325 argp->state = ntohl(*p++); in nlm4svc_decode_reboot()
326 memcpy(&argp->priv.data, p, sizeof(argp->priv.data)); in nlm4svc_decode_reboot()