Lines Matching refs:argp
186 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_testargs() local
189 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_testargs()
193 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_testargs()
196 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs()
214 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_lockargs() local
217 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_lockargs()
219 argp->block = ntohl(*p++); in nlmsvc_decode_lockargs()
221 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_lockargs()
224 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs()
225 argp->reclaim = ntohl(*p++); in nlmsvc_decode_lockargs()
226 argp->state = ntohl(*p++); in nlmsvc_decode_lockargs()
227 argp->monitor = 1; /* monitor client by default */ in nlmsvc_decode_lockargs()
235 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_cancargs() local
238 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_cancargs()
240 argp->block = ntohl(*p++); in nlmsvc_decode_cancargs()
242 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_cancargs()
245 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_cancargs()
252 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_unlockargs() local
254 if (!(p = nlm_decode_cookie(p, &argp->cookie)) in nlmsvc_decode_unlockargs()
255 || !(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_unlockargs()
257 argp->lock.fl.fl_type = F_UNLCK; in nlmsvc_decode_unlockargs()
264 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_shareargs() local
265 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_shareargs()
271 if (!(p = nlm_decode_cookie(p, &argp->cookie)) in nlmsvc_decode_shareargs()
277 argp->fsm_mode = ntohl(*p++); in nlmsvc_decode_shareargs()
278 argp->fsm_access = ntohl(*p++); in nlmsvc_decode_shareargs()
308 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_notify() local
309 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_notify()
314 argp->state = ntohl(*p++); in nlmsvc_decode_notify()
321 struct nlm_reboot *argp = rqstp->rq_argp; in nlmsvc_decode_reboot() local
323 if (!(p = xdr_decode_string_inplace(p, &argp->mon, &argp->len, SM_MAXSTRLEN))) in nlmsvc_decode_reboot()
325 argp->state = ntohl(*p++); in nlmsvc_decode_reboot()
326 memcpy(&argp->priv.data, p, sizeof(argp->priv.data)); in nlmsvc_decode_reboot()