Lines Matching refs:rqstp
215 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, in nlmsvc_create_block() argument
245 block->b_daemon = rqstp->rq_server; in nlmsvc_create_block()
372 nlmsvc_defer_lock_rqst(struct svc_rqst *rqstp, struct nlm_block *block) in nlmsvc_defer_lock_rqst() argument
380 block->b_cache_req = &rqstp->rq_chandle; in nlmsvc_defer_lock_rqst()
381 if (rqstp->rq_chandle.defer) { in nlmsvc_defer_lock_rqst()
383 rqstp->rq_chandle.defer(block->b_cache_req); in nlmsvc_defer_lock_rqst()
398 nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_lock() argument
421 block = nlmsvc_create_block(rqstp, host, file, lock, cookie); in nlmsvc_lock()
446 if (locks_in_grace(SVC_NET(rqstp)) && !reclaim) { in nlmsvc_lock()
450 if (reclaim && !locks_in_grace(SVC_NET(rqstp))) { in nlmsvc_lock()
480 ret = nlmsvc_defer_lock_rqst(rqstp, block); in nlmsvc_lock()
505 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_testlock() argument
519 if (locks_in_grace(SVC_NET(rqstp))) { in nlmsvc_testlock()