| /linux-6.15/drivers/infiniband/hw/bnxt_re/ |
| H A D | qplib_fp.c | 163 struct bnxt_qplib_nq *nq = nq_work->nq; in bnxt_qpn_cqn_sched_task() local 171 nq->cqn_handler(nq, cq); in bnxt_qpn_cqn_sched_task() 349 if (nq->cqn_handler(nq, (cq))) in bnxt_qplib_service_nq() 375 if (nq->srqn_handler(nq, in bnxt_qplib_service_nq() 412 nq->budget = nq->hwq.max_elements; in bnxt_re_synchronize_nq() 444 free_irq(nq->msix_vec, nq); in bnxt_qplib_nq_stop_irq() 492 rc = request_irq(nq->msix_vec, bnxt_qplib_nq_irq, 0, nq->name, nq); in bnxt_qplib_nq_start_irq() 502 rc = irq_set_affinity_hint(nq->msix_vec, &nq->mask); in bnxt_qplib_nq_start_irq() 586 bnxt_qplib_free_hwq(nq->res, &nq->hwq); in bnxt_qplib_free_nq() 2113 nq_work->nq = qp->scq->nq; in bnxt_qplib_post_send() [all …]
|
| H A D | qplib_fp.h | 442 struct bnxt_qplib_nq *nq; member 506 typedef int (*cqn_handler_t)(struct bnxt_qplib_nq *nq, 508 typedef int (*srqn_handler_t)(struct bnxt_qplib_nq *nq, 532 struct bnxt_qplib_nq *nq; member 536 void bnxt_qplib_nq_stop_irq(struct bnxt_qplib_nq *nq, bool kill); 537 void bnxt_qplib_disable_nq(struct bnxt_qplib_nq *nq); 538 int bnxt_qplib_nq_start_irq(struct bnxt_qplib_nq *nq, int nq_indx, 540 int bnxt_qplib_enable_nq(struct pci_dev *pdev, struct bnxt_qplib_nq *nq, 585 void bnxt_qplib_free_nq(struct bnxt_qplib_nq *nq); 586 int bnxt_qplib_alloc_nq(struct bnxt_qplib_res *res, struct bnxt_qplib_nq *nq); [all …]
|
| H A D | main.c | 437 struct bnxt_qplib_nq *nq; in bnxt_re_stop_irq() local 454 nq = &rdev->nqr->nq[indx - 1]; in bnxt_re_stop_irq() 467 struct bnxt_qplib_nq *nq; in bnxt_re_start_irq() local 498 nq = &rdev->nqr->nq[indx - 1]; in bnxt_re_start_irq() 1713 struct bnxt_qplib_nq *nq; in bnxt_re_free_nq_res() local 1719 nq = &rdev->nqr->nq[i]; in bnxt_re_free_nq_res() 1721 bnxt_qplib_free_nq(nq); in bnxt_re_free_nq_res() 1722 nq->res = NULL; in bnxt_re_free_nq_res() 1766 nq = &rdev->nqr->nq[i]; in bnxt_re_alloc_res() 1776 rattr.pages = nq->hwq.pbl[rdev->nqr->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res() [all …]
|
| H A D | bnxt_re.h | 155 struct bnxt_qplib_nq nq[BNXT_RE_MAX_MSIX]; member
|
| H A D | ib_verbs.c | 1003 scq_nq = qplib_qp->scq->nq; in bnxt_re_destroy_qp() 1004 rcq_nq = qplib_qp->rcq->nq; in bnxt_re_destroy_qp() 3034 if (rdev->nqr->nq[min].load > rdev->nqr->nq[indx].load) in bnxt_re_get_nq() 3037 rdev->nqr->nq[min].load++; in bnxt_re_get_nq() 3040 return &rdev->nqr->nq[min]; in bnxt_re_get_nq() 3046 nq->load--; in bnxt_re_put_nq() 3054 struct bnxt_qplib_nq *nq; in bnxt_re_destroy_cq() local 3060 nq = cq->qplib_cq.nq; in bnxt_re_destroy_cq() 3069 bnxt_re_put_nq(rdev, nq); in bnxt_re_destroy_cq() 3139 cq->qplib_cq.nq = bnxt_re_get_nq(rdev); in bnxt_re_create_cq() [all …]
|
| /linux-6.15/drivers/block/null_blk/ |
| H A D | main.c | 1585 spin_lock(&nq->poll_lock); in null_poll() 1589 spin_unlock(&nq->poll_lock); in null_poll() 1617 spin_lock(&nq->poll_lock); in null_timeout_rq() 1624 spin_unlock(&nq->poll_lock); in null_timeout_rq() 1659 cmd->nq = nq; in null_queue_rq() 1668 nq->requeue_selection++; in null_queue_rq() 1685 spin_lock(&nq->poll_lock); in null_queue_rq() 1717 nq->dev = nullb->dev; in null_init_queue() 1726 struct nullb_queue *nq; in null_init_hctx() local 1732 hctx->driver_data = nq; in null_init_hctx() [all …]
|
| H A D | zoned.c | 353 struct nullb_device *dev = cmd->nq->dev; in null_zone_write() 649 struct nullb_device *dev = cmd->nq->dev; in null_zone_mgmt() 727 dev = cmd->nq->dev; in null_process_zoned_cmd()
|
| H A D | null_blk.h | 21 struct nullb_queue *nq; member
|
| /linux-6.15/lib/crypto/ |
| H A D | curve25519-hacl64.c | 549 point_swap_conditional(nq, nqpq, bit0); in ladder_smallloop_cmult_small_loop_step() 550 addanddouble_fmonty(nq2, nqpq2, nq, nqpq, q); in ladder_smallloop_cmult_small_loop_step() 570 ladder_smallloop_cmult_small_loop_double_step(nq, nqpq, nq2, in ladder_smallloop_cmult_small_loop() 583 ladder_smallloop_cmult_small_loop(nq, nqpq, nq2, nqpq2, q, in ladder_bigloop_cmult_big_loop() 591 u64 *nq = point_buf; in ladder_cmult() local 596 nq[0] = 1; in ladder_cmult() 598 point_copy(result, nq); in ladder_cmult() 776 u64 *nq = buf; in curve25519_generic() local 777 u64 *x = nq; in curve25519_generic() 779 ladder_cmult(nq, scalar, q); in curve25519_generic() [all …]
|
| /linux-6.15/drivers/net/vmxnet3/ |
| H A D | vmxnet3_xdp.c | 210 struct netdev_queue *nq; in vmxnet3_xdp_xmit_back() local 217 nq = netdev_get_tx_queue(adapter->netdev, tq->qid); in vmxnet3_xdp_xmit_back() 219 __netif_tx_lock(nq, smp_processor_id()); in vmxnet3_xdp_xmit_back() 221 __netif_tx_unlock(nq); in vmxnet3_xdp_xmit_back() 233 struct netdev_queue *nq; in vmxnet3_xdp_xmit() local 245 nq = netdev_get_tx_queue(adapter->netdev, tq->qid); in vmxnet3_xdp_xmit() 247 __netif_tx_lock(nq, smp_processor_id()); in vmxnet3_xdp_xmit() 255 __netif_tx_unlock(nq); in vmxnet3_xdp_xmit()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_trans_dquot.c | 79 struct xfs_dqtrx *oq, *nq; in xfs_trans_dup_dqinfo() local 98 nq = &nqa[i]; in xfs_trans_dup_dqinfo() 103 nq->qt_dquot = oq->qt_dquot; in xfs_trans_dup_dqinfo() 104 nq->qt_bcount_delta = nq->qt_icount_delta = 0; in xfs_trans_dup_dqinfo() 105 nq->qt_rtbcount_delta = 0; in xfs_trans_dup_dqinfo() 110 nq->qt_blk_res = oq->qt_blk_res - blk_res_used; in xfs_trans_dup_dqinfo() 113 nq->qt_rtblk_res = oq->qt_rtblk_res - in xfs_trans_dup_dqinfo() 117 nq->qt_ino_res = oq->qt_ino_res - oq->qt_ino_res_used; in xfs_trans_dup_dqinfo()
|
| /linux-6.15/arch/x86/crypto/ |
| H A D | curve25519-x86_64.c | 977 u64 *nq = p01_tmp1; in point_add_and_double() local 981 u64 *x2 = nq; in point_add_and_double() 982 u64 *z2 = nq + (u32)4U; in point_add_and_double() 1024 fmul2(nq, dc1, ab1, tmp2); in point_add_and_double() 1028 static void point_double(u64 *nq, u64 *tmp1, u64 *tmp2) in point_double() argument 1030 u64 *x2 = nq; in point_double() 1031 u64 *z2 = nq + (u32)4U; in point_double() 1048 fmul2(nq, dc, ab, tmp2); in point_double()
|
| /linux-6.15/drivers/net/ethernet/engleder/ |
| H A D | tsnep_main.c | 349 struct netdev_queue *nq; in tsnep_tx_enable() local 353 __netif_tx_lock_bh(nq); in tsnep_tx_enable() 354 netif_tx_wake_queue(nq); in tsnep_tx_enable() 355 __netif_tx_unlock_bh(nq); in tsnep_tx_enable() 360 struct netdev_queue *nq; in tsnep_tx_disable() local 365 __netif_tx_lock_bh(nq); in tsnep_tx_disable() 366 netif_tx_stop_queue(nq); in tsnep_tx_disable() 367 __netif_tx_unlock_bh(nq); in tsnep_tx_disable() 906 __netif_tx_unlock(nq); in tsnep_tx_poll() 928 __netif_tx_unlock(nq); in tsnep_tx_pending() [all …]
|
| /linux-6.15/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_txrx.c | 398 struct netdev_queue *nq; in ionic_xdp_xmit() local 420 __netif_tx_lock(nq, cpu); in ionic_xdp_xmit() 421 txq_trans_cond_update(nq); in ionic_xdp_xmit() 423 if (netif_tx_queue_stopped(nq) || in ionic_xdp_xmit() 427 __netif_tx_unlock(nq); in ionic_xdp_xmit() 449 __netif_tx_unlock(nq); in ionic_xdp_xmit() 476 struct netdev_queue *nq; in ionic_run_xdp() local 553 txq_trans_cond_update(nq); in ionic_run_xdp() 555 if (netif_tx_queue_stopped(nq) || in ionic_run_xdp() 559 __netif_tx_unlock(nq); in ionic_run_xdp() [all …]
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_uld.c | 111 unsigned int nq = rxq_info->nrxq + rxq_info->nciq; in alloc_uld_rxqs() local 125 for (i = 0; i < nq; i++, q++) { in alloc_uld_rxqs() 403 int nq = txq_info->ntxq; in free_sge_txq_uld() local 406 for (i = 0; i < nq; i++) { in free_sge_txq_uld() 426 int nq = txq_info->ntxq; in alloc_sge_txq_uld() local 429 j = nq / adap->params.nports; in alloc_sge_txq_uld() 430 for (i = 0; i < nq; i++) { in alloc_sge_txq_uld()
|
| /linux-6.15/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_singleq_txrx.c | 203 struct netdev_queue *nq; in idpf_tx_singleq_map() local 295 nq = netdev_get_tx_queue(tx_q->netdev, tx_q->idx); in idpf_tx_singleq_map() 296 netdev_tx_sent_queue(nq, first->bytes); in idpf_tx_singleq_map() 442 struct netdev_queue *nq; in idpf_tx_singleq_clean() local 518 nq = netdev_get_tx_queue(tx_q->netdev, tx_q->idx); in idpf_tx_singleq_clean() 522 __netif_txq_completed_wake(nq, ss.packets, ss.bytes, in idpf_tx_singleq_clean()
|
| H A D | idpf_txrx.c | 2065 struct netdev_queue *nq; in idpf_tx_clean_complq() local 2075 nq = netdev_get_tx_queue(tx_q->netdev, tx_q->idx); in idpf_tx_clean_complq() 2081 __netif_txq_completed_wake(nq, tx_q->cleaned_pkts, tx_q->cleaned_bytes, in idpf_tx_clean_complq() 2188 struct netdev_queue *nq; in idpf_tx_buf_hw_update() local 2190 nq = netdev_get_tx_queue(tx_q->netdev, tx_q->idx); in idpf_tx_buf_hw_update() 2207 if (netif_xmit_stopped(nq) || !xmit_more) in idpf_tx_buf_hw_update() 2344 struct netdev_queue *nq; in idpf_tx_splitq_map() local 2507 nq = netdev_get_tx_queue(tx_q->netdev, tx_q->idx); in idpf_tx_splitq_map() 2508 netdev_tx_sent_queue(nq, first->bytes); in idpf_tx_splitq_map()
|
| /linux-6.15/drivers/net/ethernet/marvell/ |
| H A D | mvneta.c | 1929 netif_tx_wake_queue(nq); in mvneta_txq_done() 2178 struct netdev_queue *nq; in mvneta_xdp_xmit_back() local 2191 __netif_tx_lock(nq, cpu); in mvneta_xdp_xmit_back() 2206 __netif_tx_unlock(nq); in mvneta_xdp_xmit_back() 2220 struct netdev_queue *nq; in mvneta_xdp_xmit() local 2232 __netif_tx_lock(nq, cpu); in mvneta_xdp_xmit() 2244 __netif_tx_unlock(nq); in mvneta_xdp_xmit() 2986 netif_tx_stop_queue(nq); in mvneta_tx() 3029 struct netdev_queue *nq; in mvneta_tx_done_gbe() local 3036 __netif_tx_lock(nq, cpu); in mvneta_tx_done_gbe() [all …]
|
| H A D | mv643xx_eth.c | 498 if (netif_tx_queue_stopped(nq)) { in txq_maybe_wake() 499 __netif_tx_lock(nq, smp_processor_id()); in txq_maybe_wake() 501 netif_tx_wake_queue(nq); in txq_maybe_wake() 502 __netif_tx_unlock(nq); in txq_maybe_wake() 998 struct netdev_queue *nq; in mv643xx_eth_xmit() local 1002 nq = netdev_get_tx_queue(dev, queue); in mv643xx_eth_xmit() 1021 netif_tx_stop_queue(nq); in mv643xx_eth_xmit() 1039 __netif_tx_lock(nq, smp_processor_id()); in txq_kick() 1052 __netif_tx_unlock(nq); in txq_kick() 1063 __netif_tx_lock_bh(nq); in txq_reclaim() [all …]
|
| /linux-6.15/drivers/net/ethernet/freescale/ |
| H A D | fec_main.c | 961 struct netdev_queue *nq; in fec_enet_start_xmit() local 977 netif_tx_stop_queue(nq); in fec_enet_start_xmit() 1469 struct netdev_queue *nq; in fec_enet_tx_queue() local 3942 struct netdev_queue *nq; in fec_enet_xdp_tx_xmit() local 3949 __netif_tx_lock(nq, cpu); in fec_enet_xdp_tx_xmit() 3952 txq_trans_cond_update(nq); in fec_enet_xdp_tx_xmit() 3955 __netif_tx_unlock(nq); in fec_enet_xdp_tx_xmit() 3969 struct netdev_queue *nq; in fec_enet_xdp_xmit() local 3977 __netif_tx_lock(nq, cpu); in fec_enet_xdp_xmit() 3980 txq_trans_cond_update(nq); in fec_enet_xdp_xmit() [all …]
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | t4vf_hw.c | 1272 int nq = min(n, 32); in t4vf_config_rss_range() local 1279 cmd.niqid = cpu_to_be16(nq); in t4vf_config_rss_range() 1285 start += nq; in t4vf_config_rss_range() 1286 n -= nq; in t4vf_config_rss_range() 1293 while (nq > 0) { in t4vf_config_rss_range() 1302 int nqbuf = min(3, nq); in t4vf_config_rss_range() 1304 nq -= nqbuf; in t4vf_config_rss_range()
|
| /linux-6.15/drivers/net/ |
| H A D | tap.c | 127 struct tap_queue *nq; in tap_disable_queue() local 138 nq = rtnl_dereference(tap->taps[tap->numvtaps - 1]); in tap_disable_queue() 139 nq->queue_index = index; in tap_disable_queue() 141 rcu_assign_pointer(tap->taps[index], nq); in tap_disable_queue()
|
| /linux-6.15/arch/s390/mm/ |
| H A D | pgtable.c | 793 unsigned char key, bool nq) in set_guest_storage_key() argument 850 page_set_storage_key(paddr, skey, !nq); in set_guest_storage_key() 874 bool nq, bool mr, bool mc) in cond_set_guest_storage_key() argument 893 rc = set_guest_storage_key(current->mm, addr, key, nq); in cond_set_guest_storage_key()
|
| /linux-6.15/drivers/net/ethernet/intel/igc/ |
| H A D | igc_main.c | 2485 struct netdev_queue *nq; in igc_xdp_xmit_back() local 2493 nq = txring_txq(ring); in igc_xdp_xmit_back() 2495 __netif_tx_lock(nq, cpu); in igc_xdp_xmit_back() 2499 __netif_tx_unlock(nq); in igc_xdp_xmit_back() 2565 struct netdev_queue *nq; in igc_finalize_xdp() local 2570 nq = txring_txq(ring); in igc_finalize_xdp() 2574 __netif_tx_unlock(nq); in igc_finalize_xdp() 3106 __netif_tx_unlock(nq); in igc_xdp_xmit_zc() 6772 struct netdev_queue *nq; in igc_xdp_xmit() local 6783 nq = txring_txq(ring); in igc_xdp_xmit() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/igb/ |
| H A D | igb_main.c | 2938 struct netdev_queue *nq; in igb_xdp_xmit_back() local 2952 nq = txring_txq(tx_ring); in igb_xdp_xmit_back() 2953 __netif_tx_lock(nq, cpu); in igb_xdp_xmit_back() 2957 __netif_tx_unlock(nq); in igb_xdp_xmit_back() 2968 struct netdev_queue *nq; in igb_xdp_xmit() local 2989 nq = txring_txq(tx_ring); in igb_xdp_xmit() 2990 __netif_tx_lock(nq, cpu); in igb_xdp_xmit() 3008 __netif_tx_unlock(nq); in igb_xdp_xmit() 8293 struct netdev_queue *nq; in igb_clean_tx_irq() local 8405 __netif_tx_unlock(nq); in igb_clean_tx_irq() [all …]
|