Home
last modified time | relevance | path

Searched refs:to_clean_index (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dvnic_wq_copy.h33 unsigned to_clean_index; member
73 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()
[all...]
H A Dvnic_wq_copy.c60 wq->to_use_index = wq->to_clean_index = 0; in vnic_wq_copy_clean()
84 wq->to_use_index = wq->to_clean_index = 0; in vnic_wq_copy_alloc()
H A Dfnic_scsi.c154 if (wq->to_clean_index <= fnic->fw_ack_index[0]) in free_wq_copy_descs()
156 - wq->to_clean_index + 1); in free_wq_copy_descs()
159 - wq->to_clean_index in free_wq_copy_descs()
165 * to_clean_index and fw_ack_index, both inclusive in free_wq_copy_descs()
167 wq->to_clean_index = in free_wq_copy_descs()
767 if (wq->to_clean_index <= wq->to_use_index) { in is_ack_index_in_range()
769 if (request_out < wq->to_clean_index || in is_ack_index_in_range()
774 if (request_out < wq->to_clean_index && in is_ack_index_in_range()
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dvnic_wq_copy.h21 unsigned to_clean_index; member
61 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()
[all...]
H A Dvnic_wq_copy.c48 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()
H A Dfnic_scsi.c142 if (wq->to_clean_index <= fnic->fw_ack_index[0]) in free_wq_copy_descs()
144 - wq->to_clean_index + 1); in free_wq_copy_descs()
147 - wq->to_clean_index in free_wq_copy_descs()
153 * to_clean_index and fw_ack_index, both inclusive in free_wq_copy_descs()
155 wq->to_clean_index = in free_wq_copy_descs()
753 if (wq->to_clean_index <= wq->to_use_index) { in is_ack_index_in_range()
755 if (request_out < wq->to_clean_index || in is_ack_index_in_range()
760 if (request_out < wq->to_clean_index && in is_ack_index_in_range()

Completed in 8 milliseconds