Lines Matching refs:idx
123 int32 idx = fAllocatedDescs.GetLowestClear();
124 if (idx < 0)
127 fAllocatedDescs.Set(idx);
128 return idx;
133 VirtioQueue::FreeDesc(int32 idx)
135 fAllocatedDescs.Clear(idx);
185 int32_t idx = fAvail->idx & (fQueueLen - 1);
187 fAvail->ring[idx] = firstDesc;
188 fAvail->idx++;
200 if (fUsed->idx == fLastUsed)
258 if (queue->fUsed->idx != queue->fLastUsed