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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/fnic/
H A Dvnic_wq_copy.h33 unsigned to_clean_index; member in struct:vnic_wq_copy
73 if (wq->to_clean_index <= index)
74 cnt = (index - wq->to_clean_index) + 1;
76 cnt = wq->ring.desc_count - wq->to_clean_index + index + 1;
78 wq->to_clean_index = ((index + 1) % wq->ring.desc_count);
94 (*q_service)(wq, &wq_desc[wq->to_clean_index]);
98 curr_index = wq->to_clean_index;
103 ((wq->to_clean_index + 1) == wq->ring.desc_count) ?
104 (wq->to_clean_index = 0) : (wq->to_clean_index
[all...]
H A Dvnic_wq_copy.c60 wq->to_use_index = wq->to_clean_index = 0;
86 wq->to_use_index = wq->to_clean_index = 0;
H A Dfnic_scsi.c146 if (wq->to_clean_index <= fnic->fw_ack_index[0])
148 - wq->to_clean_index + 1);
151 - wq->to_clean_index
157 * to_clean_index and fw_ack_index, both inclusive
159 wq->to_clean_index =
594 if (wq->to_clean_index <= wq->to_use_index) {
596 if (request_out < wq->to_clean_index ||
601 if (request_out < wq->to_clean_index &&
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/fnic/
H A Dvnic_wq_copy.h33 unsigned to_clean_index; member in struct:vnic_wq_copy
73 if (wq->to_clean_index <= index)
74 cnt = (index - wq->to_clean_index) + 1;
76 cnt = wq->ring.desc_count - wq->to_clean_index + index + 1;
78 wq->to_clean_index = ((index + 1) % wq->ring.desc_count);
94 (*q_service)(wq, &wq_desc[wq->to_clean_index]);
98 curr_index = wq->to_clean_index;
103 ((wq->to_clean_index + 1) == wq->ring.desc_count) ?
104 (wq->to_clean_index = 0) : (wq->to_clean_index
[all...]
H A Dvnic_wq_copy.c60 wq->to_use_index = wq->to_clean_index = 0;
86 wq->to_use_index = wq->to_clean_index = 0;
H A Dfnic_scsi.c146 if (wq->to_clean_index <= fnic->fw_ack_index[0])
148 - wq->to_clean_index + 1);
151 - wq->to_clean_index
157 * to_clean_index and fw_ack_index, both inclusive
159 wq->to_clean_index =
594 if (wq->to_clean_index <= wq->to_use_index) {
596 if (request_out < wq->to_clean_index ||
601 if (request_out < wq->to_clean_index &&

Completed in 181 milliseconds