/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | htb.c | 17 u16 qid; member 81 node->qid = qid; in mlx5e_htb_node_create_leaf() 150 u16 qid; in mlx5e_htb_get_txq_by_classid() local 160 qid = READ_ONCE(node->qid); in mlx5e_htb_get_txq_by_classid() 292 int qid; in mlx5e_htb_leaf_alloc_queue() local 390 qid = node->qid; in mlx5e_htb_leaf_to_inner() 437 if (node->qid == qid) in mlx5e_htb_node_find_by_qid() 460 qid = node->qid; in mlx5e_htb_leaf_del() 518 WRITE_ONCE(node->qid, qid); in mlx5e_htb_leaf_del() 570 qid = node->qid; in mlx5e_htb_leaf_del_last() [all …]
|
A D | qos.c | 61 ix = qid % params->num_channels; in mlx5e_get_qos_sq() 62 qid /= params->num_channels; in mlx5e_get_qos_sq() 76 int txq_ix, ix, qid, err = 0; in mlx5e_open_qos_sq() local 135 rcu_assign_pointer(qos_sqs[qid], sq); in mlx5e_open_qos_sq() 157 u16 qid; in mlx5e_activate_qos_sq() local 168 priv->txq2sq[qid] = sq; in mlx5e_activate_qos_sq() 186 sq = mlx5e_get_qos_sq(priv, qid); in mlx5e_deactivate_qos_sq() 212 ix = qid % params->num_channels; in mlx5e_close_qos_sq() 213 qid /= params->num_channels; in mlx5e_close_qos_sq() 409 htb_qopt->qid = res; in mlx5e_htb_setup_tc() [all …]
|
A D | qos.h | 24 void mlx5e_deactivate_qos_sq(struct mlx5e_priv *priv, u16 qid); 25 void mlx5e_close_qos_sq(struct mlx5e_priv *priv, u16 qid); 26 void mlx5e_reactivate_qos_sq(struct mlx5e_priv *priv, u16 qid, struct netdev_queue *txq); 27 void mlx5e_reset_qdisc(struct net_device *dev, u16 qid); 38 u16 mlx5e_qid_from_qos(struct mlx5e_channels *chs, u16 qid);
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_pci.c | 244 return fw->evt_queue[qid].len; in prestera_fw_evtq_len() 256 u8 qid, u32 idx) in prestera_fw_evtq_rd_set() argument 265 return fw->evt_queue[qid].addr; in prestera_fw_evtq_buf() 298 int qid; in prestera_fw_evtq_pick() local 300 for (qid = 0; qid < fw->evt_qnum; qid++) { in prestera_fw_evtq_pick() 302 return qid; in prestera_fw_evtq_pick() 321 u8 qid; in prestera_fw_evt_work_fn() local 373 return fw->cmd_queue[qid].len; in prestera_fw_cmdq_len() 455 u8 qid; in prestera_fw_init() local 478 for (qid = 0; qid < fw->cmd_qnum; qid++) { in prestera_fw_init() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/cxgb4/ |
A D | resource.c | 111 u32 qid; in c4iw_get_cqid() local 119 qid = entry->qid; in c4iw_get_cqid() 143 entry->qid = qid; in c4iw_get_cqid() 157 if (rdev->stats.qid.cur > rdev->stats.qid.max) in c4iw_get_cqid() 158 rdev->stats.qid.max = rdev->stats.qid.cur; in c4iw_get_cqid() 172 entry->qid = qid; in c4iw_put_cqid() 189 qid = entry->qid; in c4iw_get_qpid() 217 entry->qid = qid; in c4iw_get_qpid() 231 if (rdev->stats.qid.cur > rdev->stats.qid.max) in c4iw_get_qpid() 232 rdev->stats.qid.max = rdev->stats.qid.cur; in c4iw_get_qpid() [all …]
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | ap.h | 108 : [qid] "d" (qid) in ap_tapq() 128 qid |= 1UL << 23; /* set T bit*/ in ap_test_queue() 129 return ap_tapq(qid, info); in ap_test_queue() 138 static inline struct ap_queue_status ap_rapq(ap_qid_t qid) in ap_rapq() argument 140 unsigned long reg0 = qid | (1UL << 24); /* fc 1UL is RAPQ */ in ap_rapq() 159 static inline struct ap_queue_status ap_zapq(ap_qid_t qid) in ap_zapq() argument 161 unsigned long reg0 = qid | (2UL << 24); /* fc 2UL is ZAPQ */ in ap_zapq() 250 static inline struct ap_queue_status ap_aqic(ap_qid_t qid, in ap_aqic() argument 254 unsigned long reg0 = qid | (3UL << 24); /* fc 3UL is AQIC */ in ap_aqic() 333 static inline struct ap_queue_status ap_nqap(ap_qid_t qid, in ap_nqap() argument [all …]
|
/linux-6.3-rc2/drivers/nvme/host/ |
A D | auth.c | 27 int qid; member 82 qid == 0 ? NVME_QID_ANY : qid, in nvme_auth_submit() 245 chap->qid); in nvme_auth_process_dhchap_challenge() 266 chap->qid); in nvme_auth_process_dhchap_challenge() 329 __func__, chap->qid, in nvme_auth_set_dhchap_reply_data() 361 if (chap->qid == 0) in nvme_auth_process_dhchap_success1() 379 chap->qid); in nvme_auth_process_dhchap_success1() 385 if (chap->qid == 0) in nvme_auth_process_dhchap_success1() 448 chap->qid, ret); in nvme_auth_dhchap_setup_host_response() 526 chap->qid, ret); in nvme_auth_dhchap_setup_ctrl_response() [all …]
|
A D | trace.h | 26 #define parse_nvme_cmd(qid, opcode, fctype, cdw10) \ argument 29 ((qid) ? \ 53 __field(int, qid) 64 __entry->qid = nvme_req_qid(req); 77 __entry->qid, __entry->cid, __entry->nsid, 91 __field(int, qid) 100 __entry->qid = nvme_req_qid(req); 110 __entry->qid, __entry->cid, __entry->result, 150 __field(int, qid) 157 __entry->qid = nvme_req_qid(req); [all …]
|
/linux-6.3-rc2/drivers/scsi/lpfc/ |
A D | lpfc_debugfs.h | 583 if (phba->sli4_hba.els_wq->queue_id == qid) { in lpfc_debug_dump_wq_by_id() 584 pr_err("ELS WQ[Qid:%d]\n", qid); in lpfc_debug_dump_wq_by_id() 590 pr_err("NVME LS WQ[Qid:%d]\n", qid); in lpfc_debug_dump_wq_by_id() 606 if (phba->sli4_hba.mbx_wq->queue_id == qid) { in lpfc_debug_dump_mq_by_id() 607 printk(KERN_ERR "MBX WQ[Qid:%d]\n", qid); in lpfc_debug_dump_mq_by_id() 623 if (phba->sli4_hba.hdr_rq->queue_id == qid) { in lpfc_debug_dump_rq_by_id() 624 printk(KERN_ERR "HDR RQ[Qid:%d]\n", qid); in lpfc_debug_dump_rq_by_id() 629 printk(KERN_ERR "DAT RQ[Qid:%d]\n", qid); in lpfc_debug_dump_rq_by_id() 658 pr_err("ELS CQ[Qid:%d]\n", qid); in lpfc_debug_dump_cq_by_id() 664 pr_err("NVME LS CQ[Qid:%d]\n", qid); in lpfc_debug_dump_cq_by_id() [all …]
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | fabrics-cmd-auth.c | 41 __func__, ctrl->cntlid, req->sq->qid, in nvmet_auth_negotiate() 107 __func__, ctrl->cntlid, req->sq->qid, in nvmet_auth_negotiate() 137 ctrl->cntlid, req->sq->qid); in nvmet_auth_reply() 143 ctrl->cntlid, req->sq->qid); in nvmet_auth_reply() 150 ctrl->cntlid, req->sq->qid); in nvmet_auth_reply() 241 ctrl->cntlid, req->sq->qid); in nvmet_execute_auth_send() 242 if (!req->sq->qid) { in nvmet_execute_auth_send() 333 ctrl->cntlid, req->sq->qid, in nvmet_execute_auth_send() 410 ctrl->cntlid, req->sq->qid); in nvmet_auth_success1() 490 ctrl->cntlid, req->sq->qid, in nvmet_execute_auth_receive() [all …]
|
A D | trace.h | 28 #define parse_nvme_cmd(qid, opcode, fctype, cdw10) \ argument 31 (qid ? \ 68 __field(int, qid) 81 __entry->qid = req->sq->qid; 95 __entry->qid, __entry->cid, __entry->nsid, 97 show_opcode_name(__entry->qid, __entry->opcode, 99 parse_nvme_cmd(__entry->qid, __entry->opcode, 109 __field(int, qid) 116 __entry->qid = req->cq->qid; 125 __entry->qid, __entry->cid, __entry->result, __entry->status)
|
A D | fabrics-cmd.c | 140 u16 qid = le16_to_cpu(c->qid); in nvmet_install_queue() local 154 if (ctrl->sqs[qid] != NULL) { in nvmet_install_queue() 155 pr_warn("qid %u has already been created\n", qid); in nvmet_install_queue() 176 nvmet_cq_setup(ctrl, req->cq, qid, sqsize + 1); in nvmet_install_queue() 177 nvmet_sq_setup(ctrl, req->sq, qid, sqsize + 1); in nvmet_install_queue() 188 qid, ctrl->cntlid, ret); in nvmet_install_queue() 189 ctrl->sqs[qid] = NULL; in nvmet_install_queue() 290 u16 qid = le16_to_cpu(c->qid); in nvmet_execute_io_connect() local 323 if (unlikely(qid > ctrl->subsys->max_qid)) { in nvmet_execute_io_connect() 324 pr_warn("invalid queue id (%d)\n", qid); in nvmet_execute_io_connect() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_process_queue_manager.c | 47 unsigned int qid) in assign_queue_slot_by_qid() argument 61 unsigned int *qid) in find_available_queue_slot() argument 77 *qid = found; in find_available_queue_slot() 184 unsigned int qid) in init_user_queue() argument 230 unsigned int *qid, in pqm_create_queue() argument 268 *qid = q_data->q_id; in pqm_create_queue() 526 unsigned int qid) in pqm_get_kernel_queue() argument 538 unsigned int qid) in pqm_get_user_queue() argument 547 unsigned int qid, in pqm_get_wave_state() argument 557 qid); in pqm_get_wave_state() [all …]
|
/linux-6.3-rc2/drivers/s390/crypto/ |
A D | ap_queue.c | 75 qid |= 0x400000UL; in __ap_send() 182 AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); in ap_sm_recv() 232 AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); in ap_sm_read() 247 ap_qid_t qid = aq->qid; in ap_sm_write() local 258 qid = 0xFF00; in ap_sm_write() 299 AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); in ap_sm_write() 337 AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); in ap_sm_reset() 380 AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); in ap_sm_reset_wait() 421 AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); in ap_sm_setirq_wait() 579 __func__, AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); in reset_store() [all …]
|
A D | zcrypt_api.c | 760 qid = pref_zq->queue->qid; in zcrypt_rsa_modexpo() 774 AP_QID_CARD(qid), AP_QID_QUEUE(qid)); in zcrypt_rsa_modexpo() 870 qid = pref_zq->queue->qid; in zcrypt_rsa_crt() 884 AP_QID_CARD(qid), AP_QID_QUEUE(qid)); in zcrypt_rsa_crt() 1001 qid = pref_zq->queue->qid; in _zcrypt_send_cprb() 1026 AP_QID_CARD(qid), AP_QID_QUEUE(qid)); in _zcrypt_send_cprb() 1194 qid = pref_zq->queue->qid; in _zcrypt_send_ep11_cprb() 1272 qid = pref_zq->queue->qid; in zcrypt_rng() 1306 stat->qid = zq->queue->qid; in zcrypt_device_status_mask() 1331 stat->qid = zq->queue->qid; in zcrypt_device_status_mask_ext() [all …]
|
A D | zcrypt_msgtype6.c | 634 AP_QID_QUEUE(zq->queue->qid), in convert_type86_ica() 640 AP_QID_CARD(zq->queue->qid), in convert_type86_ica() 641 AP_QID_QUEUE(zq->queue->qid), in convert_type86_ica() 805 AP_QID_CARD(zq->queue->qid), in convert_response_ica() 806 AP_QID_QUEUE(zq->queue->qid), in convert_response_ica() 840 AP_QID_CARD(zq->queue->qid), in convert_response_xcrb() 841 AP_QID_QUEUE(zq->queue->qid), in convert_response_xcrb() 870 AP_QID_CARD(zq->queue->qid), in convert_response_ep11_xcrb() 901 AP_QID_CARD(zq->queue->qid), in convert_response_rng() 1269 AP_QID_QUEUE(zq->queue->qid); in zcrypt_msgtype6_send_ep11_cprb() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_xsk.c | 15 int qid = ring->ring_idx; in ixgbe_xsk_pool() local 25 u16 qid) in ixgbe_xsk_pool_enable() argument 31 if (qid >= adapter->num_rx_queues) in ixgbe_xsk_pool_enable() 34 if (qid >= netdev->real_num_rx_queues || in ixgbe_xsk_pool_enable() 35 qid >= netdev->real_num_tx_queues) in ixgbe_xsk_pool_enable() 46 ixgbe_txrx_ring_disable(adapter, qid); in ixgbe_xsk_pool_enable() 48 set_bit(qid, adapter->af_xdp_zc_qps); in ixgbe_xsk_pool_enable() 51 ixgbe_txrx_ring_enable(adapter, qid); in ixgbe_xsk_pool_enable() 84 ixgbe_txrx_ring_enable(adapter, qid); in ixgbe_xsk_pool_disable() 91 u16 qid) in ixgbe_xsk_pool_setup() argument [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | quota.h | 79 extern qid_t from_kqid(struct user_namespace *to, struct kqid qid); 80 extern qid_t from_kqid_munged(struct user_namespace *to, struct kqid qid); 81 extern bool qid_valid(struct kqid qid); 98 enum quota_type type, qid_t qid) in make_kqid() argument 105 kqid.uid = make_kuid(from, qid); in make_kqid() 108 kqid.gid = make_kgid(from, qid); in make_kqid() 111 kqid.projid = make_kprojid(from, qid); in make_kqid() 189 return from_kqid(ns, qid) != (qid_t) -1; in qid_has_mapping() 337 int (*get_next_id) (struct super_block *sb, struct kqid *qid); 509 extern void quota_send_warning(struct kqid qid, dev_t dev, [all …]
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_quotaops.c | 216 struct kqid qid, in xfs_fs_get_dqblk() argument 225 id = from_kqid(&init_user_ns, qid); in xfs_fs_get_dqblk() 226 return xfs_qm_scall_getquota(mp, id, xfs_quota_type(qid.type), qdq); in xfs_fs_get_dqblk() 233 struct kqid *qid, in xfs_fs_get_nextdqblk() argument 243 id = from_kqid(&init_user_ns, *qid); in xfs_fs_get_nextdqblk() 244 ret = xfs_qm_scall_getquota_next(mp, &id, xfs_quota_type(qid->type), in xfs_fs_get_nextdqblk() 250 *qid = make_kqid(current_user_ns(), qid->type, id); in xfs_fs_get_nextdqblk() 257 struct kqid qid, in xfs_fs_set_dqblk() argument 267 return xfs_qm_scall_setqlim(mp, from_kqid(&init_user_ns, qid), in xfs_fs_set_dqblk() 268 xfs_quota_type(qid.type), qdq); in xfs_fs_set_dqblk()
|
/linux-6.3-rc2/drivers/vdpa/alibaba/ |
A D | eni_vdpa.c | 273 if (!vp_legacy_get_queue_enable(ldev, qid) in eni_vdpa_set_vq_state() 281 static void eni_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 qid, in eni_vdpa_set_vq_cb() argument 286 eni_vdpa->vring[qid].cb = *cb; in eni_vdpa_set_vq_cb() 299 vp_legacy_set_queue_address(ldev, qid, 0); in eni_vdpa_set_vq_ready() 306 return vp_legacy_get_queue_enable(ldev, qid); in eni_vdpa_get_vq_ready() 309 static void eni_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 qid, in eni_vdpa_set_vq_num() argument 314 u16 n = vp_legacy_get_queue_size(ldev, qid); in eni_vdpa_set_vq_num() 323 qid, n, num); in eni_vdpa_set_vq_num() 333 vp_legacy_set_queue_address(ldev, qid, pfn); in eni_vdpa_set_vq_address() 338 static void eni_vdpa_kick_vq(struct vdpa_device *vdpa, u16 qid) in eni_vdpa_kick_vq() argument [all …]
|
/linux-6.3-rc2/drivers/vdpa/virtio_pci/ |
A D | vp_vdpa.c | 289 !vp_modern_get_queue_enable(mdev, qid)) { in vp_vdpa_set_vq_state() 305 vp_vdpa->vring[qid].cb = *cb; in vp_vdpa_set_vq_cb() 309 u16 qid, bool ready) in vp_vdpa_set_vq_ready() argument 313 vp_modern_set_queue_enable(mdev, qid, ready); in vp_vdpa_set_vq_ready() 320 return vp_modern_get_queue_enable(mdev, qid); in vp_vdpa_get_vq_ready() 328 vp_modern_set_queue_size(mdev, qid, num); in vp_vdpa_set_vq_num() 337 vp_modern_queue_address(mdev, qid, desc_area, in vp_vdpa_set_vq_address() 343 static void vp_vdpa_kick_vq(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_kick_vq() argument 347 vp_iowrite16(qid, vp_vdpa->vring[qid].notify); in vp_vdpa_kick_vq() 425 vp_vdpa_get_vq_notification(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_get_vq_notification() argument [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_xsk.c | 87 u16 qid) in i40e_xsk_pool_enable() argument 96 if (qid >= vsi->num_queue_pairs) in i40e_xsk_pool_enable() 99 if (qid >= netdev->real_num_rx_queues || in i40e_xsk_pool_enable() 100 qid >= netdev->real_num_tx_queues) in i40e_xsk_pool_enable() 107 set_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_enable() 112 err = i40e_queue_pair_disable(vsi, qid); in i40e_xsk_pool_enable() 120 err = i40e_queue_pair_enable(vsi, qid); in i40e_xsk_pool_enable() 160 clear_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_disable() 167 err = i40e_queue_pair_enable(vsi, qid); in i40e_xsk_pool_disable() 187 u16 qid) in i40e_xsk_pool_setup() argument [all …]
|
/linux-6.3-rc2/fs/quota/ |
A D | kqid.c | 120 bool qid_valid(struct kqid qid) in qid_valid() argument 122 switch (qid.type) { in qid_valid() 124 return uid_valid(qid.uid); in qid_valid() 126 return gid_valid(qid.gid); in qid_valid() 128 return projid_valid(qid.projid); in qid_valid()
|
/linux-6.3-rc2/net/9p/ |
A D | client.c | 1126 qid.type, qid.path, qid.version); in p9_client_attach() 1128 memmove(&fid->qid, &qid, sizeof(struct p9_qid)); in p9_client_attach() 1249 qid.path, qid.version, iounit); in p9_client_open() 1251 memmove(&fid->qid, &qid, sizeof(struct p9_qid)); in p9_client_open() 1293 qid->type, qid->path, qid->version, iounit); in p9_client_create_dotl() 1337 qid.type, qid.path, qid.version, iounit); in p9_client_fcreate() 1375 qid->type, qid->path, qid->version); in p9_client_symlink() 1763 ret->qid.type, ret->qid.path, ret->qid.version, in p9_client_getattr_dotl() 1830 wst->qid.path, wst->qid.version, in p9_client_wstat() 2141 qid->type, qid->path, qid->version); in p9_client_mknod_dotl() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | tx.c | 286 struct mt76_queue *q = phy->q_tx[qid]; in __mt76_tx_queue_skb() 318 int qid = skb_get_queue_mapping(skb); in mt76_tx() local 325 if (WARN_ON(qid >= MT_TXQ_PSD)) { in mt76_tx() 326 qid = MT_TXQ_BE; in mt76_tx() 327 skb_set_queue_mapping(skb, qid); in mt76_tx() 334 qid = MT_TXQ_PSD; in mt76_tx() 342 q = phy->q_tx[qid]; in mt76_tx() 505 struct mt76_queue *q = phy->q_tx[qid]; in mt76_txq_schedule_list() 523 txq = ieee80211_next_txq(phy->hw, qid); in mt76_txq_schedule_list() 561 if (qid >= 4) in mt76_txq_schedule() [all …]
|