Home
last modified time | relevance | path

Searched refs:sz_left (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_sar.c74 uint32_t sz_left; in osmv_rmpp_sar_get_mad_seg() local
98 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()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_cxt.c1107 u32 lines, line, sz_left, lines_to_skip = 0; in ecore_ilt_blk_alloc() local
1119 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()