Searched refs:to_clean_index (Results 1 – 3 of 3) sorted by relevance
21 unsigned to_clean_index; member61 if (wq->to_clean_index <= index) in vnic_wq_copy_desc_process()62 cnt = (index - wq->to_clean_index) + 1; in vnic_wq_copy_desc_process()64 cnt = wq->ring.desc_count - wq->to_clean_index + index + 1; in vnic_wq_copy_desc_process()66 wq->to_clean_index = ((index + 1) % wq->ring.desc_count); in vnic_wq_copy_desc_process()82 (*q_service)(wq, &wq_desc[wq->to_clean_index]); in vnic_wq_copy_service()86 curr_index = wq->to_clean_index; in vnic_wq_copy_service()91 ((wq->to_clean_index + 1) == wq->ring.desc_count) ? in vnic_wq_copy_service()92 (wq->to_clean_index = 0) : (wq->to_clean_index++); in vnic_wq_copy_service()99 (wq->to_clean_index == wq->to_use_index)) in vnic_wq_copy_service()
48 wq->to_use_index = wq->to_clean_index = 0; in vnic_wq_copy_clean()72 wq->to_use_index = wq->to_clean_index = 0; in vnic_wq_copy_alloc()
128 if (wq->to_clean_index <= fnic->fw_ack_index[hwq]) in free_wq_copy_descs()130 - wq->to_clean_index + 1); in free_wq_copy_descs()133 - wq->to_clean_index in free_wq_copy_descs()141 wq->to_clean_index = in free_wq_copy_descs()752 if (wq->to_clean_index <= wq->to_use_index) { in is_ack_index_in_range()754 if (request_out < wq->to_clean_index || in is_ack_index_in_range()759 if (request_out < wq->to_clean_index && in is_ack_index_in_range()