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