Searched refs:sz_left (Results 1 – 2 of 2) sorted by relevance
74 uint32_t sz_left; in osmv_rmpp_sar_get_mad_seg() local98 sz_left = p_sar->data_len - ((seg_idx - 1) * p_sar->data_sz); in osmv_rmpp_sar_get_mad_seg()99 if (sz_left > p_sar->data_sz) in osmv_rmpp_sar_get_mad_seg()103 memcpy((char *)p_buf + p_sar->hdr_sz, (char *)p_seg, sz_left); in osmv_rmpp_sar_get_mad_seg()
1107 u32 lines, line, sz_left, lines_to_skip = 0; in ecore_ilt_blk_alloc() local1119 sz_left = p_blk->total_size; in ecore_ilt_blk_alloc()1120 lines = DIV_ROUND_UP(sz_left, p_blk->real_size_in_page) - in ecore_ilt_blk_alloc()1130 size = OSAL_MIN_T(u32, sz_left, p_blk->real_size_in_page); in ecore_ilt_blk_alloc()1145 sz_left -= size; in ecore_ilt_blk_alloc()