Searched refs:cmd_pool (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/net/ipa/ |
A D | ipa_cmd.c | 362 ret = gsi_trans_pool_init_dma(dev, &trans_info->cmd_pool, in ipa_cmd_pool_init() 373 gsi_trans_pool_exit_dma(dev, &trans_info->cmd_pool); in ipa_cmd_pool_init() 384 gsi_trans_pool_exit_dma(dev, &trans_info->cmd_pool); in ipa_cmd_pool_exit() 396 return gsi_trans_pool_alloc_dma(&trans_info->cmd_pool, addr); in ipa_cmd_payload_alloc()
|
A D | gsi.h | 86 struct gsi_trans_pool cmd_pool; /* command payload DMA pool */ member
|
/linux/drivers/scsi/ |
A D | vmw_pvscsi.c | 97 struct list_head cmd_pool; member 172 if (list_empty(&adapter->cmd_pool)) in pvscsi_acquire_context() 175 ctx = list_first_entry(&adapter->cmd_pool, struct pvscsi_ctx, list); in pvscsi_acquire_context() 187 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_release_context() 1489 INIT_LIST_HEAD(&adapter->cmd_pool); in pvscsi_probe() 1492 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_probe()
|
A D | mvumi.c | 320 if (likely(!list_empty(&mhba->cmd_pool))) { in mvumi_get_cmd() 321 cmd = list_entry((&mhba->cmd_pool)->next, in mvumi_get_cmd() 339 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); in mvumi_return_cmd() 350 while (!list_empty(&mhba->cmd_pool)) { in mvumi_free_cmds() 351 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_free_cmds() 376 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); in mvumi_alloc_cmds() 391 while (!list_empty(&mhba->cmd_pool)) { in mvumi_alloc_cmds() 392 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_alloc_cmds() 2478 INIT_LIST_HEAD(&mhba->cmd_pool); in mvumi_probe_one()
|
A D | mvumi.h | 478 struct list_head cmd_pool; member
|
A D | hpsa.h | 201 struct CommandList *cmd_pool; member
|
A D | hpsa.c | 1837 struct CommandList *c = h->cmd_pool + i; in hpsa_find_outstanding_commands_for_dev() 6231 c = h->cmd_pool + i; in cmd_alloc() 6265 i = c - h->cmd_pool; in cmd_free() 6984 c = h->cmd_pool + tag_index; in process_indexed_cmd() 8037 if (h->cmd_pool) { in hpsa_free_cmd_pool() 8040 h->cmd_pool, in hpsa_free_cmd_pool() 8042 h->cmd_pool = NULL; in hpsa_free_cmd_pool() 8061 h->nr_cmds * sizeof(*h->cmd_pool), in hpsa_alloc_cmd_pool() 8067 || (h->cmd_pool == NULL) in hpsa_alloc_cmd_pool() 8247 c = h->cmd_pool + i; in fail_all_outstanding_cmds() [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | cmdevt.c | 412 adapter->cmd_pool = cmd_array; in mwifiex_alloc_cmd_buffer() 442 if (!adapter->cmd_pool) { in mwifiex_free_cmd_buffer() 448 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer() 467 if (adapter->cmd_pool) { in mwifiex_free_cmd_buffer() 470 kfree(adapter->cmd_pool); in mwifiex_free_cmd_buffer() 471 adapter->cmd_pool = NULL; in mwifiex_free_cmd_buffer()
|
A D | main.h | 934 struct cmd_ctrl_node *cmd_pool; member
|
/linux/drivers/scsi/ibmvscsi_tgt/ |
A D | ibmvscsi_tgt.h | 221 char *cmd_pool; member
|
A D | ibmvscsi_tgt.c | 2872 vscsi->cmd_pool = kcalloc(num, sizeof(struct ibmvscsis_cmd), in ibmvscsis_alloc_cmds() 2874 if (!vscsi->cmd_pool) in ibmvscsis_alloc_cmds() 2877 for (i = 0, cmd = (struct ibmvscsis_cmd *)vscsi->cmd_pool; i < num; in ibmvscsis_alloc_cmds() 2890 kfree(vscsi->cmd_pool); in ibmvscsis_free_cmds() 2891 vscsi->cmd_pool = NULL; in ibmvscsis_free_cmds()
|
/linux/include/scsi/ |
A D | scsi_host.h | 496 struct scsi_host_cmd_pool *cmd_pool; member
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_sas_base.c | 326 if (!list_empty(&instance->cmd_pool)) { in megasas_get_cmd() 327 cmd = list_entry((&instance->cmd_pool)->next, in megasas_get_cmd() 371 list_add(&cmd->list, (&instance->cmd_pool)->next); in megasas_return_cmd() 4427 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_free_cmds() 4494 list_add_tail(&cmd->list, &instance->cmd_pool); in megasas_alloc_cmds() 7418 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_init_ctrl_params()
|
A D | megaraid_sas.h | 2355 struct list_head cmd_pool; member
|
Completed in 98 milliseconds