Lines Matching refs:ret_code

29 	int ret_code = I40E_SUCCESS;  in i40e_add_sd_table_entry()  local
34 ret_code = I40E_ERR_BAD_PTR; in i40e_add_sd_table_entry()
40 ret_code = I40E_ERR_INVALID_SD_INDEX; in i40e_add_sd_table_entry()
56 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len, in i40e_add_sd_table_entry()
58 if (ret_code) in i40e_add_sd_table_entry()
62 ret_code = i40e_allocate_virt_mem(hw, in i40e_add_sd_table_entry()
65 if (ret_code) in i40e_add_sd_table_entry()
85 if (ret_code) in i40e_add_sd_table_entry()
89 return ret_code; in i40e_add_sd_table_entry()
119 int ret_code = 0; in i40e_add_pd_table_entry() local
124 ret_code = I40E_ERR_INVALID_PAGE_DESC_INDEX; in i40e_add_pd_table_entry()
144 ret_code = i40e_allocate_dma_mem(hw, page, i40e_mem_bp, in i40e_add_pd_table_entry()
147 if (ret_code) in i40e_add_pd_table_entry()
170 return ret_code; in i40e_add_pd_table_entry()
196 int ret_code = 0; in i40e_remove_pd_bp() local
203 ret_code = I40E_ERR_INVALID_PAGE_DESC_INDEX; in i40e_remove_pd_bp()
209 ret_code = I40E_ERR_INVALID_SD_TYPE; in i40e_remove_pd_bp()
230 ret_code = i40e_free_dma_mem(hw, &pd_entry->bp.addr); in i40e_remove_pd_bp()
231 if (ret_code) in i40e_remove_pd_bp()
236 return ret_code; in i40e_remove_pd_bp()
248 int ret_code = 0; in i40e_prep_remove_sd_bp() local
254 ret_code = I40E_ERR_NOT_READY; in i40e_prep_remove_sd_bp()
262 return ret_code; in i40e_prep_remove_sd_bp()
297 int ret_code = 0; in i40e_prep_remove_pd_page() local
302 ret_code = I40E_ERR_NOT_READY; in i40e_prep_remove_pd_page()
311 return ret_code; in i40e_prep_remove_pd_page()