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