Lines Matching refs:tx_tail

597 	    &(ldcp->tx_tail), &(ldcp->link_state));
604 "s=0x%llx\n", ldcp->id, ldcp->tx_head, ldcp->tx_tail,
872 * Returns the tx_tail to be used for transfer
885 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
901 new_tail = (ldcp->tx_tail + LDC_PACKET_SIZE) %
912 ldcp->id, ldcp->tx_head, ldcp->tx_tail);
914 *tail = ldcp->tx_tail;
1135 uint64_t tx_tail;
1144 rv = i_ldc_get_tx_tail(ldcp, &tx_tail);
1154 pkt = (ldc_msg_t *)(ldcp->tx_q_va + tx_tail);
1174 tx_tail = (tx_tail + LDC_PACKET_SIZE) %
1177 rv = i_ldc_set_tx_tail(ldcp, tx_tail);
1188 ldcp->tx_tail = tx_tail;
1241 uint64_t tx_tail;
1264 rv = i_ldc_get_tx_tail(ldcp, &tx_tail);
1274 pkt = (ldc_msg_t *)(ldcp->tx_q_va + tx_tail);
1333 tx_tail = (tx_tail + LDC_PACKET_SIZE) %
1336 rv = i_ldc_set_tx_tail(ldcp, tx_tail);
1338 ldcp->tx_tail = tx_tail;
1387 rv = i_ldc_get_tx_tail(ldcp, &tx_tail);
1397 pkt = (ldc_msg_t *)(ldcp->tx_q_va + tx_tail);
1412 tx_tail = (tx_tail + LDC_PACKET_SIZE) %
1415 rv = i_ldc_set_tx_tail(ldcp, tx_tail);
1425 ldcp->tx_tail = tx_tail;
1443 rv = i_ldc_get_tx_tail(ldcp, &tx_tail);
1453 pkt = (ldc_msg_t *)(ldcp->tx_q_va + tx_tail);
1504 tx_tail = (tx_tail + LDC_PACKET_SIZE) %
1507 rv = i_ldc_set_tx_tail(ldcp, tx_tail);
1512 ldcp->tx_tail = tx_tail;
1538 uint64_t tx_tail;
1608 rv = i_ldc_get_tx_tail(ldcp, &tx_tail);
1618 pkt = (ldc_msg_t *)(ldcp->tx_q_va + tx_tail);
1632 tx_tail = (tx_tail + LDC_PACKET_SIZE) %
1635 rv = i_ldc_set_tx_tail(ldcp, tx_tail);
1641 ldcp->tx_tail = tx_tail;
1837 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
2129 rv = hv_ldc_tx_get_state(ldcp->id, &ldcp->tx_head, &ldcp->tx_tail,
3046 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
3165 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
3174 if (ldcp->tx_head == ldcp->tx_tail ||
3379 uint64_t tx_tail, tstate, link_state;
3443 rv = i_ldc_get_tx_tail(ldcp, &tx_tail);
3476 ldcmsg = (ldc_msg_t *)(ldcp->tx_q_va + tx_tail);
3488 tx_tail = (tx_tail + LDC_PACKET_SIZE) %
3491 rv = i_ldc_set_tx_tail(ldcp, tx_tail);
3502 ldcp->tx_tail = tx_tail;
4336 uint64_t tx_head, tx_tail, new_tail;
4359 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
4390 tx_tail = ldcp->tx_tail;
4392 new_tail = (tx_tail + LDC_PACKET_SIZE) &
4406 ldcmsg = (ldc_msg_t *)(ldcp->tx_q_va + tx_tail);
4412 tx_tail = new_tail;
4418 rv = i_ldc_set_tx_tail(ldcp, tx_tail);
4445 ldcp->tx_tail = tx_tail;
4467 uint64_t tx_head, tx_tail, new_tail, start;
4484 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
4514 tx_tail = ldcp->tx_tail;
4515 new_tail = (tx_tail + LDC_PACKET_SIZE) %
4534 numavail = (tx_head >> LDC_PACKET_SHIFT) - (tx_tail >> LDC_PACKET_SHIFT)
4550 start = tx_tail;
4554 ldcmsg = (ldc_msg_t *)(ldcp->tx_q_va + tx_tail);
4577 tx_tail = (tx_tail + LDC_PACKET_SIZE) & txq_size_mask;
4579 ASSERT(tx_tail != tx_head);
4591 rv = i_ldc_set_tx_tail(ldcp, tx_tail);
4593 ldcp->tx_tail = tx_tail;
4620 rv, ldcp->tx_head, ldcp->tx_tail, tx_tail,
4624 &tx_head, &tx_tail, &ldcp->link_state);
4628 rv2, tx_head, tx_tail, ldcp->link_state);