Lines Matching refs:cleanup_list

47 				  struct list_head *cleanup_list);
50 struct list_head *cleanup_list);
52 static void cdx_mcdi_mode_fail(struct cdx_mcdi *cdx, struct list_head *cleanup_list);
73 struct list_head *cleanup_list) in _cdx_mcdi_remove_cmd() argument
80 list_add_tail(&cmd->cleanup_list, cleanup_list); in _cdx_mcdi_remove_cmd()
88 struct list_head *cleanup_list) in cdx_mcdi_remove_cmd() argument
91 _cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in cdx_mcdi_remove_cmd()
320 struct list_head *cleanup_list) in cdx_mcdi_process_cleanup_list() argument
328 while (!list_empty(cleanup_list)) { in cdx_mcdi_process_cleanup_list()
330 list_first_entry(cleanup_list, in cdx_mcdi_process_cleanup_list()
331 struct cdx_mcdi_cmd, cleanup_list); in cdx_mcdi_process_cleanup_list()
334 list_del(&cmd->cleanup_list); in cdx_mcdi_process_cleanup_list()
353 struct list_head *cleanup_list) in _cdx_mcdi_cancel_cmd() argument
366 cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in _cdx_mcdi_cancel_cmd()
382 LIST_HEAD(cleanup_list); in cdx_mcdi_cancel_cmd()
388 cdx_mcdi_timeout_cmd(mcdi, cmd, &cleanup_list); in cdx_mcdi_cancel_cmd()
390 cdx_mcdi_process_cleanup_list(cdx, &cleanup_list); in cdx_mcdi_cancel_cmd()
507 LIST_HEAD(cleanup_list); in cdx_mcdi_rpc_async_internal()
522 INIT_LIST_HEAD(&cmd->cleanup_list); in cdx_mcdi_rpc_async_internal()
564 LIST_HEAD(cleanup_list); in cdx_mcdi_process_cmd()
588 cdx_mcdi_complete_cmd(mcdi, cmd, outbuf, len, &cleanup_list); in cdx_mcdi_process_cmd()
595 cdx_mcdi_process_cleanup_list(mcdi->cdx, &cleanup_list); in cdx_mcdi_process_cmd()
622 struct list_head *cleanup_list) in cdx_mcdi_complete_cmd() argument
699 cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in cdx_mcdi_complete_cmd()
718 struct list_head *cleanup_list) in cdx_mcdi_timeout_cmd() argument
727 cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in cdx_mcdi_timeout_cmd()
729 cdx_mcdi_mode_fail(cdx, cleanup_list); in cdx_mcdi_timeout_cmd()
819 static void cdx_mcdi_mode_fail(struct cdx_mcdi *cdx, struct list_head *cleanup_list) in cdx_mcdi_mode_fail() argument
833 _cdx_mcdi_cancel_cmd(mcdi, cdx_mcdi_cmd_handle(cmd), cleanup_list); in cdx_mcdi_mode_fail()