Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi.c137 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 …]
Dvmw_pvscsi.c102 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()
1483 INIT_LIST_HEAD(&adapter->cmd_pool); in pvscsi_probe()
1486 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_probe()
Dmvumi.c347 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()
2544 INIT_LIST_HEAD(&mhba->cmd_pool); in mvumi_probe_one()
Dmvumi.h494 struct list_head cmd_pool; member
Dhpsa.h193 struct CommandList *cmd_pool; member
Dhpsa.c2927 struct CommandList *c = h->cmd_pool + i; in hpsa_do_reset()
5114 struct CommandList *c = h->cmd_pool + i; in hpsa_preinitialize_commands()
6032 struct CommandList *c = h->cmd_pool + idx; in cmd_tagged_alloc()
6116 c = h->cmd_pool + i; in cmd_alloc()
6142 i = c - h->cmd_pool; in cmd_free()
6888 c = h->cmd_pool + tag_index; in process_indexed_cmd()
7935 if (h->cmd_pool) { in hpsa_free_cmd_pool()
7938 h->cmd_pool, in hpsa_free_cmd_pool()
7940 h->cmd_pool = NULL; in hpsa_free_cmd_pool()
7958 h->cmd_pool = pci_alloc_consistent(h->pdev, in hpsa_alloc_cmd_pool()
[all …]
/drivers/block/
Dcpqarray.c342 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()
Dcpqarray.h106 cmdlist_t *cmd_pool; member
Dcciss.h115 CommandList_struct *cmd_pool; member
Dcciss.c1002 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()
/drivers/net/wireless/mwifiex/
Dcmdevt.c365 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()
Dmain.h887 struct cmd_ctrl_node *cmd_pool; member
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c220 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()
3775 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_free_cmds()
3844 list_add_tail(&cmd->list, &instance->cmd_pool); in megasas_alloc_cmds()
5480 INIT_LIST_HEAD(&instance->cmd_pool); in megasas_probe_one()
Dmegaraid_sas.h1754 struct list_head cmd_pool; member