Lines Matching defs:resp
140 nlm4_encode_testres(__be32 *p, struct nlm_res *resp)
144 dprintk("xdr: before encode_testres (p %p resp %p)\n", p, resp);
145 if (!(p = nlm4_encode_cookie(p, &resp->cookie)))
147 *p++ = resp->status;
149 if (resp->status == nlm_lck_denied) {
150 struct file_lock *fl = &resp->lock.fl;
153 *p++ = htonl(resp->lock.svid);
156 if (!(p = xdr_encode_netobj(p, &resp->lock.oh)))
168 resp->status, (int)resp->lock.svid, fl->fl_type,
172 dprintk("xdr: after encode_testres (p %p resp %p)\n", p, resp);
201 struct nlm_res *resp = rqstp->rq_resp;
203 if (!(p = nlm4_encode_testres(p, resp)))
282 struct nlm_res *resp = rqstp->rq_resp;
284 if (!(p = nlm4_encode_cookie(p, &resp->cookie)))
286 *p++ = resp->status;
294 struct nlm_res *resp = rqstp->rq_resp;
296 if (!(p = nlm4_encode_cookie(p, &resp->cookie)))
298 *p++ = resp->status;
331 struct nlm_res *resp = rqstp->rq_argp;
333 if (!(p = nlm4_decode_cookie(p, &resp->cookie)))
335 resp->status = *p++;