/linux-4.1.27/drivers/scsi/ |
D | scsi.c | 183 struct scsi_host_cmd_pool *pool = shost->cmd_pool; in scsi_host_free_command() 202 struct scsi_host_cmd_pool *pool = shost->cmd_pool; in scsi_host_alloc_command() 344 return shost->hostt->cmd_pool; in scsi_find_host_cmd_pool() 382 hostt->cmd_pool = pool; in scsi_alloc_host_cmd_pool() 430 hostt->cmd_pool = NULL; in scsi_get_host_cmd_pool() 455 hostt->cmd_pool = NULL; in scsi_put_host_cmd_pool() 479 shost->cmd_pool = scsi_get_host_cmd_pool(shost); in scsi_setup_command_freelist() 480 if (!shost->cmd_pool) in scsi_setup_command_freelist() 489 shost->cmd_pool = NULL; in scsi_setup_command_freelist() 506 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 | 346 if (likely(!list_empty(&mhba->cmd_pool))) { in mvumi_get_cmd() 347 cmd = list_entry((&mhba->cmd_pool)->next, in mvumi_get_cmd() 365 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); in mvumi_return_cmd() 376 while (!list_empty(&mhba->cmd_pool)) { in mvumi_free_cmds() 377 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_free_cmds() 402 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); in mvumi_alloc_cmds() 417 while (!list_empty(&mhba->cmd_pool)) { in mvumi_alloc_cmds() 418 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 | 159 struct CommandList *cmd_pool; member
|
D | hpsa.c | 4693 c = h->cmd_pool + i; in cmd_alloc() 4731 i = c - h->cmd_pool; in cmd_free() 5425 c = h->cmd_pool + tag_index; in process_indexed_cmd() 6416 h->cmd_pool = pci_alloc_consistent(h->pdev, in hpsa_allocate_cmd_pool() 6417 h->nr_cmds * sizeof(*h->cmd_pool), in hpsa_allocate_cmd_pool() 6423 || (h->cmd_pool == NULL) in hpsa_allocate_cmd_pool() 6437 if (h->cmd_pool) in hpsa_free_cmd_pool() 6440 h->cmd_pool, h->cmd_pool_dhandle); in hpsa_free_cmd_pool() 6623 c = h->cmd_pool + i; in fail_all_outstanding_cmds() 7120 h->cmd_pool, h->cmd_pool_dhandle); in hpsa_remove_one() [all …]
|
/linux-4.1.27/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 | 986 c = h->cmd_pool + i; in cmd_alloc() 1048 i = c - h->cmd_pool; in cmd_free() 3516 c = h->cmd_pool + tag_index; in process_indexed_cmd() 4818 h->cmd_pool = pci_alloc_consistent(h->pdev, in cciss_allocate_cmd_pool() 4825 || (h->cmd_pool == NULL) in cciss_allocate_cmd_pool() 4869 if (h->cmd_pool) in cciss_free_cmd_pool() 4872 h->cmd_pool, h->cmd_pool_dhandle); in cciss_free_cmd_pool()
|
/linux-4.1.27/include/scsi/ |
D | scsi_host.h | 502 struct scsi_host_cmd_pool *cmd_pool; member 554 struct scsi_host_cmd_pool *cmd_pool; member
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | cmdevt.c | 359 adapter->cmd_pool = cmd_array; in mwifiex_alloc_cmd_buffer() 388 if (!adapter->cmd_pool) { in mwifiex_free_cmd_buffer() 393 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer() 411 if (adapter->cmd_pool) { in mwifiex_free_cmd_buffer() 413 kfree(adapter->cmd_pool); in mwifiex_free_cmd_buffer() 414 adapter->cmd_pool = NULL; in mwifiex_free_cmd_buffer()
|
D | main.h | 810 struct cmd_ctrl_node *cmd_pool; member
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 171 if (!list_empty(&fusion->cmd_pool)) { in megasas_get_cmd_fusion() 172 cmd = list_entry((&fusion->cmd_pool)->next, in megasas_get_cmd_fusion() 200 list_add(&cmd->list, (&fusion->cmd_pool)->next); in megasas_return_cmd_fusion() 329 INIT_LIST_HEAD(&fusion->cmd_pool); in megasas_free_cmds_fusion() 547 list_add_tail(&cmd->list, &fusion->cmd_pool); in megasas_alloc_cmds_fusion()
|
D | megaraid_sas_fusion.h | 795 struct list_head cmd_pool; member
|
D | megaraid_sas_base.c | 214 if (!list_empty(&instance->cmd_pool)) { in megasas_get_cmd() 215 cmd = list_entry((&instance->cmd_pool)->next, in megasas_get_cmd() 256 list_add(&cmd->list, (&instance->cmd_pool)->next); in __megasas_return_cmd() 3703 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_free_cmds() 3773 list_add_tail(&cmd->list, &instance->cmd_pool); in megasas_alloc_cmds() 5186 INIT_LIST_HEAD(&fusion->cmd_pool); in megasas_probe_one() 5248 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_probe_one()
|
D | megaraid_sas.h | 1698 struct list_head cmd_pool; member
|