Searched refs:p_cmd_elem (Results 1 – 1 of 1) sorted by relevance
104 struct qed_mcp_cmd_elem *p_cmd_elem = NULL; in qed_mcp_cmd_add_elem() local106 p_cmd_elem = kzalloc(sizeof(*p_cmd_elem), GFP_ATOMIC); in qed_mcp_cmd_add_elem()107 if (!p_cmd_elem) in qed_mcp_cmd_add_elem()110 p_cmd_elem->p_mb_params = p_mb_params; in qed_mcp_cmd_add_elem()111 p_cmd_elem->expected_seq_num = expected_seq_num; in qed_mcp_cmd_add_elem()112 list_add(&p_cmd_elem->list, &p_hwfn->mcp_info->cmd_list); in qed_mcp_cmd_add_elem()114 return p_cmd_elem; in qed_mcp_cmd_add_elem()119 struct qed_mcp_cmd_elem *p_cmd_elem) in qed_mcp_cmd_del_elem() argument121 list_del(&p_cmd_elem->list); in qed_mcp_cmd_del_elem()122 kfree(p_cmd_elem); in qed_mcp_cmd_del_elem()[all …]