Lines Matching refs:adjust
125 size_t adjust = 0; in adjust_request_size() local
133 adjust = tlsf_max(aligned, block_size_min); in adjust_request_size()
136 return adjust; in adjust_request_size()
756 size_t adjust = adjust_request_size(size, ALIGN_SIZE); in tlsf_malloc() local
757 block_header_t* block = block_locate_free(control, adjust); in tlsf_malloc()
758 return block_prepare_used(control, block, adjust); in tlsf_malloc()
787 const size_t adjust = adjust_request_size(size, ALIGN_SIZE); in tlsf_memalign_offs() local
802 const size_t size_with_gap = adjust_request_size(adjust + align + gap_minimum - off_adjust, align); in tlsf_memalign_offs()
812 const size_t aligned_size = (adjust && align > ALIGN_SIZE) ? size_with_gap : adjust; in tlsf_memalign_offs()
852 return block_prepare_used(control, block, adjust); in tlsf_memalign_offs()
915 const size_t adjust = adjust_request_size(size, ALIGN_SIZE); in tlsf_realloc() local
923 if (adjust > cursize && (!block_is_free(next) || adjust > combined)) in tlsf_realloc()
936 if (adjust > cursize) in tlsf_realloc()
943 block_trim_used(control, block, adjust); in tlsf_realloc()