que 96 drivers/atm/iphase.c static void ia_init_rtn_q (IARTN_Q *que) que 98 drivers/atm/iphase.c que->next = NULL; que 99 drivers/atm/iphase.c que->tail = NULL; que 102 drivers/atm/iphase.c static void ia_enque_head_rtn_q (IARTN_Q *que, IARTN_Q * data) que 105 drivers/atm/iphase.c if (que->next == NULL) que 106 drivers/atm/iphase.c que->next = que->tail = data; que 108 drivers/atm/iphase.c data->next = que->next; que 109 drivers/atm/iphase.c que->next = data; que 114 drivers/atm/iphase.c static int ia_enque_rtn_q (IARTN_Q *que, struct desc_tbl_t data) { que 120 drivers/atm/iphase.c if (que->next == NULL) que 121 drivers/atm/iphase.c que->next = que->tail = entry; que 123 drivers/atm/iphase.c que->tail->next = entry; que 124 drivers/atm/iphase.c que->tail = que->tail->next; que 129 drivers/atm/iphase.c static IARTN_Q * ia_deque_rtn_q (IARTN_Q *que) { que 131 drivers/atm/iphase.c if (que->next == NULL) que 133 drivers/atm/iphase.c tmpdata = que->next; que 134 drivers/atm/iphase.c if ( que->next == que->tail) que 135 drivers/atm/iphase.c que->next = que->tail = NULL; que 137 drivers/atm/iphase.c que->next = que->next->next; que 1383 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u8 que) que 1387 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u8 rx_using = rx_page_desc[que].rx_using; que 1389 drivers/net/ethernet/atheros/atl1e/atl1e_main.c return &(rx_page_desc[que].rx_page[rx_using]); que 1392 drivers/net/ethernet/atheros/atl1e/atl1e_main.c static void atl1e_clean_rx_irq(struct atl1e_adapter *adapter, u8 que, que 1400 drivers/net/ethernet/atheros/atl1e/atl1e_main.c struct atl1e_rx_page *rx_page = atl1e_get_rx_page(adapter, que); que 1414 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (prrs->seq_num != rx_page_desc[que].rx_nxseq) { que 1418 drivers/net/ethernet/atheros/atl1e/atl1e_main.c rx_page_desc[que].rx_nxseq); que 1419 drivers/net/ethernet/atheros/atl1e/atl1e_main.c rx_page_desc[que].rx_nxseq++; que 1423 drivers/net/ethernet/atheros/atl1e/atl1e_main.c rx_page_desc[que].rx_nxseq); que 1426 drivers/net/ethernet/atheros/atl1e/atl1e_main.c rx_page_desc[que].rx_nxseq++; que 1482 drivers/net/ethernet/atheros/atl1e/atl1e_main.c rx_using = rx_page_desc[que].rx_using; que 1484 drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_rx_page_vld_regs[que][rx_using]; que 1486 drivers/net/ethernet/atheros/atl1e/atl1e_main.c rx_page_desc[que].rx_using ^= 1; que 1487 drivers/net/ethernet/atheros/atl1e/atl1e_main.c rx_page = atl1e_get_rx_page(adapter, que); que 237 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __queue que; que 524 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __queue *que = &entry->region.que; que 526 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c addr = que->read_addr; que 527 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c cnt = que->read_addr_cnt; que 529 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c for (loop = 0; loop < que->no_ops; loop++) { que 530 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c qlcnic_ind_wr(adapter, que->sel_addr, que_id); que 531 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c addr = que->read_addr; que 535 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c addr += que->read_addr_stride; que 537 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c que_id += que->stride; que 539 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c return que->no_ops * cnt * sizeof(u32); que 2063 drivers/scsi/qedf/qedf_main.c struct global_queue *que; que 2069 drivers/scsi/qedf/qedf_main.c que = qedf->global_queues[fp->sb_id]; que 2077 drivers/scsi/qedf/qedf_main.c return (que->cq_prod_idx != prod_idx); que 2093 drivers/scsi/qedf/qedf_main.c struct global_queue *que; que 2108 drivers/scsi/qedf/qedf_main.c que = qedf->global_queues[fp->sb_id]; que 2111 drivers/scsi/qedf/qedf_main.c new_cqes = (prod_idx >= que->cq_prod_idx) ? que 2112 drivers/scsi/qedf/qedf_main.c (prod_idx - que->cq_prod_idx) : que 2113 drivers/scsi/qedf/qedf_main.c 0x10000 - que->cq_prod_idx + prod_idx; que 2116 drivers/scsi/qedf/qedf_main.c que->cq_prod_idx = prod_idx; que 2121 drivers/scsi/qedf/qedf_main.c cqe = &que->cq[que->cq_cons_idx]; que 2177 drivers/scsi/qedf/qedf_main.c que->cq_cons_idx++; que 2178 drivers/scsi/qedf/qedf_main.c if (que->cq_cons_idx == fp->cq_num_entries) que 2179 drivers/scsi/qedf/qedf_main.c que->cq_cons_idx = 0; que 140 drivers/scsi/qedi/qedi_debugfs.c struct global_queue *que = NULL; que 157 drivers/scsi/qedi/qedi_debugfs.c que = qedi->global_queues[fp->sb_id]; que 158 drivers/scsi/qedi/qedi_debugfs.c seq_printf(s, "DRV CONS IDX: %d\n", que->cq_cons_idx); que 1201 drivers/scsi/qedi/qedi_main.c struct global_queue *que; que 1214 drivers/scsi/qedi/qedi_main.c que = qedi->global_queues[fp->sb_id]; que 1217 drivers/scsi/qedi/qedi_main.c que, prod_idx, que->cq_cons_idx, fp->sb_id); que 1227 drivers/scsi/qedi/qedi_main.c while (que->cq_cons_idx != prod_idx) { que 1228 drivers/scsi/qedi/qedi_main.c cqe = &que->cq[que->cq_cons_idx]; que 1232 drivers/scsi/qedi/qedi_main.c cqe, prod_idx, que->cq_cons_idx); que 1238 drivers/scsi/qedi/qedi_main.c que->cq_cons_idx, cqe->cqe_common.conn_id); que 1240 drivers/scsi/qedi/qedi_main.c que->cq_cons_idx++; que 1241 drivers/scsi/qedi/qedi_main.c if (que->cq_cons_idx == QEDI_CQ_SIZE) que 1242 drivers/scsi/qedi/qedi_main.c que->cq_cons_idx = 0; que 1253 drivers/scsi/qedi/qedi_main.c struct global_queue *que; que 1264 drivers/scsi/qedi/qedi_main.c que = qedi->global_queues[fp->sb_id]; que 1270 drivers/scsi/qedi/qedi_main.c return (que->cq_cons_idx != prod_idx); que 2573 drivers/scsi/qla2xxx/qla_bsg.c int cnt, que; que 2579 drivers/scsi/qla2xxx/qla_bsg.c for (que = 0; que < ha->max_req_queues; que++) { que 2580 drivers/scsi/qla2xxx/qla_bsg.c req = ha->req_q_map[que]; que 550 drivers/scsi/qla2xxx/qla_dbg.c int que; que 564 drivers/scsi/qla2xxx/qla_dbg.c for (que = 0; que < num_queues; que++) { que 578 drivers/scsi/qla2xxx/qla_dbg.c qh->number = htonl(que); que 598 drivers/scsi/qla2xxx/qla_dbg.c int que; que 604 drivers/scsi/qla2xxx/qla_dbg.c for (que = 1; que < ha->max_req_queues; que++) { que 605 drivers/scsi/qla2xxx/qla_dbg.c req = ha->req_q_map[que]; que 622 drivers/scsi/qla2xxx/qla_dbg.c qh->number = htonl(que); que 632 drivers/scsi/qla2xxx/qla_dbg.c for (que = 1; que < ha->max_rsp_queues; que++) { que 633 drivers/scsi/qla2xxx/qla_dbg.c rsp = ha->rsp_q_map[que]; que 650 drivers/scsi/qla2xxx/qla_dbg.c qh->number = htonl(que); que 4049 drivers/scsi/qla2xxx/qla_init.c int cnt, que; que 4059 drivers/scsi/qla2xxx/qla_init.c for (que = 0; que < ha->max_req_queues; que++) { que 4060 drivers/scsi/qla2xxx/qla_init.c req = ha->req_q_map[que]; que 4061 drivers/scsi/qla2xxx/qla_init.c if (!req || !test_bit(que, ha->req_qid_map)) que 4076 drivers/scsi/qla2xxx/qla_init.c for (que = 0; que < ha->max_rsp_queues; que++) { que 4077 drivers/scsi/qla2xxx/qla_init.c rsp = ha->rsp_q_map[que]; que 4078 drivers/scsi/qla2xxx/qla_init.c if (!rsp || !test_bit(que, ha->rsp_qid_map)) que 2425 drivers/scsi/qla2xxx/qla_isr.c uint16_t que; que 2441 drivers/scsi/qla2xxx/qla_isr.c que = MSW(sts->handle); que 2442 drivers/scsi/qla2xxx/qla_isr.c req = ha->req_q_map[que]; que 2446 drivers/scsi/qla2xxx/qla_isr.c que >= find_first_zero_bit(ha->req_qid_map, ha->max_req_queues)) { que 2449 drivers/scsi/qla2xxx/qla_isr.c "que=%u.\n", sts->handle, req, que); que 2869 drivers/scsi/qla2xxx/qla_isr.c uint16_t que = MSW(pkt->handle); que 2877 drivers/scsi/qla2xxx/qla_isr.c if (que >= ha->max_req_queues || !ha->req_q_map[que]) que 2880 drivers/scsi/qla2xxx/qla_isr.c req = ha->req_q_map[que]; que 2912 drivers/scsi/qla2xxx/qla_isr.c "Error entry - invalid handle/queue (%04x).\n", que); que 2292 drivers/scsi/qla2xxx/qla_mr.c uint16_t que; que 2304 drivers/scsi/qla2xxx/qla_mr.c que = MSW(hindex); que 2305 drivers/scsi/qla2xxx/qla_mr.c req = ha->req_q_map[que]; que 2640 drivers/scsi/qla2xxx/qla_mr.c uint16_t que; que 2661 drivers/scsi/qla2xxx/qla_mr.c que = MSW(hindex); que 2662 drivers/scsi/qla2xxx/qla_mr.c req = ha->req_q_map[que]; que 2695 drivers/scsi/qla2xxx/qla_mr.c uint16_t que = 0; que 2699 drivers/scsi/qla2xxx/qla_mr.c req = ha->req_q_map[que]; que 3678 drivers/scsi/qla2xxx/qla_nx.c int cnt, que; que 3683 drivers/scsi/qla2xxx/qla_nx.c for (que = 0; que < ha->max_req_queues; que++) { que 3684 drivers/scsi/qla2xxx/qla_nx.c req = ha->req_q_map[que]; que 1798 drivers/scsi/qla2xxx/qla_os.c int que; que 1808 drivers/scsi/qla2xxx/qla_os.c for (que = 0; que < ha->max_qpairs; que++) { que 1809 drivers/scsi/qla2xxx/qla_os.c if (!ha->queue_pair_map[que]) que 1812 drivers/scsi/qla2xxx/qla_os.c __qla2x00_abort_all_cmds(ha->queue_pair_map[que], res);