Lines Matching defs:qmap
434 static void reset_queue_map(struct ehca_queue_map *qmap)
438 qmap->tail = qmap->entries - 1;
439 qmap->left_to_poll = 0;
440 qmap->next_wqe_idx = 0;
441 for (i = 0; i < qmap->entries; i++) {
442 qmap->map[i].reported = 1;
443 qmap->map[i].cqe_req = 0;
1128 struct ehca_queue_map *qmap)
1146 tail_idx = next_index(qmap->tail, qmap->entries);
1151 if (qmap->map[tail_idx].cqe_req)
1152 qmap->left_to_poll++;
1153 tail_idx = next_index(tail_idx, qmap->entries);
1156 qmap->next_wqe_idx = wqe_idx;
1183 * could mean that the qmap->tail pointer is in an