Lines Matching defs:tx_head

596 	rv = hv_ldc_tx_get_state(ldcp->id, &(ldcp->tx_head),
604 "s=0x%llx\n", ldcp->id, ldcp->tx_head, ldcp->tx_tail,
699 ldcp->tx_ackd_head = ldcp->tx_head;
838 * Returns the tx_head to be used for transfer
848 *head = ldcp->tx_head;
851 * Reliable mode will use the ACKd head instead of the regular tx_head.
853 * up to the current location of tx_head. This needs to be done
857 while (ldcp->tx_ackd_head != ldcp->tx_head) {
885 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
912 ldcp->id, ldcp->tx_head, ldcp->tx_tail);
1827 uint64_t tx_head;
1837 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
1855 tx_head = ldcp->tx_ackd_head;
1857 pkt = (ldc_msg_t *)(ldcp->tx_q_va + tx_head);
1858 tx_head = (tx_head + LDC_PACKET_SIZE) %
1866 ldcp->tx_ackd_head = tx_head;
1869 if (tx_head == ldcp->tx_head) {
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);
3062 ldcp->tx_ackd_head = ldcp->tx_head;
3165 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
3174 if (ldcp->tx_head == ldcp->tx_tail ||
3257 ldcp->tx_head = 0;
4336 uint64_t tx_head, tx_tail, new_tail;
4359 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
4391 tx_head = ldcp->tx_head;
4395 if (new_tail == tx_head) {
4467 uint64_t tx_head, tx_tail, new_tail, start;
4484 &ldcp->tx_head, &ldcp->tx_tail, &ldcp->link_state);
4522 i_ldc_get_tx_head(ldcp, &tx_head);
4524 if (new_tail == tx_head) {
4534 numavail = (tx_head >> LDC_PACKET_SHIFT) - (tx_tail >> LDC_PACKET_SHIFT)
4579 ASSERT(tx_tail != tx_head);
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);