Home
last modified time | relevance | path

Searched refs:cmd_list (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.6/drivers/cdx/controller/
Dmcdi.c94 if (list_empty(&mcdi->cmd_list)) in cdx_mcdi_remove_cmd()
123 INIT_LIST_HEAD(&mcdi->cmd_list); in cdx_mcdi_init()
156 flushed = list_empty(&mcdi->cmd_list) && in cdx_mcdi_flushed()
357 list_for_each_entry(cmd, &mcdi->cmd_list, list) in _cdx_mcdi_cancel_cmd()
554 list_for_each_entry_safe(cmd, tmp, &mcdi->cmd_list, list) in cdx_mcdi_start_or_queue()
607 list_add_tail(&cmd->list, &mcdi->cmd_list); in cdx_mcdi_cmd_work()
828 while (!list_empty(&mcdi->cmd_list)) { in cdx_mcdi_mode_fail()
831 cmd = list_first_entry(&mcdi->cmd_list, struct cdx_mcdi_cmd, in cdx_mcdi_mode_fail()
Dmcdi.h162 struct list_head cmd_list; member
/Linux-v6.6/drivers/macintosh/
Dsmu.c87 struct list_head cmd_list; member
116 if (list_empty(&smu->cmd_list)) in smu_start_cmd()
120 cmd = list_entry(smu->cmd_list.next, struct smu_cmd, link); in smu_start_cmd()
276 list_add_tail(&cmd->link, &smu->cmd_list); in smu_queue_cmd()
501 INIT_LIST_HEAD(&smu->cmd_list); in smu_init()
743 list_add_tail(&cmd->scmd.link, &smu->cmd_list); in smu_i2c_complete_command()
890 list_add_tail(&cmd->scmd.link, &smu->cmd_list); in smu_queue_i2c()
/Linux-v6.6/drivers/block/
Dloop.c810 struct list_head cmd_list; member
836 struct list_head *cmd_list; in loop_queue_work() local
876 INIT_LIST_HEAD(&worker->cmd_list); in loop_queue_work()
891 cmd_list = &worker->cmd_list; in loop_queue_work()
894 cmd_list = &lo->rootcg_cmd_list; in loop_queue_work()
896 list_add_tail(&cmd->list_entry, cmd_list); in loop_queue_work()
1937 struct list_head *cmd_list, struct loop_device *lo) in loop_process_work() argument
1944 while (!list_empty(cmd_list)) { in loop_process_work()
1946 cmd_list->next, struct loop_cmd, list_entry); in loop_process_work()
1947 list_del(cmd_list->next); in loop_process_work()
[all …]
/Linux-v6.6/tools/perf/
Dbuiltin.h19 int cmd_list(int argc, const char **argv);
Dperf.c60 { "list", cmd_list, 0 },
Dbuiltin-list.c444 int cmd_list(int argc, const char **argv) in cmd_list() function
/Linux-v6.6/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c270 return fusion->cmd_list[blk_tag]; in megasas_get_cmd_fusion()
431 if (fusion->cmd_list) { in megasas_free_cmds_fusion()
433 cmd = fusion->cmd_list[i]; in megasas_free_cmds_fusion()
442 kfree(fusion->cmd_list); in megasas_free_cmds_fusion()
558 cmd = fusion->cmd_list[i]; in megasas_create_sg_sense_fusion()
575 cmd = fusion->cmd_list[i]; in megasas_create_sg_sense_fusion()
600 fusion->cmd_list = in megasas_alloc_cmdlist_fusion()
603 if (!fusion->cmd_list) { in megasas_alloc_cmdlist_fusion()
610 fusion->cmd_list[i] = kzalloc(sizeof(struct megasas_cmd_fusion), in megasas_alloc_cmdlist_fusion()
612 if (!fusion->cmd_list[i]) { in megasas_alloc_cmdlist_fusion()
[all …]
Dmegaraid_sas_base.c361 cmd_fusion = fusion->cmd_list[blk_tags]; in megasas_return_cmd()
1693 cmd = instance->cmd_list[i]; in megasas_dump_pending_frames()
1732 cmd = instance->cmd_list[i]; in megasas_dump_pending_frames()
2193 cmd_fusion = fusion->cmd_list[i]; in megasas_complete_outstanding_ioctls()
2195 cmd_mfi = instance->cmd_list[cmd_fusion->sync_cmd_idx]; in megasas_complete_outstanding_ioctls()
2207 cmd_mfi = instance->cmd_list[i]; in megasas_complete_outstanding_ioctls()
2303 cmd = instance->cmd_list[context]; in megasas_complete_cmd_dpc()
3916 cmd = instance->cmd_list[i]; in megasas_internal_reset_defer_cmds()
4297 cmd = instance->cmd_list[i]; in megasas_teardown_frame_pool()
4382 cmd = instance->cmd_list[i]; in megasas_create_frame_pool()
[all …]
Dmegaraid_sas_fusion.h1295 struct megasas_cmd_fusion **cmd_list; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.h61 …struct dc_dmub_srv *dc_dmub_srv, unsigned int count, union dmub_rb_cmd *cmd_list, enum dm_dmub_wai…
Ddc_dmub_srv.c127 …struct dc_dmub_srv *dc_dmub_srv, unsigned int count, union dmub_rb_cmd *cmd_list, enum dm_dmub_wai… in dc_dmub_srv_cmd_run_list() argument
142 status = dmub_srv_cmd_queue(dmub, &cmd_list[i]); in dc_dmub_srv_cmd_run_list()
150 status = dmub_srv_cmd_queue(dmub, &cmd_list[i]); in dc_dmub_srv_cmd_run_list()
179 dmub_rb_get_return_data(&dmub->inbox1_rb, cmd_list); in dc_dmub_srv_cmd_run_list()
/Linux-v6.6/drivers/usb/host/
Dxhci-ring.c376 return list_first_entry_or_null(&xhci->cmd_list, struct xhci_command, in xhci_next_queued_cmd()
377 cmd_list); in xhci_next_queued_cmd()
391 list_for_each_entry(i_cmd, &xhci->cmd_list, cmd_list) { in xhci_handle_stopped_cmd_ring()
1567 list_del(&cmd->cmd_list); in xhci_complete_del_and_free_cmd()
1581 list_for_each_entry_safe(cur_cmd, tmp_cmd, &xhci->cmd_list, cmd_list) in xhci_cleanup_command_queue()
1696 cmd = list_first_entry(&xhci->cmd_list, struct xhci_command, cmd_list); in handle_cmd_completion()
1786 if (!list_is_singular(&xhci->cmd_list)) { in handle_cmd_completion()
1787 xhci->current_cmd = list_first_entry(&cmd->cmd_list, in handle_cmd_completion()
1788 struct xhci_command, cmd_list); in handle_cmd_completion()
4304 if (list_empty(&xhci->cmd_list)) { in queue_command()
[all …]
Dxhci.h820 struct list_head cmd_list; member
1808 struct list_head cmd_list; member
/Linux-v6.6/drivers/scsi/
Dpmcraid.c3929 cmd = pinstance->cmd_list[cmd_index]; in pmcraid_tasklet_function()
4052 kmem_cache_free(pinstance->cmd_cachep, pinstance->cmd_list[i]); in pmcraid_release_cmd_blocks()
4053 pinstance->cmd_list[i] = NULL; in pmcraid_release_cmd_blocks()
4083 pinstance->cmd_list[i]->ioa_cb, in pmcraid_release_control_blocks()
4084 pinstance->cmd_list[i]->ioa_cb_bus_addr); in pmcraid_release_control_blocks()
4085 pinstance->cmd_list[i]->ioa_cb = NULL; in pmcraid_release_control_blocks()
4086 pinstance->cmd_list[i]->ioa_cb_bus_addr = 0; in pmcraid_release_control_blocks()
4117 pinstance->cmd_list[i] = in pmcraid_allocate_cmd_blocks()
4119 if (!pinstance->cmd_list[i]) { in pmcraid_allocate_cmd_blocks()
4154 pinstance->cmd_list[i]->ioa_cb = in pmcraid_allocate_control_blocks()
[all …]
Dscsi_error.c1419 static int scsi_eh_test_devices(struct list_head *cmd_list, in scsi_eh_test_devices() argument
1427 while (!list_empty(cmd_list)) { in scsi_eh_test_devices()
1428 scmd = list_entry(cmd_list->next, struct scsi_cmnd, eh_entry); in scsi_eh_test_devices()
1434 list_splice_init(cmd_list, work_q); in scsi_eh_test_devices()
1448 list_for_each_entry_safe(scmd, next, cmd_list, eh_entry) in scsi_eh_test_devices()
Dpmcraid.h748 struct pmcraid_cmd *cmd_list[PMCRAID_MAX_CMD]; member
/Linux-v6.6/drivers/target/
Dtarget_core_transport.c1912 struct llist_node *cmd_list; in target_queued_submit_work() local
1914 cmd_list = llist_del_all(&sq->cmd_list); in target_queued_submit_work()
1915 if (!cmd_list) in target_queued_submit_work()
1919 cmd_list = llist_reverse_order(cmd_list); in target_queued_submit_work()
1920 llist_for_each_entry_safe(se_cmd, next_cmd, cmd_list, se_cmd_list) { in target_queued_submit_work()
1944 llist_add(&se_cmd->se_cmd_list, &sq->cmd_list); in target_queue_submission()
Dtarget_core_user.c1256 struct list_head *cmd_list) in tcmu_tmr_notify() argument
1268 list_for_each_entry(se_cmd, cmd_list, state_list) { in tcmu_tmr_notify()
1305 list_for_each_entry(se_cmd, cmd_list, state_list) { in tcmu_tmr_notify()
/Linux-v6.6/drivers/scsi/qla2xxx/
Dqla_target.c243 INIT_LIST_HEAD(&u->cmd_list); in qlt_queue_unknown_atio()
246 list_add_tail(&u->cmd_list, &vha->unknown_atio_list); in qlt_queue_unknown_atio()
268 list_for_each_entry_safe(u, t, &vha->unknown_atio_list, cmd_list) { in qlt_try_to_dequeue_unknown_atios()
302 list_del(&u->cmd_list); in qlt_try_to_dequeue_unknown_atios()
2006 list_for_each_entry(op, &vha->unknown_atio_list, cmd_list) { in abort_cmds_for_lun()
2017 list_for_each_entry(cmd, &vha->qla_cmd_list, cmd_list) { in abort_cmds_for_lun()
3762 list_for_each_entry_safe(cmd, tcmd, &free_list, cmd_list) { in qlt_init_term_exchange()
3763 list_del(&cmd->cmd_list); in qlt_init_term_exchange()
4219 list_del(&cmd->cmd_list); in qlt_do_work()
4420 list_add_tail(&cmd->cmd_list, &vha->qla_cmd_list); in qlt_handle_cmd_for_atio()
[all …]
Dqla_target.h834 struct list_head cmd_list; member
910 struct list_head cmd_list; member
/Linux-v6.6/drivers/scsi/arm/
Dfas216.c365 static struct { int command; void *from; } cmd_list[8]; variable
370 cmd_list[cmd_ptr].command = command; in fas216_cmd()
371 cmd_list[cmd_ptr].from = __builtin_return_address(0); in fas216_cmd()
399 printk("%02x:%p ", cmd_list[i].command, cmd_list[i].from); in print_debug_list()
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.h756 struct list_head cmd_list; member
Dqed_mcp.c113 list_add(&p_cmd_elem->list, &p_hwfn->mcp_info->cmd_list); in qed_mcp_cmd_add_elem()
132 list_for_each_entry(p_cmd_elem, &p_hwfn->mcp_info->cmd_list, list) { in qed_mcp_cmd_get_elem()
151 &p_hwfn->mcp_info->cmd_list, list) { in qed_mcp_free()
254 INIT_LIST_HEAD(&p_info->cmd_list); in qed_mcp_cmd_init()
347 if (!list_empty(&p_hwfn->mcp_info->cmd_list)) { in qed_mcp_has_pending_cmd()
348 p_cmd_elem = list_first_entry(&p_hwfn->mcp_info->cmd_list, in qed_mcp_has_pending_cmd()
/Linux-v6.6/include/target/
Dtarget_core_base.h779 struct llist_head cmd_list; member

12