Searched refs:ibc_credits (Results 1 – 2 of 2) sorted by relevance
575 int ibc_credits; /* # credits I have */ member750 conn->ibc_credits == 0); in kiblnd_need_noop()755 conn->ibc_credits == 0) /* no credit */ in kiblnd_need_noop()758 if (conn->ibc_credits == 1 && /* last credit reserved for */ in kiblnd_need_noop()763 return (list_empty(&conn->ibc_tx_queue) || conn->ibc_credits == 1); in kiblnd_need_noop()
317 if (conn->ibc_credits + credits > in kiblnd_handle_rx()319 rc2 = conn->ibc_credits; in kiblnd_handle_rx()332 conn->ibc_credits += credits; in kiblnd_handle_rx()811 LASSERT(conn->ibc_credits >= 0); in kiblnd_post_tx_locked()812 LASSERT(conn->ibc_credits <= IBLND_MSG_QUEUE_SIZE(ver)); in kiblnd_post_tx_locked()821 if (credit != 0 && conn->ibc_credits == 0) { /* no credits */ in kiblnd_post_tx_locked()828 conn->ibc_credits == 1 && /* last credit reserved */ in kiblnd_post_tx_locked()858 conn->ibc_credits -= credit; in kiblnd_post_tx_locked()892 conn->ibc_credits += credit; in kiblnd_post_tx_locked()2397 conn->ibc_credits = IBLND_MSG_QUEUE_SIZE(version); in kiblnd_passive_connect()[all …]