• Home
  • Raw
  • Download

Lines Matching refs:argp

182 nlm4svc_decode_testargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp)  in nlm4svc_decode_testargs()  argument
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()
207 nlm4svc_decode_lockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_lockargs() argument
211 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_lockargs()
213 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs()
215 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_lockargs()
218 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs()
219 argp->reclaim = ntohl(*p++); in nlm4svc_decode_lockargs()
220 argp->state = ntohl(*p++); in nlm4svc_decode_lockargs()
221 argp->monitor = 1; /* monitor client by default */ in nlm4svc_decode_lockargs()
227 nlm4svc_decode_cancargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_cancargs() argument
231 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_cancargs()
233 argp->block = ntohl(*p++); in nlm4svc_decode_cancargs()
235 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_cancargs()
238 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
243 nlm4svc_decode_unlockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_unlockargs() argument
245 if (!(p = nlm4_decode_cookie(p, &argp->cookie)) in nlm4svc_decode_unlockargs()
246 || !(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_unlockargs()
248 argp->lock.fl.fl_type = F_UNLCK; in nlm4svc_decode_unlockargs()
253 nlm4svc_decode_shareargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_shareargs() argument
255 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_shareargs()
262 if (!(p = nlm4_decode_cookie(p, &argp->cookie)) in nlm4svc_decode_shareargs()
268 argp->fsm_mode = ntohl(*p++); in nlm4svc_decode_shareargs()
269 argp->fsm_access = ntohl(*p++); in nlm4svc_decode_shareargs()
293 nlm4svc_decode_notify(struct svc_rqst *rqstp, __be32 *p, struct nlm_args *argp) in nlm4svc_decode_notify() argument
295 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_notify()
300 argp->state = ntohl(*p++); in nlm4svc_decode_notify()
305 nlm4svc_decode_reboot(struct svc_rqst *rqstp, __be32 *p, struct nlm_reboot *argp) in nlm4svc_decode_reboot() argument
307 if (!(p = xdr_decode_string_inplace(p, &argp->mon, &argp->len, SM_MAXSTRLEN))) in nlm4svc_decode_reboot()
309 argp->state = ntohl(*p++); in nlm4svc_decode_reboot()
310 memcpy(&argp->priv.data, p, sizeof(argp->priv.data)); in nlm4svc_decode_reboot()