Lines Matching refs:curr_head
3889 uint64_t curr_head = 0;
3920 rv = ldcp->readq_get_state(ldcp, &curr_head, &rx_tail,
3931 ldcp->id, curr_head, rx_tail, ldcp->link_state);
3939 if (curr_head == rx_tail) {
3963 if (curr_head == rx_tail) {
3990 ldcp->id, curr_head, rx_head, rx_tail);
3993 msg = (ldc_msg_t *)(q_va + curr_head);
3996 ldcp->rx_q_va + curr_head);
4118 curr_head =
4119 (curr_head + LDC_PACKET_SIZE)
4122 curr_head))
4146 curr_head))
4165 curr_head, *sizep, bytes_read+len);
4172 if (rv = ldcp->readq_set_head(ldcp, curr_head))
4185 curr_head = (curr_head + LDC_PACKET_SIZE) & q_size_mask;
4196 if (rv = ldcp->readq_set_head(ldcp, curr_head))
4209 if (rv = ldcp->readq_set_head(ldcp, curr_head)) {
4215 ldcp->id, curr_head);