/Linux-v4.19/arch/s390/include/asm/ |
D | ap.h | 78 static inline struct ap_queue_status ap_tapq(ap_qid_t qid, unsigned long *info) in ap_tapq() argument 80 register unsigned long reg0 asm ("0") = qid; in ap_tapq() 101 static inline struct ap_queue_status ap_test_queue(ap_qid_t qid, in ap_test_queue() argument 106 qid |= 1UL << 23; /* set T bit*/ in ap_test_queue() 107 return ap_tapq(qid, info); in ap_test_queue() 116 static inline struct ap_queue_status ap_rapq(ap_qid_t qid) in ap_rapq() argument 118 register unsigned long reg0 asm ("0") = qid | (1UL << 24); in ap_rapq() 135 static inline struct ap_queue_status ap_zapq(ap_qid_t qid) in ap_zapq() argument 137 register unsigned long reg0 asm ("0") = qid | (2UL << 24); in ap_zapq() 219 static inline struct ap_queue_status ap_aqic(ap_qid_t qid, in ap_aqic() argument [all …]
|
/Linux-v4.19/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 111 u32 qid; in c4iw_get_cqid() local 119 qid = entry->qid; in c4iw_get_cqid() 122 qid = c4iw_get_resource(&rdev->resource.qid_table); in c4iw_get_cqid() 123 if (!qid) in c4iw_get_cqid() 126 rdev->stats.qid.cur += rdev->qpmask + 1; in c4iw_get_cqid() 128 for (i = qid+1; i & rdev->qpmask; i++) { in c4iw_get_cqid() 132 entry->qid = i; in c4iw_get_cqid() 143 entry->qid = qid; in c4iw_get_cqid() 145 for (i = qid+1; i & rdev->qpmask; i++) { in c4iw_get_cqid() 149 entry->qid = i; in c4iw_get_cqid() [all …]
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_debugfs.h | 563 lpfc_debug_dump_wq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_wq_by_id() argument 568 if (phba->sli4_hba.fcp_wq[wq_idx]->queue_id == qid) in lpfc_debug_dump_wq_by_id() 571 pr_err("FCP WQ[Idx:%d|Qid:%d]\n", wq_idx, qid); in lpfc_debug_dump_wq_by_id() 577 if (phba->sli4_hba.nvme_wq[wq_idx]->queue_id == qid) in lpfc_debug_dump_wq_by_id() 580 pr_err("NVME WQ[Idx:%d|Qid:%d]\n", wq_idx, qid); in lpfc_debug_dump_wq_by_id() 585 if (phba->sli4_hba.els_wq->queue_id == qid) { in lpfc_debug_dump_wq_by_id() 586 pr_err("ELS WQ[Qid:%d]\n", qid); in lpfc_debug_dump_wq_by_id() 591 if (phba->sli4_hba.nvmels_wq->queue_id == qid) { in lpfc_debug_dump_wq_by_id() 592 pr_err("NVME LS WQ[Qid:%d]\n", qid); in lpfc_debug_dump_wq_by_id() 606 lpfc_debug_dump_mq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_mq_by_id() argument [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process_queue_manager.c | 31 struct process_queue_manager *pqm, unsigned int qid) in get_queue_by_qid() argument 36 if ((pqn->q && pqn->q->properties.queue_id == qid) || in get_queue_by_qid() 37 (pqn->kq && pqn->kq->queue->properties.queue_id == qid)) in get_queue_by_qid() 45 unsigned int *qid) in find_available_queue_slot() argument 61 *qid = found; in find_available_queue_slot() 115 struct file *f, unsigned int qid) in create_cp_queue() argument 124 q_properties->queue_id = qid; in create_cp_queue() 142 unsigned int *qid) in pqm_create_queue() argument 173 retval = find_available_queue_slot(pqm, qid); in pqm_create_queue() 195 retval = create_cp_queue(pqm, dev, &q, properties, f, *qid); in pqm_create_queue() [all …]
|
/Linux-v4.19/drivers/nvme/host/ |
D | trace.h | 68 #define show_opcode_name(qid, opcode) \ argument 69 (qid ? show_nvm_opcode_name(opcode) : show_admin_opcode_name(opcode)) 76 #define parse_nvme_cmd(qid, opcode, cdw10) \ argument 77 (qid ? \ 101 __field(int, qid) 111 __entry->qid = nvme_req_qid(req); 123 __entry->qid, __entry->cid, __entry->nsid, 125 show_opcode_name(__entry->qid, __entry->opcode), 126 parse_nvme_cmd(__entry->qid, __entry->opcode, __entry->cdw10)) 135 __field(int, qid) [all …]
|
D | pci.c | 137 static inline unsigned int sq_idx(unsigned int qid, u32 stride) in sq_idx() argument 139 return qid * 2 * stride; in sq_idx() 142 static inline unsigned int cq_idx(unsigned int qid, u32 stride) in cq_idx() argument 144 return (qid * 2 + 1) * stride; in cq_idx() 173 u16 qid; member 268 struct nvme_queue *nvmeq, int qid) in nvme_dbbuf_init() argument 270 if (!dev->dbbuf_dbs || !qid) in nvme_dbbuf_init() 273 nvmeq->dbbuf_sq_db = &dev->dbbuf_dbs[sq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init() 274 nvmeq->dbbuf_cq_db = &dev->dbbuf_dbs[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init() 275 nvmeq->dbbuf_sq_ei = &dev->dbbuf_eis[sq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init() [all …]
|
/Linux-v4.19/drivers/s390/crypto/ |
D | zcrypt_api.c | 222 int qid = 0, rc = -ENODEV; in zcrypt_rsa_modexpo() local 277 qid = pref_zq->queue->qid; in zcrypt_rsa_modexpo() 286 AP_QID_CARD(qid), AP_QID_QUEUE(qid)); in zcrypt_rsa_modexpo() 296 int qid = 0, rc = -ENODEV; in zcrypt_rsa_crt() local 351 qid = pref_zq->queue->qid; in zcrypt_rsa_crt() 360 AP_QID_CARD(qid), AP_QID_QUEUE(qid)); in zcrypt_rsa_crt() 372 int qid = 0, rc = -ENODEV; in zcrypt_send_cprb() local 401 (*domain != AP_QID_QUEUE(zq->queue->qid)))) in zcrypt_send_cprb() 420 qid = pref_zq->queue->qid; in zcrypt_send_cprb() 422 *domain = AP_QID_QUEUE(qid); in zcrypt_send_cprb() [all …]
|
D | zcrypt_msgtype6.c | 300 msg->cprbx.domain = AP_QID_QUEUE(zq->queue->qid); in ICAMEX_msg_to_type6MEX_msgX() 370 msg->cprbx.domain = AP_QID_QUEUE(zq->queue->qid); in ICACRT_msg_to_type6CRT_msgX() 656 AP_QID_CARD(zq->queue->qid), in convert_type86_ica() 657 AP_QID_QUEUE(zq->queue->qid), in convert_type86_ica() 666 AP_QID_CARD(zq->queue->qid), in convert_type86_ica() 667 AP_QID_QUEUE(zq->queue->qid), in convert_type86_ica() 673 AP_QID_CARD(zq->queue->qid), in convert_type86_ica() 674 AP_QID_QUEUE(zq->queue->qid)); in convert_type86_ica() 677 AP_QID_CARD(zq->queue->qid), in convert_type86_ica() 678 AP_QID_QUEUE(zq->queue->qid), in convert_type86_ica() [all …]
|
D | ap_queue.c | 34 status = ap_aqic(aq->qid, qirqctrl, ind); in ap_queue_enable_interruption() 44 AP_QID_CARD(aq->qid), in ap_queue_enable_interruption() 45 AP_QID_QUEUE(aq->qid)); in ap_queue_enable_interruption() 68 __ap_send(ap_qid_t qid, unsigned long long psmid, void *msg, size_t length, in __ap_send() argument 72 qid |= 0x400000UL; in __ap_send() 73 return ap_nqap(qid, psmid, msg, length); in __ap_send() 76 int ap_send(ap_qid_t qid, unsigned long long psmid, void *msg, size_t length) in ap_send() argument 80 status = __ap_send(qid, psmid, msg, length, 0); in ap_send() 95 int ap_recv(ap_qid_t qid, unsigned long long *psmid, void *msg, size_t length) in ap_recv() argument 101 status = ap_dqap(qid, psmid, msg, length); in ap_recv() [all …]
|
D | zcrypt_queue.c | 66 AP_QID_CARD(zq->queue->qid), in online_store() 67 AP_QID_QUEUE(zq->queue->qid), in online_store() 170 AP_QID_CARD(zq->queue->qid), AP_QID_QUEUE(zq->queue->qid)); in zcrypt_queue_register() 213 AP_QID_CARD(zq->queue->qid), AP_QID_QUEUE(zq->queue->qid)); in zcrypt_queue_unregister()
|
D | ap_bus.c | 278 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type, in ap_query_queue() argument 285 if (!ap_test_config_card_id(AP_QID_CARD(qid))) in ap_query_queue() 288 status = ap_test_queue(qid, ap_apft_available(), &info); in ap_query_queue() 621 AP_QID_CARD(to_ap_queue(dev)->qid) == (int)(long) data) in __ap_queue_devices_with_id_unregister() 694 card = AP_QID_CARD(to_ap_queue(dev)->qid); in __ap_revise_reserved() 695 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in __ap_revise_reserved() 770 card = AP_QID_CARD(to_ap_queue(dev)->qid); in ap_device_probe() 771 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in ap_device_probe() 1279 static int ap_get_compatible_type(ap_qid_t qid, int rawtype, unsigned int func) in ap_get_compatible_type() argument 1300 status = ap_qact(qid, 0, &apinfo); in ap_get_compatible_type() [all …]
|
/Linux-v4.19/fs/9p/ |
D | cache.c | 99 if (buflen != sizeof(v9inode->qid.version)) in v9fs_cache_inode_check_aux() 102 if (memcmp(buffer, &v9inode->qid.version, in v9fs_cache_inode_check_aux() 103 sizeof(v9inode->qid.version))) in v9fs_cache_inode_check_aux() 130 &v9inode->qid.path, in v9fs_cache_inode_get_cookie() 131 sizeof(v9inode->qid.path), in v9fs_cache_inode_get_cookie() 132 &v9inode->qid.version, in v9fs_cache_inode_get_cookie() 133 sizeof(v9inode->qid.version), in v9fs_cache_inode_get_cookie() 151 fscache_relinquish_cookie(v9inode->fscache, &v9inode->qid.version, in v9fs_cache_inode_put_cookie() 203 &v9inode->qid.path, in v9fs_cache_inode_reset_cookie() 204 sizeof(v9inode->qid.path), in v9fs_cache_inode_reset_cookie() [all …]
|
D | vfs_inode_dotl.c | 84 if (memcmp(&v9inode->qid.version, in v9fs_test_inode_dotl() 85 &st->qid.version, sizeof(v9inode->qid.version))) in v9fs_test_inode_dotl() 88 if (v9inode->qid.type != st->qid.type) in v9fs_test_inode_dotl() 91 if (v9inode->qid.path != st->qid.path) in v9fs_test_inode_dotl() 107 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode_dotl() 113 struct p9_qid *qid, in v9fs_qid_iget_dotl() argument 129 i_ino = v9fs_qid2ino(qid); in v9fs_qid_iget_dotl() 171 inode = v9fs_qid_iget_dotl(sb, &st->qid, fid, st, new); in v9fs_inode_from_fid_dotl() 250 struct p9_qid qid; in v9fs_vfs_atomic_open_dotl() local 304 mode, gid, &qid); in v9fs_vfs_atomic_open_dotl() [all …]
|
/Linux-v4.19/drivers/nvme/target/ |
D | fabrics-cmd.c | 101 u16 qid = le16_to_cpu(c->qid); in nvmet_install_queue() local 116 nvmet_cq_setup(ctrl, req->cq, qid, sqsize + 1); in nvmet_install_queue() 117 nvmet_sq_setup(ctrl, req->sq, qid, sqsize + 1); in nvmet_install_queue() 183 u16 qid = le16_to_cpu(c->qid); in nvmet_execute_io_connect() local 212 if (unlikely(qid > ctrl->subsys->max_qid)) { in nvmet_execute_io_connect() 213 pr_warn("invalid queue id (%d)\n", qid); in nvmet_execute_io_connect() 215 req->rsp->result.u32 = IPO_IATTR_CONNECT_SQE(qid); in nvmet_execute_io_connect() 226 pr_debug("adding queue %d to ctrl %d.\n", qid, ctrl->cntlid); in nvmet_execute_io_connect() 255 if (cmd->connect.qid == 0) in nvmet_parse_connect_cmd()
|
/Linux-v4.19/include/linux/ |
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() 187 static inline bool qid_has_mapping(struct user_namespace *ns, struct kqid qid) in qid_has_mapping() argument 189 return from_kqid(ns, qid) != (qid_t) -1; in qid_has_mapping() 318 …int (*get_next_id)(struct super_block *sb, struct kqid *qid); /* Get next ID with existing structu… [all …]
|
/Linux-v4.19/fs/xfs/ |
D | xfs_quotaops.c | 218 struct kqid qid, in xfs_fs_get_dqblk() argument 229 id = from_kqid(&init_user_ns, qid); in xfs_fs_get_dqblk() 230 return xfs_qm_scall_getquota(mp, id, xfs_quota_type(qid.type), qdq); in xfs_fs_get_dqblk() 237 struct kqid *qid, in xfs_fs_get_nextdqblk() argument 249 id = from_kqid(&init_user_ns, *qid); in xfs_fs_get_nextdqblk() 250 ret = xfs_qm_scall_getquota_next(mp, &id, xfs_quota_type(qid->type), in xfs_fs_get_nextdqblk() 256 *qid = make_kqid(current_user_ns(), qid->type, id); in xfs_fs_get_nextdqblk() 263 struct kqid qid, in xfs_fs_set_dqblk() argument 275 return xfs_qm_scall_setqlim(mp, from_kqid(&init_user_ns, qid), in xfs_fs_set_dqblk() 276 xfs_quota_type(qid.type), qdq); in xfs_fs_set_dqblk()
|
/Linux-v4.19/fs/quota/ |
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()
|
D | quota.c | 202 struct kqid qid; in quota_getquota() local 209 qid = make_kqid(current_user_ns(), type, id); in quota_getquota() 210 if (!qid_has_mapping(sb->s_user_ns, qid)) in quota_getquota() 212 ret = sb->s_qcop->get_dqblk(sb, qid, &fdq); in quota_getquota() 228 struct kqid qid; in quota_getnextquota() local 235 qid = make_kqid(current_user_ns(), type, id); in quota_getnextquota() 236 if (!qid_has_mapping(sb->s_user_ns, qid)) in quota_getnextquota() 238 ret = sb->s_qcop->get_nextdqblk(sb, &qid, &fdq); in quota_getnextquota() 243 idq.dqb_id = from_kqid(current_user_ns(), qid); in quota_getnextquota() 280 struct kqid qid; in quota_setquota() local [all …]
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/ |
D | mt76x2_common.c | 237 u8 cw_min = 5, cw_max = 10, qid; in mt76x2_conf_tx() local 240 qid = dev->mt76.q_tx[queue].hw_idx; in mt76x2_conf_tx() 251 mt76_wr(dev, MT_EDCA_CFG_AC(qid), val); in mt76x2_conf_tx() 253 val = mt76_rr(dev, MT_WMM_TXOP(qid)); in mt76x2_conf_tx() 254 val &= ~(MT_WMM_TXOP_MASK << MT_WMM_TXOP_SHIFT(qid)); in mt76x2_conf_tx() 255 val |= params->txop << MT_WMM_TXOP_SHIFT(qid); in mt76x2_conf_tx() 256 mt76_wr(dev, MT_WMM_TXOP(qid), val); in mt76x2_conf_tx() 259 val &= ~(MT_WMM_AIFSN_MASK << MT_WMM_AIFSN_SHIFT(qid)); in mt76x2_conf_tx() 260 val |= params->aifs << MT_WMM_AIFSN_SHIFT(qid); in mt76x2_conf_tx() 264 val &= ~(MT_WMM_CWMIN_MASK << MT_WMM_CWMIN_SHIFT(qid)); in mt76x2_conf_tx() [all …]
|
/Linux-v4.19/net/9p/ |
D | client.c | 916 memset(&fid->qid, 0, sizeof(struct p9_qid)); in p9_fid_create() 1119 struct p9_qid qid; in p9_client_attach() local 1138 err = p9pdu_readf(req->rc, clnt->proto_version, "Q", &qid); in p9_client_attach() 1146 qid.type, (unsigned long long)qid.path, qid.version); in p9_client_attach() 1148 memmove(&fid->qid, &qid, sizeof(struct p9_qid)); in p9_client_attach() 1217 memmove(&fid->qid, &wqids[nwqids - 1], sizeof(struct p9_qid)); in p9_client_walk() 1219 fid->qid = oldfid->qid; in p9_client_walk() 1242 struct p9_qid qid; in p9_client_open() local 1262 err = p9pdu_readf(req->rc, clnt->proto_version, "Qd", &qid, &iounit); in p9_client_open() 1269 p9_is_proto_dotl(clnt) ? "RLOPEN" : "ROPEN", qid.type, in p9_client_open() [all …]
|
D | protocol.c | 191 struct p9_qid *qid = in p9pdu_vreadf() local 195 &qid->type, &qid->version, in p9pdu_vreadf() 196 &qid->path); in p9pdu_vreadf() 211 &stbuf->dev, &stbuf->qid, in p9pdu_vreadf() 325 &stbuf->qid, in p9pdu_vreadf() 421 const struct p9_qid *qid = in p9pdu_vwritef() local 425 qid->type, qid->version, in p9pdu_vwritef() 426 qid->path); in p9pdu_vwritef() 435 stbuf->dev, &stbuf->qid, in p9pdu_vwritef() 615 ret = p9pdu_readf(&fake_pdu, clnt->proto_version, "Qqbs", &dirent->qid, in p9dirent_read()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 234 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_queue_create() argument 240 DP(BNX2X_MSG_IOV, "vf[%d:%d]\n", vf->abs_vfid, qid); in bnx2x_vf_queue_create() 244 q_params->q_obj = &bnx2x_vfq(vf, qid, sp_obj); in bnx2x_vf_queue_create() 267 bnx2x_vf_igu_ack_sb(bp, vf, vf_igu_sb(vf, bnx2x_vfq(vf, qid, sb_idx)), in bnx2x_vf_queue_create() 274 int qid) in bnx2x_vf_queue_destroy() argument 286 q_params.q_obj = &bnx2x_vfq(vf, qid, sp_obj); in bnx2x_vf_queue_destroy() 306 if (bnx2x_vfq(vf, qid, cxt)) { in bnx2x_vf_queue_destroy() 307 bnx2x_vfq(vf, qid, cxt)->ustorm_ag_context.cdu_usage = 0; in bnx2x_vf_queue_destroy() 308 bnx2x_vfq(vf, qid, cxt)->xstorm_ag_context.cdu_reserved = 0; in bnx2x_vf_queue_destroy() 355 int qid, bool drv_only, int type) in bnx2x_vf_vlan_mac_clear() argument [all …]
|
/Linux-v4.19/drivers/net/hyperv/ |
D | netvsc_trace.h | 139 __field( u16, qid ) 146 __entry->qid = chan->offermsg.offer.sub_channel_index; 152 __get_str(name), __entry->qid, 164 __field( u16, qid ) 169 __entry->qid = chan->offermsg.offer.sub_channel_index; 173 __get_str(name), __entry->qid,
|
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800mmio.c | 263 u8 qid; in rt2800mmio_txdone() local 267 qid = rt2x00_get_field32(status, TX_STA_FIFO_PID_QUEUE); in rt2800mmio_txdone() 268 if (unlikely(qid >= QID_RX)) { in rt2800mmio_txdone() 274 qid); in rt2800mmio_txdone() 278 queue = rt2x00queue_get_tx_queue(rt2x00dev, qid); in rt2800mmio_txdone() 285 qid); in rt2800mmio_txdone() 295 qid); in rt2800mmio_txdone() 314 qid); in rt2800mmio_txdone() 570 switch (queue->qid) { in rt2800mmio_start_queue() 598 switch (queue->qid) { in rt2800mmio_kick_queue() [all …]
|
/Linux-v4.19/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 152 struct ena_ring *ring, u16 qid) in ena_init_io_rings_common() argument 154 ring->qid = qid; in ena_init_io_rings_common() 158 ring->napi = &adapter->ena_napi[qid].napi; in ena_init_io_rings_common() 209 static int ena_setup_tx_resources(struct ena_adapter *adapter, int qid) in ena_setup_tx_resources() argument 211 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() 212 struct ena_irq *ena_irq = &adapter->irq_tbl[ENA_IO_IRQ_IDX(qid)]; in ena_setup_tx_resources() 260 static void ena_free_tx_resources(struct ena_adapter *adapter, int qid) in ena_free_tx_resources() argument 262 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() 337 u32 qid) in ena_setup_rx_resources() argument 339 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources() [all …]
|