/drivers/block/ |
H A D | cpqarray.h | 106 cmdlist_t *cmd_pool; member in struct:ctlr_info
|
H A D | cpqarray.c | 342 NR_CMDS * sizeof(cmdlist_t), (hba[i]->cmd_pool), 422 hba[i]->cmd_pool = pci_alloc_consistent( 429 if (!hba[i]->cmd_pool_bits || !hba[i]->cmd_pool) 432 memset(hba[i]->cmd_pool, 0, NR_CMDS * sizeof(cmdlist_t)); 486 if (hba[i]->cmd_pool) 488 hba[i]->cmd_pool, hba[i]->cmd_pool_dhandle); 1378 c = h->cmd_pool + i; 1396 i = c - h->cmd_pool;
|
H A D | cciss.h | 115 CommandList_struct *cmd_pool; member in struct:ctlr_info
|
H A D | cciss.c | 983 c = h->cmd_pool + i; 1048 i = c - h->cmd_pool; 3515 c = h->cmd_pool + tag_index; 4818 h->cmd_pool = pci_alloc_consistent(h->pdev, 4825 || (h->cmd_pool == NULL) 4869 if (h->cmd_pool) 4872 h->cmd_pool, h->cmd_pool_dhandle);
|
/drivers/scsi/ |
H A D | scsi.c | 221 cmd = scsi_pool_alloc_command(shost->cmd_pool, gfp_mask); 229 scsi_pool_free_command(shost->cmd_pool, cmd); 330 scsi_pool_free_command(shost->cmd_pool, cmd); 487 shost->cmd_pool = scsi_get_host_cmd_pool(gfp_mask); 489 if (!shost->cmd_pool) 498 shost->cmd_pool = NULL; 512 * If cmd_pool is NULL the free list was not initialized, so 515 if (!shost->cmd_pool) 523 scsi_pool_free_command(shost->cmd_pool, cmd); 525 shost->cmd_pool [all...] |
H A D | mvumi.c | 343 if (likely(!list_empty(&mhba->cmd_pool))) { 344 cmd = list_entry((&mhba->cmd_pool)->next, 362 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); 373 while (!list_empty(&mhba->cmd_pool)) { 374 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, 398 list_add_tail(&cmd->queue_pointer, &mhba->cmd_pool); 408 while (!list_empty(&mhba->cmd_pool)) { 409 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, 1826 INIT_LIST_HEAD(&mhba->cmd_pool);
|
H A D | vmw_pvscsi.c | 99 struct list_head cmd_pool; member in struct:pvscsi_adapter 166 if (list_empty(&adapter->cmd_pool)) 169 ctx = list_first_entry(&adapter->cmd_pool, struct pvscsi_ctx, list); 180 list_add(&ctx->list, &adapter->cmd_pool); 1288 INIT_LIST_HEAD(&adapter->cmd_pool); 1291 list_add(&ctx->list, &adapter->cmd_pool);
|
H A D | hpsa.h | 91 struct CommandList *cmd_pool; member in struct:ctlr_info
|
H A D | mvumi.h | 441 struct list_head cmd_pool; member in struct:mvumi_hba
|
H A D | hpsa.c | 2346 c = h->cmd_pool + i; 2411 i = c - h->cmd_pool; 3076 c = h->cmd_pool + tag_index; 4040 h->cmd_pool = pci_alloc_consistent(h->pdev, 4041 h->nr_cmds * sizeof(*h->cmd_pool), 4047 || (h->cmd_pool == NULL) 4058 if (h->cmd_pool) 4061 h->cmd_pool, h->cmd_pool_dhandle); 4503 h->cmd_pool, h->cmd_pool_dhandle);
|
/drivers/net/wireless/mwifiex/ |
H A D | cmdevt.c | 300 adapter->cmd_pool = cmd_array; 301 memset(adapter->cmd_pool, 0, buf_size); 330 if (!adapter->cmd_pool) { 331 dev_dbg(adapter->dev, "info: FREE_CMD_BUF: cmd_pool is null\n"); 335 cmd_array = adapter->cmd_pool; 348 if (adapter->cmd_pool) { 350 kfree(adapter->cmd_pool); 351 adapter->cmd_pool = NULL;
|
H A D | main.h | 585 struct cmd_ctrl_node *cmd_pool; member in struct:mwifiex_adapter
|
/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 166 if (!list_empty(&fusion->cmd_pool)) { 167 cmd = list_entry((&fusion->cmd_pool)->next, 195 list_add_tail(&cmd->list, &fusion->cmd_pool); 297 INIT_LIST_HEAD(&fusion->cmd_pool); 378 * The free commands themselves are maintained in a linked list called cmd_pool. 499 * Add all the commands to command pool (fusion->cmd_pool) 518 list_add_tail(&cmd->list, &fusion->cmd_pool);
|
H A D | megaraid_sas_fusion.h | 659 struct list_head cmd_pool; member in struct:fusion_context
|
H A D | megaraid_sas_base.c | 184 if (!list_empty(&instance->cmd_pool)) { 185 cmd = list_entry((&instance->cmd_pool)->next, 214 list_add_tail(&cmd->list, &instance->cmd_pool); 2964 INIT_LIST_HEAD(&instance->cmd_pool); 2983 * free commands themselves are maintained in a linked list called cmd_pool. 3025 * Add all the commands to command pool (instance->cmd_pool) 3034 list_add_tail(&cmd->list, &instance->cmd_pool); 4013 INIT_LIST_HEAD(&fusion->cmd_pool); 4058 INIT_LIST_HEAD(&instance->cmd_pool);
|
H A D | megaraid_sas.h | 1313 struct list_head cmd_pool; member in struct:megasas_instance
|