/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_cmd.c | 94 &hr_dev->cmd.context[token % hr_dev->cmd.max_cmds]; in hns_roce_cmd_event() 125 context->token += cmd->max_cmds; in __hns_roce_cmd_mbox_wait() 201 hr_dev->cmd.max_cmds = CMD_MAX_NUM; in hns_roce_cmd_init() 222 kcalloc(hr_cmd->max_cmds, sizeof(*hr_cmd->context), GFP_KERNEL); in hns_roce_cmd_use_events() 228 for (i = 0; i < hr_cmd->max_cmds; ++i) { in hns_roce_cmd_use_events() 233 hr_cmd->context[hr_cmd->max_cmds - 1].next = 0; in hns_roce_cmd_use_events() 236 sema_init(&hr_cmd->event_sem, hr_cmd->max_cmds); in hns_roce_cmd_use_events()
|
/linux-6.12.1/fs/smb/server/ |
D | smb2ops.c | 203 conn->max_cmds = ARRAY_SIZE(smb2_0_server_cmds); in init_smb2_1_server() 220 conn->max_cmds = ARRAY_SIZE(smb2_0_server_cmds); in init_smb3_0_server() 250 conn->max_cmds = ARRAY_SIZE(smb2_0_server_cmds); in init_smb3_02_server() 279 conn->max_cmds = ARRAY_SIZE(smb2_0_server_cmds); in init_smb3_11_server()
|
D | connection.h | 44 unsigned int max_cmds; member
|
D | server.c | 127 if (command >= conn->max_cmds) { in __process_request()
|
D | smb_common.c | 409 conn->max_cmds = ARRAY_SIZE(smb1_server_cmds); in init_smb1_server()
|
/linux-6.12.1/drivers/scsi/ |
D | ips.c | 669 scb = &ha->scbs[ha->max_cmds - 1]; in ips_release() 736 scb = &ha->scbs[ha->max_cmds - 1]; in ips_halt() 873 scb = &ha->scbs[ha->max_cmds - 1]; in __ips_eh_reset() 1184 min = ha->max_cmds / 2; in ips_slave_configure() 1186 min = ha->max_cmds - 1; in ips_slave_configure() 2103 ha->max_cmds); in ips_host_info() 2314 scb = &ha->scbs[ha->max_cmds - 1]; in ips_get_bios_version() 2456 ha->max_cmds = ha->enq->ucConcurrentCmdCount; in ips_hainit() 2461 ha->max_cmds = 32; in ips_hainit() 2465 ha->max_cmds = 16; in ips_hainit() [all …]
|
D | megaraid.c | 296 adapter->max_cmds = adapter->product_info.max_commands; in mega_query_adapter() 298 if(adapter->max_cmds > MAX_COMMANDS) in mega_query_adapter() 299 adapter->max_cmds = MAX_COMMANDS; in mega_query_adapter() 301 adapter->host->can_queue = adapter->max_cmds - 1; in mega_query_adapter() 1803 for(i = 0; i < adapter->max_cmds; i++) { in mega_free_sgl() 2079 adapter->product_info.max_commands, adapter->max_cmds); in proc_show_config() 2858 for( i = 0; i < adapter->max_cmds; i++ ) { in mega_init_scb() 2868 for( i = 0; i < adapter->max_cmds; i++ ) { in mega_init_scb()
|
D | ipr.h | 42 #define IPR_NUM_BASE_CMD_BLKS (ioa_cfg->max_cmds) 1341 u16 max_cmds; member 1526 u32 max_cmds; member
|
D | myrb.h | 280 unsigned short max_cmds; /* Bytes 60-61 */ member
|
D | megaraid.h | 816 u8 max_cmds; member
|
D | ips.h | 1015 uint32_t max_cmds; /* Max concurrent commands */ member
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_dsb.h | 32 unsigned int max_cmds);
|
D | intel_dsb.c | 696 unsigned int max_cmds) in intel_dsb_prepare() argument 720 size = ALIGN(max_cmds * 8, CACHELINE_BYTES); in intel_dsb_prepare()
|
/linux-6.12.1/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 562 dev->cmd.context = kmalloc_array(dev->cmd.max_cmds, in mthca_cmd_use_events() 568 for (i = 0; i < dev->cmd.max_cmds; ++i) { in mthca_cmd_use_events() 573 dev->cmd.context[dev->cmd.max_cmds - 1].next = -1; in mthca_cmd_use_events() 576 sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds); in mthca_cmd_use_events() 580 dev->cmd.token_mask < dev->cmd.max_cmds; in mthca_cmd_use_events() 601 for (i = 0; i < dev->cmd.max_cmds; ++i) in mthca_cmd_use_polling() 826 dev->cmd.max_cmds = 1 << lg; in mthca_QUERY_FW() 829 (unsigned long long) dev->fw_ver, dev->cmd.max_cmds); in mthca_QUERY_FW()
|
D | mthca_dev.h | 124 int max_cmds; member
|
/linux-6.12.1/drivers/scsi/megaraid/ |
D | mega_common.h | 181 int max_cmds; member
|
/linux-6.12.1/drivers/vhost/ |
D | scsi.c | 189 int max_cmds; member 1596 for (i = 0; i < svq->max_cmds; i++) { in vhost_scsi_destroy_vq_cmds() 1610 static int vhost_scsi_setup_vq_cmds(struct vhost_virtqueue *vq, int max_cmds) in vhost_scsi_setup_vq_cmds() argument 1620 if (sbitmap_init_node(&svq->scsi_tags, max_cmds, -1, GFP_KERNEL, in vhost_scsi_setup_vq_cmds() 1623 svq->max_cmds = max_cmds; in vhost_scsi_setup_vq_cmds() 1625 svq->scsi_cmds = kcalloc(max_cmds, sizeof(*tv_cmd), GFP_KERNEL); in vhost_scsi_setup_vq_cmds() 1631 for (i = 0; i < max_cmds; i++) { in vhost_scsi_setup_vq_cmds()
|
/linux-6.12.1/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 176 __be32 max_cmds; member 229 __be32 max_cmds; member
|
D | ibmvfc.c | 1491 u16 max_cmds; in ibmvfc_set_login_info() local 1493 max_cmds = scsi_qdepth + IBMVFC_NUM_INTERNAL_REQ; in ibmvfc_set_login_info() 1495 max_cmds += (scsi_qdepth + IBMVFC_NUM_INTERNAL_SUBQ_REQ) * in ibmvfc_set_login_info() 1511 login_info->max_cmds = cpu_to_be32(max_cmds); in ibmvfc_set_login_info() 5228 if (be32_to_cpu(rsp->max_cmds) <= IBMVFC_NUM_INTERNAL_REQ) { in ibmvfc_npiv_login_done() 5230 rsp->max_cmds); in ibmvfc_npiv_login_done() 5257 vhost->host->can_queue = be32_to_cpu(rsp->max_cmds) - IBMVFC_NUM_INTERNAL_REQ; in ibmvfc_npiv_login_done()
|
/linux-6.12.1/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.h | 409 u16 max_cmds; member
|
D | iscsi_iser.c | 632 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
|
D | iser_verbs.c | 273 iser_conn->max_cmds = ISER_GET_MAX_XMIT_CMDS(max_send_wr - 1); in iser_create_ib_conn_res()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 2628 priv->cmd.context = kmalloc_array(priv->cmd.max_cmds, in mlx4_cmd_use_events() 2637 for (i = 0; i < priv->cmd.max_cmds; ++i) { in mlx4_cmd_use_events() 2647 priv->cmd.context[priv->cmd.max_cmds - 1].next = -1; in mlx4_cmd_use_events() 2650 sema_init(&priv->cmd.event_sem, priv->cmd.max_cmds); in mlx4_cmd_use_events() 2653 priv->cmd.token_mask < priv->cmd.max_cmds; in mlx4_cmd_use_events() 2680 for (i = 0; i < priv->cmd.max_cmds; ++i) in mlx4_cmd_use_polling() 2757 for (i = 0; i < priv->cmd.max_cmds; ++i) { in mlx4_cmd_wake_completions()
|
/linux-6.12.1/drivers/scsi/aacraid/ |
D | commsup.c | 138 u32 max_cmds; in aac_fib_setup() local 142 max_cmds = (dev->scsi_host_ptr->can_queue+AAC_NUM_MGT_FIB) >> 1; in aac_fib_setup() 143 dev->scsi_host_ptr->can_queue = max_cmds - AAC_NUM_MGT_FIB; in aac_fib_setup() 145 dev->init->r7.max_io_commands = cpu_to_le32(max_cmds); in aac_fib_setup()
|
/linux-6.12.1/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 2218 u32 max_cmds = CXGB4I_SCSI_HOST_QDEPTH; in t4_uld_add() local 2269 max_cmds = CXGB4I_SCSI_HOST_QDEPTH >> 2; in t4_uld_add() 2290 cxgb4i_host_template.can_queue = max_cmds; in t4_uld_add()
|