/linux-4.4.14/drivers/scsi/ |
D | scsi.c | 137 struct scsi_host_cmd_pool *pool = shost->cmd_pool; in scsi_host_free_command() 156 struct scsi_host_cmd_pool *pool = shost->cmd_pool; in scsi_host_alloc_command() 298 return shost->hostt->cmd_pool; in scsi_find_host_cmd_pool() 336 hostt->cmd_pool = pool; in scsi_alloc_host_cmd_pool() 384 hostt->cmd_pool = NULL; in scsi_get_host_cmd_pool() 409 hostt->cmd_pool = NULL; in scsi_put_host_cmd_pool() 433 shost->cmd_pool = scsi_get_host_cmd_pool(shost); in scsi_setup_command_freelist() 434 if (!shost->cmd_pool) in scsi_setup_command_freelist() 443 shost->cmd_pool = NULL; in scsi_setup_command_freelist() 460 if (!shost->cmd_pool) in scsi_destroy_command_freelist() [all …]
|
D | vmw_pvscsi.c | 102 struct list_head cmd_pool; member 177 if (list_empty(&adapter->cmd_pool)) in pvscsi_acquire_context() 180 ctx = list_first_entry(&adapter->cmd_pool, struct pvscsi_ctx, list); in pvscsi_acquire_context() 192 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_release_context() 1469 INIT_LIST_HEAD(&adapter->cmd_pool); in pvscsi_probe() 1472 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_probe()
|
D | mvumi.c | 347 if (likely(!list_empty(&mhba->cmd_pool))) { in mvumi_get_cmd() 348 cmd = list_entry((&mhba->cmd_pool)->next, in mvumi_get_cmd() 366 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); in mvumi_return_cmd() 377 while (!list_empty(&mhba->cmd_pool)) { in mvumi_free_cmds() 378 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_free_cmds() 403 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); in mvumi_alloc_cmds() 418 while (!list_empty(&mhba->cmd_pool)) { in mvumi_alloc_cmds() 419 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_alloc_cmds() 2543 INIT_LIST_HEAD(&mhba->cmd_pool); in mvumi_probe_one()
|
D | mvumi.h | 494 struct list_head cmd_pool; member
|
D | hpsa.h | 193 struct CommandList *cmd_pool; member
|
D | hpsa.c | 2923 struct CommandList *c = h->cmd_pool + i; in hpsa_do_reset() 5037 struct CommandList *c = h->cmd_pool + i; in hpsa_preinitialize_commands() 5936 struct CommandList *c = h->cmd_pool + idx; in cmd_tagged_alloc() 6020 c = h->cmd_pool + i; in cmd_alloc() 6046 i = c - h->cmd_pool; in cmd_free() 6792 c = h->cmd_pool + tag_index; in process_indexed_cmd() 7839 if (h->cmd_pool) { in hpsa_free_cmd_pool() 7842 h->cmd_pool, in hpsa_free_cmd_pool() 7844 h->cmd_pool = NULL; in hpsa_free_cmd_pool() 7862 h->cmd_pool = pci_alloc_consistent(h->pdev, in hpsa_alloc_cmd_pool() [all …]
|
/linux-4.4.14/drivers/block/ |
D | cpqarray.h | 106 cmdlist_t *cmd_pool; member
|
D | cpqarray.c | 342 NR_CMDS * sizeof(cmdlist_t), (hba[i]->cmd_pool), in cpqarray_remove_one() 422 hba[i]->cmd_pool = pci_alloc_consistent( in cpqarray_register_ctlr() 429 if (!hba[i]->cmd_pool_bits || !hba[i]->cmd_pool) in cpqarray_register_ctlr() 432 memset(hba[i]->cmd_pool, 0, NR_CMDS * sizeof(cmdlist_t)); in cpqarray_register_ctlr() 486 if (hba[i]->cmd_pool) in cpqarray_register_ctlr() 488 hba[i]->cmd_pool, hba[i]->cmd_pool_dhandle); in cpqarray_register_ctlr() 1377 c = h->cmd_pool + i; in cmd_alloc() 1395 i = c - h->cmd_pool; in cmd_free()
|
D | cciss.h | 115 CommandList_struct *cmd_pool; member
|
D | cciss.c | 1002 c = h->cmd_pool + i; in cmd_alloc() 1064 i = c - h->cmd_pool; in cmd_free() 3532 c = h->cmd_pool + tag_index; in process_indexed_cmd() 4833 h->cmd_pool = pci_alloc_consistent(h->pdev, in cciss_allocate_cmd_pool() 4840 || (h->cmd_pool == NULL) in cciss_allocate_cmd_pool() 4884 if (h->cmd_pool) in cciss_free_cmd_pool() 4887 h->cmd_pool, h->cmd_pool_dhandle); in cciss_free_cmd_pool()
|
/linux-4.4.14/include/scsi/ |
D | scsi_host.h | 497 struct scsi_host_cmd_pool *cmd_pool; member 549 struct scsi_host_cmd_pool *cmd_pool; member
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | cmdevt.c | 365 adapter->cmd_pool = cmd_array; in mwifiex_alloc_cmd_buffer() 395 if (!adapter->cmd_pool) { in mwifiex_free_cmd_buffer() 401 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer() 420 if (adapter->cmd_pool) { in mwifiex_free_cmd_buffer() 423 kfree(adapter->cmd_pool); in mwifiex_free_cmd_buffer() 424 adapter->cmd_pool = NULL; in mwifiex_free_cmd_buffer()
|
D | main.h | 886 struct cmd_ctrl_node *cmd_pool; member
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 220 if (!list_empty(&instance->cmd_pool)) { in megasas_get_cmd() 221 cmd = list_entry((&instance->cmd_pool)->next, in megasas_get_cmd() 263 list_add(&cmd->list, (&instance->cmd_pool)->next); in megasas_return_cmd() 3771 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_free_cmds() 3840 list_add_tail(&cmd->list, &instance->cmd_pool); in megasas_alloc_cmds() 5467 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_probe_one()
|
D | megaraid_sas.h | 1752 struct list_head cmd_pool; member
|