Lines Matching refs:resp
242 struct nlm_res *resp = &req->a_res; in nlmclnt_call() local
252 msg.rpc_resp = resp; in nlmclnt_call()
288 if (resp->status == NLM_LCK_DENIED_GRACE_PERIOD) { in nlmclnt_call()
296 dprintk("lockd: server returns status %d\n", resp->status); in nlmclnt_call()
325 struct nlm_res *resp = &req->a_res; in nlmsvc_async_call() local
339 msg.rpc_resp =resp; in nlmsvc_async_call()
352 struct nlm_res *resp = &req->a_res; in nlmclnt_async_call() local
367 msg.rpc_resp =resp; in nlmclnt_async_call()
446 struct nlm_res *resp = &req->a_res; in nlmclnt_lock() local
457 if (resp->status != NLM_LCK_BLOCKED) in nlmclnt_lock()
459 status = nlmclnt_block(host, fl, &resp->status); in nlmclnt_lock()
463 } while (resp->status == NLM_LCK_BLOCKED && req->a_args.block); in nlmclnt_lock()
465 if (resp->status == NLM_LCK_GRANTED) { in nlmclnt_lock()
473 return nlm_stat_to_errno(resp->status); in nlmclnt_lock()
525 struct nlm_res *resp = &req->a_res; in nlmclnt_unlock() local
540 if (resp->status == NLM_LCK_GRANTED) in nlmclnt_unlock()
543 if (resp->status != NLM_LCK_DENIED_NOLOCKS) in nlmclnt_unlock()
544 printk("lockd: unexpected unlock status: %d\n", resp->status); in nlmclnt_unlock()