Home
last modified time | relevance | path

Searched refs:cmd_pool (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/scsi/
Dvmw_pvscsi.c99 struct list_head cmd_pool; member
174 if (list_empty(&adapter->cmd_pool)) in pvscsi_acquire_context()
177 ctx = list_first_entry(&adapter->cmd_pool, struct pvscsi_ctx, list); in pvscsi_acquire_context()
189 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_release_context()
1477 INIT_LIST_HEAD(&adapter->cmd_pool); in pvscsi_probe()
1480 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_probe()
Dmvumi.c335 if (likely(!list_empty(&mhba->cmd_pool))) { in mvumi_get_cmd()
336 cmd = list_entry((&mhba->cmd_pool)->next, in mvumi_get_cmd()
354 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); in mvumi_return_cmd()
365 while (!list_empty(&mhba->cmd_pool)) { in mvumi_free_cmds()
366 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_free_cmds()
391 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); in mvumi_alloc_cmds()
406 while (!list_empty(&mhba->cmd_pool)) { in mvumi_alloc_cmds()
407 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_alloc_cmds()
2506 INIT_LIST_HEAD(&mhba->cmd_pool); in mvumi_probe_one()
Dmvumi.h494 struct list_head cmd_pool; member
Dhpsa.h197 struct CommandList *cmd_pool; member
Dhpsa.c1826 struct CommandList *c = h->cmd_pool + i; in hpsa_find_outstanding_commands_for_dev()
3143 struct CommandList *c = h->cmd_pool + i; in hpsa_do_reset()
5479 struct CommandList *c = h->cmd_pool + i; in hpsa_preinitialize_commands()
6009 struct CommandList *c = h->cmd_pool + idx; in cmd_tagged_alloc()
6091 c = h->cmd_pool + i; in cmd_alloc()
6117 i = c - h->cmd_pool; in cmd_free()
6862 c = h->cmd_pool + tag_index; in process_indexed_cmd()
7916 if (h->cmd_pool) { in hpsa_free_cmd_pool()
7919 h->cmd_pool, in hpsa_free_cmd_pool()
7921 h->cmd_pool = NULL; in hpsa_free_cmd_pool()
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c408 adapter->cmd_pool = cmd_array; in mwifiex_alloc_cmd_buffer()
438 if (!adapter->cmd_pool) { in mwifiex_free_cmd_buffer()
444 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer()
463 if (adapter->cmd_pool) { in mwifiex_free_cmd_buffer()
466 kfree(adapter->cmd_pool); in mwifiex_free_cmd_buffer()
467 adapter->cmd_pool = NULL; in mwifiex_free_cmd_buffer()
Dmain.h933 struct cmd_ctrl_node *cmd_pool; member
/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h230 char *cmd_pool; member
Dibmvscsi_tgt.c2891 vscsi->cmd_pool = kcalloc(num, sizeof(struct ibmvscsis_cmd), in ibmvscsis_alloc_cmds()
2893 if (!vscsi->cmd_pool) in ibmvscsis_alloc_cmds()
2896 for (i = 0, cmd = (struct ibmvscsis_cmd *)vscsi->cmd_pool; i < num; in ibmvscsis_alloc_cmds()
2909 kfree(vscsi->cmd_pool); in ibmvscsis_free_cmds()
2910 vscsi->cmd_pool = NULL; in ibmvscsis_free_cmds()
/Linux-v4.19/include/scsi/
Dscsi_host.h486 struct scsi_host_cmd_pool *cmd_pool; member
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_base.c269 if (!list_empty(&instance->cmd_pool)) { in megasas_get_cmd()
270 cmd = list_entry((&instance->cmd_pool)->next, in megasas_get_cmd()
314 list_add(&cmd->list, (&instance->cmd_pool)->next); in megasas_return_cmd()
4082 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_free_cmds()
4149 list_add_tail(&cmd->list, &instance->cmd_pool); in megasas_alloc_cmds()
6413 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_init_ctrl_params()
Dmegaraid_sas.h2216 struct list_head cmd_pool; member