Lines Matching defs:link_state
89 uint64_t *tail, uint64_t *link_state);
91 uint64_t *tail, uint64_t *link_state);
597 &(ldcp->tx_tail), &(ldcp->link_state));
605 ldcp->link_state);
621 &(ldcp->link_state));
658 &(ldcp->link_state));
709 if (ldcp->link_state == LDC_CHANNEL_UP ||
710 ldcp->link_state == LDC_CHANNEL_RESET) {
885 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
892 if (ldcp->link_state == LDC_CHANNEL_DOWN) {
997 uint64_t *link_state)
999 _NOTE(ARGUNUSED(link_state))
1011 uint64_t *link_state)
1014 link_state)));
1044 ldcp->link_state);
1837 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
2108 uint64_t notify_event = 0, link_state;
2127 link_state = ldcp->link_state;
2130 &ldcp->link_state);
2146 if (link_state != ldcp->link_state &&
2147 ldcp->link_state == LDC_CHANNEL_DOWN) {
2154 if (link_state != ldcp->link_state &&
2155 ldcp->link_state == LDC_CHANNEL_RESET) {
2162 if (link_state != ldcp->link_state &&
2164 ldcp->link_state == LDC_CHANNEL_UP) {
2232 uint64_t link_state, first_fragment = 0;
2244 link_state = ldcp->link_state;
2246 &ldcp->link_state);
2261 if (link_state != ldcp->link_state) {
2263 switch (ldcp->link_state) {
3046 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
3065 if (ldcp->link_state == LDC_CHANNEL_UP ||
3066 ldcp->link_state == LDC_CHANNEL_RESET) {
3165 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
3175 ldcp->link_state != LDC_CHANNEL_UP) {
3379 uint64_t tx_tail, tstate, link_state;
3440 link_state = ldcp->link_state;
3453 * If i_ldc_get_tx_tail() changed link_state to either RESET or UP,
3457 if ((link_state == LDC_CHANNEL_DOWN) &&
3458 (link_state != ldcp->link_state)) {
3460 ASSERT((ldcp->link_state == LDC_CHANNEL_RESET) ||
3461 (ldcp->link_state == LDC_CHANNEL_UP));
3639 &ldcp->link_state);
3648 if (ldcp->link_state == LDC_CHANNEL_DOWN ||
3649 ldcp->link_state == LDC_CHANNEL_RESET) {
3773 &ldcp->link_state);
3785 if (ldcp->link_state == LDC_CHANNEL_DOWN ||
3786 ldcp->link_state == LDC_CHANNEL_RESET) {
3832 &ldcp->link_state);
3841 ldcp->id, rx_head, rx_tail, ldcp->link_state);
3844 if (ldcp->link_state == LDC_CHANNEL_DOWN ||
3845 ldcp->link_state == LDC_CHANNEL_RESET) {
3921 &ldcp->link_state);
3931 ldcp->id, curr_head, rx_tail, ldcp->link_state);
3934 if (ldcp->link_state != LDC_CHANNEL_UP)
3949 &rx_head, &rx_tail, &ldcp->link_state);
3960 if (ldcp->link_state != LDC_CHANNEL_UP)
4359 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
4367 if (ldcp->link_state == LDC_CHANNEL_DOWN ||
4368 ldcp->link_state == LDC_CHANNEL_RESET) {
4484 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
4492 if (ldcp->link_state == LDC_CHANNEL_DOWN ||
4493 ldcp->link_state == LDC_CHANNEL_RESET) {
4624 &tx_head, &tx_tail, &ldcp->link_state);
4628 rv2, tx_head, tx_tail, ldcp->link_state);