Searched refs:total_mem_len (Results 1 – 2 of 2) sorted by relevance
354 u32 total_mem_len; in cn10k_sgv2_info_create() local365 total_mem_len = sg_len + info_len + sizeof(union otx2_cpt_res_s); in cn10k_sgv2_info_create()367 info = kzalloc(total_mem_len, gfp); in cn10k_sgv2_info_create()392 info->dma_len = total_mem_len - info_len; in cn10k_sgv2_info_create()424 u32 total_mem_len; in otx2_sg_info_create() local440 total_mem_len = align_dlen + info_len + sizeof(union otx2_cpt_res_s); in otx2_sg_info_create()442 info = kzalloc(total_mem_len, gfp); in otx2_sg_info_create()468 info->dma_len = total_mem_len - info_len; in otx2_sg_info_create()
177 u32 total_mem_len; in setup_sgio_list() local194 total_mem_len = align_dlen + info_len + rlen + COMPLETION_CODE_SIZE; in setup_sgio_list()196 info = kzalloc(total_mem_len, gfp); in setup_sgio_list()223 info->dma_len = total_mem_len - info_len; in setup_sgio_list()