Lines Matching defs:resp
148 nlm_encode_testres(__be32 *p, struct nlm_res *resp)
152 if (!(p = nlm_encode_cookie(p, &resp->cookie)))
154 *p++ = resp->status;
156 if (resp->status == nlm_lck_denied) {
157 struct file_lock *fl = &resp->lock.fl;
160 *p++ = htonl(resp->lock.svid);
163 if (!(p = xdr_encode_netobj(p, &resp->lock.oh)))
204 struct nlm_res *resp = rqstp->rq_resp;
206 if (!(p = nlm_encode_testres(p, resp)))
285 struct nlm_res *resp = rqstp->rq_resp;
287 if (!(p = nlm_encode_cookie(p, &resp->cookie)))
289 *p++ = resp->status;
297 struct nlm_res *resp = rqstp->rq_resp;
299 if (!(p = nlm_encode_cookie(p, &resp->cookie)))
301 *p++ = resp->status;
334 struct nlm_res *resp = rqstp->rq_argp;
336 if (!(p = nlm_decode_cookie(p, &resp->cookie)))
338 resp->status = *p++;