Searched refs:ibc_credits (Results 1 – 2 of 2) sorted by relevance
535 int ibc_credits; /* # credits I have */ member713 conn->ibc_credits == 0); in kiblnd_need_noop()718 conn->ibc_credits == 0) /* no credit */ in kiblnd_need_noop()721 if (conn->ibc_credits == 1 && /* last credit reserved for */ in kiblnd_need_noop()726 return (list_empty(&conn->ibc_tx_queue) || conn->ibc_credits == 1); in kiblnd_need_noop()
323 if (conn->ibc_credits + credits > in kiblnd_handle_rx()325 rc2 = conn->ibc_credits; in kiblnd_handle_rx()338 conn->ibc_credits += credits; in kiblnd_handle_rx()771 LASSERT(conn->ibc_credits >= 0); in kiblnd_post_tx_locked()772 LASSERT(conn->ibc_credits <= IBLND_MSG_QUEUE_SIZE(ver)); in kiblnd_post_tx_locked()781 if (credit != 0 && conn->ibc_credits == 0) { /* no credits */ in kiblnd_post_tx_locked()788 conn->ibc_credits == 1 && /* last credit reserved */ in kiblnd_post_tx_locked()818 conn->ibc_credits -= credit; in kiblnd_post_tx_locked()851 conn->ibc_credits += credit; in kiblnd_post_tx_locked()2360 conn->ibc_credits = IBLND_MSG_QUEUE_SIZE(version); in kiblnd_passive_connect()[all …]