Searched refs:to_clean_index (Results 1 – 3 of 3) sorted by relevance
33 unsigned to_clean_index; member73 if (wq->to_clean_index <= index) in vnic_wq_copy_desc_process()74 cnt = (index - wq->to_clean_index) + 1; in vnic_wq_copy_desc_process()76 cnt = wq->ring.desc_count - wq->to_clean_index + index + 1; in vnic_wq_copy_desc_process()78 wq->to_clean_index = ((index + 1) % wq->ring.desc_count); in vnic_wq_copy_desc_process()94 (*q_service)(wq, &wq_desc[wq->to_clean_index]); in vnic_wq_copy_service()98 curr_index = wq->to_clean_index; in vnic_wq_copy_service()103 ((wq->to_clean_index + 1) == wq->ring.desc_count) ? in vnic_wq_copy_service()104 (wq->to_clean_index = 0) : (wq->to_clean_index++); in vnic_wq_copy_service()111 (wq->to_clean_index == wq->to_use_index)) in vnic_wq_copy_service()
60 wq->to_use_index = wq->to_clean_index = 0; in vnic_wq_copy_clean()86 wq->to_use_index = wq->to_clean_index = 0; in vnic_wq_copy_alloc()
146 if (wq->to_clean_index <= fnic->fw_ack_index[0]) in free_wq_copy_descs()148 - wq->to_clean_index + 1); in free_wq_copy_descs()151 - wq->to_clean_index in free_wq_copy_descs()159 wq->to_clean_index = in free_wq_copy_descs()596 if (wq->to_clean_index <= wq->to_use_index) { in is_ack_index_in_range()598 if (request_out < wq->to_clean_index || in is_ack_index_in_range()603 if (request_out < wq->to_clean_index && in is_ack_index_in_range()