Lines Matching refs:resp
150 nlm_encode_testres(__be32 *p, struct nlm_res *resp) in nlm_encode_testres() argument
154 if (!(p = nlm_encode_cookie(p, &resp->cookie))) in nlm_encode_testres()
156 *p++ = resp->status; in nlm_encode_testres()
158 if (resp->status == nlm_lck_denied) { in nlm_encode_testres()
159 struct file_lock *fl = &resp->lock.fl; in nlm_encode_testres()
162 *p++ = htonl(resp->lock.svid); in nlm_encode_testres()
165 if (!(p = xdr_encode_netobj(p, &resp->lock.oh))) in nlm_encode_testres()
206 struct nlm_res *resp = rqstp->rq_resp; in nlmsvc_encode_testres() local
208 if (!(p = nlm_encode_testres(p, resp))) in nlmsvc_encode_testres()
288 struct nlm_res *resp = rqstp->rq_resp; in nlmsvc_encode_shareres() local
290 if (!(p = nlm_encode_cookie(p, &resp->cookie))) in nlmsvc_encode_shareres()
292 *p++ = resp->status; in nlmsvc_encode_shareres()
300 struct nlm_res *resp = rqstp->rq_resp; in nlmsvc_encode_res() local
302 if (!(p = nlm_encode_cookie(p, &resp->cookie))) in nlmsvc_encode_res()
304 *p++ = resp->status; in nlmsvc_encode_res()
337 struct nlm_res *resp = rqstp->rq_argp; in nlmsvc_decode_res() local
339 if (!(p = nlm_decode_cookie(p, &resp->cookie))) in nlmsvc_decode_res()
341 resp->status = *p++; in nlmsvc_decode_res()