Lines Matching refs:mr
196 LOCKD_MSG_REQUEST *mr;
198 mr = TAILQ_LAST(&nfs_pendlockq, nfs_lock_msg_queue);
199 if (!mr || (msgreq->lmr_msg.lm_xid > mr->lmr_msg.lm_xid)) {
205 while (mr && (msgreq->lmr_msg.lm_xid > mr->lmr_msg.lm_xid)) {
206 mr = TAILQ_PREV(mr, nfs_lock_msg_queue, lmr_next);
208 if (mr) {
209 TAILQ_INSERT_AFTER(&nfs_pendlockq, mr, msgreq, lmr_next);
240 LOCKD_MSG_REQUEST *mr;
242 TAILQ_FOREACH(mr, &nfs_pendlockq, lmr_next) {
243 if (mr->lmr_msg.lm_xid == lockxid)
244 return mr;
245 if (mr->lmr_msg.lm_xid > lockxid)
248 return mr;
299 LOCKD_MSG_REQUEST *mr;
303 TAILQ_FOREACH(mr, &nfs_pendlockq, lmr_next) {
304 if (!nfs_lockdmsg_compare_to_answer(mr, ansp))
307 return mr;
317 LOCKD_MSG_REQUEST *mr;
337 if (!(mr = TAILQ_LAST(&nfs_pendlockq, nfs_lock_msg_queue)) ||
338 (mr->lmr_msg.lm_xid < nfs_lockxid)) {