Searched refs:txpeer (Results 1 – 1 of 1) sorted by relevance
780 lnet_peer_t *txpeer = msg->msg_txpeer; in lnet_return_tx_credits_locked() local784 struct lnet_ni *ni = txpeer->lp_ni; in lnet_return_tx_credits_locked()810 LASSERT((txpeer->lp_txcredits < 0) == in lnet_return_tx_credits_locked()811 !list_empty(&txpeer->lp_txq)); in lnet_return_tx_credits_locked()813 txpeer->lp_txqnob -= msg->msg_len + sizeof(lnet_hdr_t); in lnet_return_tx_credits_locked()814 LASSERT(txpeer->lp_txqnob >= 0); in lnet_return_tx_credits_locked()816 txpeer->lp_txcredits++; in lnet_return_tx_credits_locked()817 if (txpeer->lp_txcredits <= 0) { in lnet_return_tx_credits_locked()818 msg2 = list_entry(txpeer->lp_txq.next, in lnet_return_tx_credits_locked()822 LASSERT(msg2->msg_txpeer == txpeer); in lnet_return_tx_credits_locked()[all …]