Lines Matching refs:argp
183 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_testargs() local
186 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_testargs()
190 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_testargs()
193 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs()
211 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_lockargs() local
214 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_lockargs()
216 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs()
218 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_lockargs()
221 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs()
222 argp->reclaim = ntohl(*p++); in nlm4svc_decode_lockargs()
223 argp->state = ntohl(*p++); in nlm4svc_decode_lockargs()
224 argp->monitor = 1; /* monitor client by default */ in nlm4svc_decode_lockargs()
232 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_cancargs() local
235 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_cancargs()
237 argp->block = ntohl(*p++); in nlm4svc_decode_cancargs()
239 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_cancargs()
242 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
249 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_unlockargs() local
251 if (!(p = nlm4_decode_cookie(p, &argp->cookie)) in nlm4svc_decode_unlockargs()
252 || !(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_unlockargs()
254 argp->lock.fl.fl_type = F_UNLCK; in nlm4svc_decode_unlockargs()
261 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_shareargs() local
262 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_shareargs()
268 if (!(p = nlm4_decode_cookie(p, &argp->cookie)) in nlm4svc_decode_shareargs()
274 argp->fsm_mode = ntohl(*p++); in nlm4svc_decode_shareargs()
275 argp->fsm_access = ntohl(*p++); in nlm4svc_decode_shareargs()
305 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_notify() local
306 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_notify()
311 argp->state = ntohl(*p++); in nlm4svc_decode_notify()
318 struct nlm_reboot *argp = rqstp->rq_argp; in nlm4svc_decode_reboot() local
320 if (!(p = xdr_decode_string_inplace(p, &argp->mon, &argp->len, SM_MAXSTRLEN))) in nlm4svc_decode_reboot()
322 argp->state = ntohl(*p++); in nlm4svc_decode_reboot()
323 memcpy(&argp->priv.data, p, sizeof(argp->priv.data)); in nlm4svc_decode_reboot()