Lines Matching refs:adjust
510 size_t adjust = 0; in adjust_request_size() local
516 adjust = tlsf_max(aligned, block_size_min); in adjust_request_size()
519 return adjust; in adjust_request_size()
1100 const size_t adjust = adjust_request_size(size, ALIGN_SIZE); in lv_tlsf_malloc() local
1101 block_header_t * block = block_locate_free(control, adjust); in lv_tlsf_malloc()
1102 return block_prepare_used(control, block, adjust); in lv_tlsf_malloc()
1108 const size_t adjust = adjust_request_size(size, ALIGN_SIZE); in lv_tlsf_memalign() local
1119 const size_t size_with_gap = adjust_request_size(adjust + align + gap_minimum, align); in lv_tlsf_memalign()
1125 const size_t aligned_size = (adjust && align > ALIGN_SIZE) ? size_with_gap : adjust; in lv_tlsf_memalign()
1156 return block_prepare_used(control, block, adjust); in lv_tlsf_memalign()
1209 const size_t adjust = adjust_request_size(size, ALIGN_SIZE); in lv_tlsf_realloc() local
1210 if(size > cursize && adjust == 0) { in lv_tlsf_realloc()
1221 if(adjust > cursize && (!block_is_free(next) || adjust > combined)) { in lv_tlsf_realloc()
1231 if(adjust > cursize) { in lv_tlsf_realloc()
1237 block_trim_used(control, block, adjust); in lv_tlsf_realloc()