Lines Matching refs:limit
218 int ossl_sframe_list_drop_frames(SFRAME_LIST *fl, uint64_t limit) in ossl_sframe_list_drop_frames() argument
223 if (!ossl_assert(limit >= fl->offset) in ossl_sframe_list_drop_frames()
225 || limit <= fl->tail->range.end) in ossl_sframe_list_drop_frames()
227 || limit == fl->offset)) in ossl_sframe_list_drop_frames()
230 fl->offset = limit; in ossl_sframe_list_drop_frames()
232 for (sf = fl->head; sf != NULL && sf->range.end <= limit;) { in ossl_sframe_list_drop_frames()
277 uint64_t limit = fl->offset; in ossl_sframe_list_move_data() local
289 if (limit < sf->range.start) in ossl_sframe_list_move_data()
290 limit = sf->range.start; in ossl_sframe_list_move_data()
293 if (limit > sf->range.start) in ossl_sframe_list_move_data()
294 data += (size_t)(limit - sf->range.start); in ossl_sframe_list_move_data()
295 len = (size_t)(sf->range.end - limit); in ossl_sframe_list_move_data()
297 if (!write_at_cb(limit, data, len, cb_arg)) in ossl_sframe_list_move_data()
311 limit = sf->range.end; in ossl_sframe_list_move_data()