Lines Matching refs:cleanup_list

43 				  struct list_head *cleanup_list);
46 struct list_head *cleanup_list);
48 static void cdx_mcdi_mode_fail(struct cdx_mcdi *cdx, struct list_head *cleanup_list);
69 struct list_head *cleanup_list) in _cdx_mcdi_remove_cmd() argument
76 list_add_tail(&cmd->cleanup_list, cleanup_list); in _cdx_mcdi_remove_cmd()
84 struct list_head *cleanup_list) in cdx_mcdi_remove_cmd() argument
87 _cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in cdx_mcdi_remove_cmd()
316 struct list_head *cleanup_list) in cdx_mcdi_process_cleanup_list() argument
324 while (!list_empty(cleanup_list)) { in cdx_mcdi_process_cleanup_list()
326 list_first_entry(cleanup_list, in cdx_mcdi_process_cleanup_list()
327 struct cdx_mcdi_cmd, cleanup_list); in cdx_mcdi_process_cleanup_list()
330 list_del(&cmd->cleanup_list); in cdx_mcdi_process_cleanup_list()
349 struct list_head *cleanup_list) in _cdx_mcdi_cancel_cmd() argument
362 cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in _cdx_mcdi_cancel_cmd()
378 LIST_HEAD(cleanup_list); in cdx_mcdi_cancel_cmd()
384 cdx_mcdi_timeout_cmd(mcdi, cmd, &cleanup_list); in cdx_mcdi_cancel_cmd()
386 cdx_mcdi_process_cleanup_list(cdx, &cleanup_list); in cdx_mcdi_cancel_cmd()
503 LIST_HEAD(cleanup_list); in cdx_mcdi_rpc_async_internal()
518 INIT_LIST_HEAD(&cmd->cleanup_list); in cdx_mcdi_rpc_async_internal()
560 LIST_HEAD(cleanup_list); in cdx_mcdi_process_cmd()
584 cdx_mcdi_complete_cmd(mcdi, cmd, outbuf, len, &cleanup_list); in cdx_mcdi_process_cmd()
591 cdx_mcdi_process_cleanup_list(mcdi->cdx, &cleanup_list); in cdx_mcdi_process_cmd()
618 struct list_head *cleanup_list) in cdx_mcdi_complete_cmd() argument
695 cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in cdx_mcdi_complete_cmd()
714 struct list_head *cleanup_list) in cdx_mcdi_timeout_cmd() argument
723 cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in cdx_mcdi_timeout_cmd()
725 cdx_mcdi_mode_fail(cdx, cleanup_list); in cdx_mcdi_timeout_cmd()
815 static void cdx_mcdi_mode_fail(struct cdx_mcdi *cdx, struct list_head *cleanup_list) in cdx_mcdi_mode_fail() argument
829 _cdx_mcdi_cancel_cmd(mcdi, cdx_mcdi_cmd_handle(cmd), cleanup_list); in cdx_mcdi_mode_fail()