next_idx 594 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[idx].next_idx = idx + 1; next_idx 595 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = -1; next_idx 678 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->start_idx = srq->swq[next].next_idx; next_idx 2322 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = (int)tag; next_idx 2324 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = -1; next_idx 102 drivers/infiniband/hw/bnxt_re/qplib_fp.h int next_idx; next_idx 1403 drivers/net/can/m_can/m_can.c int next_idx; next_idx 1406 drivers/net/can/m_can/m_can.c next_idx = (++putidx >= wrap ? 0 : putidx); next_idx 1409 drivers/net/can/m_can/m_can.c return !!cdev->can.echo_skb[next_idx]; next_idx 1000 drivers/net/ethernet/broadcom/cnic.c info->next_idx = cnic_bnx2_next_idx; next_idx 1005 drivers/net/ethernet/broadcom/cnic.c info->next_idx = cnic_bnx2x_next_idx; next_idx 2901 drivers/net/ethernet/broadcom/cnic.c i = info->next_idx(i); next_idx 186 drivers/net/ethernet/broadcom/cnic.h u16 (*next_idx)(u16); next_idx 369 drivers/net/ethernet/google/gve/gve_rx.c u32 next_idx; next_idx 371 drivers/net/ethernet/google/gve/gve_rx.c next_idx = rx->cnt & rx->mask; next_idx 372 drivers/net/ethernet/google/gve/gve_rx.c desc = rx->desc.desc_ring + next_idx; next_idx 417 drivers/net/ethernet/google/gve/gve_tx.c u32 next_idx; next_idx 456 drivers/net/ethernet/google/gve/gve_tx.c next_idx = (tx->req + 1 + i - payload_iov) & tx->mask; next_idx 457 drivers/net/ethernet/google/gve/gve_tx.c seg_desc = &tx->desc[next_idx]; next_idx 12168 drivers/net/ethernet/intel/i40e/i40e_main.c u8 next_idx; next_idx 12180 drivers/net/ethernet/intel/i40e/i40e_main.c next_idx = i40e_get_udp_port_idx(pf, 0); next_idx 12182 drivers/net/ethernet/intel/i40e/i40e_main.c if (next_idx == I40E_MAX_PF_UDP_OFFLOAD_PORTS) { next_idx 12190 drivers/net/ethernet/intel/i40e/i40e_main.c pf->udp_ports[next_idx].type = I40E_AQC_TUNNEL_TYPE_VXLAN; next_idx 12195 drivers/net/ethernet/intel/i40e/i40e_main.c pf->udp_ports[next_idx].type = I40E_AQC_TUNNEL_TYPE_NGE; next_idx 12202 drivers/net/ethernet/intel/i40e/i40e_main.c pf->udp_ports[next_idx].port = port; next_idx 12203 drivers/net/ethernet/intel/i40e/i40e_main.c pf->udp_ports[next_idx].filter_index = I40E_UDP_PORT_INDEX_UNUSED; next_idx 12204 drivers/net/ethernet/intel/i40e/i40e_main.c pf->pending_udp_bitmap |= BIT_ULL(next_idx); next_idx 1694 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c int err = 0, idx, next_idx, count; next_idx 1743 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c next_idx = 0; next_idx 1748 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c next_idx = next_mce->idx; next_idx 1753 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c next_idx, count ? false : true); next_idx 1046 drivers/net/ethernet/mediatek/mtk_eth_soc.c int next_idx = NEXT_DESP_IDX(txd_to_idx(ring, txd), next_idx 1048 drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_w32(eth, next_idx, MT7628_TX_CTX_IDX0); next_idx 627 drivers/nvdimm/btt.c u32 i, j, next_idx = 0; next_idx 643 drivers/nvdimm/btt.c if ((next_idx == 1) && next_idx 647 drivers/nvdimm/btt.c log_index[next_idx] = j; next_idx 648 drivers/nvdimm/btt.c next_idx++; next_idx 650 drivers/nvdimm/btt.c if (next_idx == 2) { next_idx 653 drivers/nvdimm/btt.c } else if (next_idx > 2) { next_idx 283 drivers/scsi/bnx2fc/bnx2fc.h u16 next_idx; next_idx 10645 drivers/scsi/lpfc/lpfc_init.c int i, cpu, idx, next_idx, new_cpu, start_cpu, first_cpu; next_idx 10898 drivers/scsi/lpfc/lpfc_init.c next_idx = idx; next_idx 10912 drivers/scsi/lpfc/lpfc_init.c if (next_idx < phba->cfg_hdw_queue) { next_idx 10913 drivers/scsi/lpfc/lpfc_init.c cpup->hdwq = next_idx; next_idx 10914 drivers/scsi/lpfc/lpfc_init.c next_idx++; next_idx 916 drivers/scsi/qla4xxx/ql4_init.c uint32_t idx = 0, next_idx = 0; next_idx 922 drivers/scsi/qla4xxx/ql4_init.c for (idx = 0; idx < max_ddbs; idx = next_idx) { next_idx 924 drivers/scsi/qla4xxx/ql4_init.c &next_idx, &state, &conn_err, next_idx 927 drivers/scsi/qla4xxx/ql4_init.c next_idx++; next_idx 940 drivers/scsi/qla4xxx/ql4_init.c if (next_idx == 0) next_idx 6760 drivers/scsi/qla4xxx/ql4_os.c uint32_t idx = 0, next_idx = 0; next_idx 6776 drivers/scsi/qla4xxx/ql4_os.c for (idx = 0; idx < max_ddbs; idx = next_idx) { next_idx 6778 drivers/scsi/qla4xxx/ql4_os.c NULL, &next_idx, &state, next_idx 6812 drivers/scsi/qla4xxx/ql4_os.c if (next_idx == 0) next_idx 6833 drivers/scsi/qla4xxx/ql4_os.c uint32_t next_idx = 0; next_idx 6839 drivers/scsi/qla4xxx/ql4_os.c NULL, 0, NULL, &next_idx, &state, next_idx 6987 drivers/scsi/qla4xxx/ql4_os.c uint32_t idx = 0, next_idx = 0; next_idx 7004 drivers/scsi/qla4xxx/ql4_os.c for (idx = 0; idx < max_ddbs; idx = next_idx) { next_idx 7006 drivers/scsi/qla4xxx/ql4_os.c NULL, &next_idx, &state, next_idx 7077 drivers/scsi/qla4xxx/ql4_os.c if (next_idx == 0) next_idx 7095 drivers/scsi/qla4xxx/ql4_os.c uint32_t idx = 0, next_idx = 0; next_idx 7110 drivers/scsi/qla4xxx/ql4_os.c for (idx = 0; idx < max_ddbs; idx = next_idx) { next_idx 7112 drivers/scsi/qla4xxx/ql4_os.c NULL, &next_idx, &state, next_idx 7151 drivers/scsi/qla4xxx/ql4_os.c if (next_idx == 0) next_idx 7725 drivers/scsi/qla4xxx/ql4_os.c uint32_t next_idx = 0; next_idx 7794 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_dma, NULL, &next_idx, next_idx 175 drivers/soc/fsl/dpio/qbman-portal.c p->dqrr.next_idx = 0; next_idx 723 drivers/soc/fsl/dpio/qbman-portal.c if (pi == s->dqrr.next_idx) next_idx 734 drivers/soc/fsl/dpio/qbman-portal.c if (s->dqrr.next_idx == (s->dqrr.dqrr_size - 1)) { next_idx 736 drivers/soc/fsl/dpio/qbman-portal.c s->dqrr.next_idx, pi); next_idx 740 drivers/soc/fsl/dpio/qbman-portal.c QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); next_idx 744 drivers/soc/fsl/dpio/qbman-portal.c p = qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); next_idx 746 drivers/soc/fsl/dpio/qbman-portal.c p = qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR_MEM(s->dqrr.next_idx)); next_idx 759 drivers/soc/fsl/dpio/qbman-portal.c QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); next_idx 766 drivers/soc/fsl/dpio/qbman-portal.c s->dqrr.next_idx++; next_idx 767 drivers/soc/fsl/dpio/qbman-portal.c s->dqrr.next_idx &= s->dqrr.dqrr_size - 1; /* Wrap around */ next_idx 768 drivers/soc/fsl/dpio/qbman-portal.c if (!s->dqrr.next_idx) next_idx 782 drivers/soc/fsl/dpio/qbman-portal.c prefetch(qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); next_idx 130 drivers/soc/fsl/dpio/qbman-portal.h u32 next_idx; next_idx 517 drivers/staging/mt7621-dma/mtk-hsdma.c int next_idx, drx_idx, cnt; next_idx 520 drivers/staging/mt7621-dma/mtk-hsdma.c next_idx = HSDMA_NEXT_DESC(chan->rx_idx); next_idx 523 drivers/staging/mt7621-dma/mtk-hsdma.c cnt = (drx_idx - next_idx) & HSDMA_DESCS_MASK; next_idx 587 drivers/usb/dwc2/hcd_ddma.c u16 next_idx; next_idx 593 drivers/usb/dwc2/hcd_ddma.c next_idx = dwc2_desclist_idx_inc(qh->td_last, inc, qh->dev_speed); next_idx 602 drivers/usb/dwc2/hcd_ddma.c if (dwc2_frame_idx_num_gt(cur_idx, next_idx) || (cur_idx == next_idx)) { next_idx 50 include/linux/kmsg_dump.h u32 next_idx; next_idx 3166 kernel/printk/printk.c dumper->next_idx = log_next_idx; next_idx 3286 kernel/printk/printk.c u32 next_idx; next_idx 3331 kernel/printk/printk.c next_idx = idx; next_idx 3343 kernel/printk/printk.c dumper->next_idx = next_idx; next_idx 3368 kernel/printk/printk.c dumper->next_idx = log_next_idx; next_idx 394 lib/iov_iter.c idx = next_idx(idx, pipe); next_idx 488 lib/iov_iter.c idx = next_idx(idx, i->pipe); next_idx 519 lib/iov_iter.c idx = next_idx(idx, pipe); next_idx 535 lib/iov_iter.c idx = next_idx(idx, pipe); next_idx 553 lib/iov_iter.c for ( ; n; idx = next_idx(idx, pipe), off = 0) { next_idx 587 lib/iov_iter.c for ( ; n; idx = next_idx(idx, pipe), r = 0) { next_idx 657 lib/iov_iter.c for ( ; n; idx = next_idx(idx, pipe), off = 0) { next_idx 938 lib/iov_iter.c for ( ; n; idx = next_idx(idx, pipe), off = 0) { next_idx 996 lib/iov_iter.c idx = next_idx(idx, pipe); next_idx 1001 lib/iov_iter.c idx = next_idx(idx, pipe); next_idx 1023 lib/iov_iter.c idx = next_idx(idx, pipe); next_idx 1246 lib/iov_iter.c idx = next_idx(idx, pipe); next_idx 463 sound/soc/mediatek/common/mtk-btcvsd.c unsigned int next_idx; next_idx 467 sound/soc/mediatek/common/mtk-btcvsd.c next_idx = bt->tx->buffer_info.num_valid_addr - 1; next_idx 468 sound/soc/mediatek/common/mtk-btcvsd.c bt->tx->buffer_info.bt_sram_addr[next_idx] = ap_addr_tx;