Searched refs:wqbuf_lastindex (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/arcmsr/
H A Darcmsr_attr.c114 int32_t my_empty_len, user_len, wqbuf_firstindex, wqbuf_lastindex; local
124 wqbuf_lastindex = acb->wqbuf_lastindex;
126 if (wqbuf_lastindex != wqbuf_firstindex) {
130 my_empty_len = (wqbuf_firstindex-wqbuf_lastindex - 1)
135 &acb->wqbuffer[acb->wqbuf_lastindex];
137 acb->wqbuf_lastindex++;
138 acb->wqbuf_lastindex %= ARCMSR_MAX_QBUFFER;
179 acb->wqbuf_lastindex = 0;
H A Darcmsr_hba.c651 while ((acb->wqbuf_firstindex != acb->wqbuf_lastindex)
723 if (acb->wqbuf_firstindex != acb->wqbuf_lastindex) {
730 while ((acb->wqbuf_firstindex != acb->wqbuf_lastindex)
742 if (acb->wqbuf_firstindex == acb->wqbuf_lastindex)
924 int32_t my_empty_len, user_len, wqbuf_firstindex, wqbuf_lastindex; local
935 wqbuf_lastindex = acb->wqbuf_lastindex;
937 if (wqbuf_lastindex != wqbuf_firstindex) {
949 my_empty_len = (wqbuf_firstindex-wqbuf_lastindex - 1)
954 &acb->wqbuffer[acb->wqbuf_lastindex];
[all...]
H A Darcmsr.h330 int32_t wqbuf_lastindex; member in struct:AdapterControlBlock

Completed in 54 milliseconds