Searched refs:min_request (Results 1 – 2 of 2) sorted by relevance
265 size_t odd_bytes, min_request, slop; in alloc_small() local291 min_request = sizeofobject + SIZEOF(small_pool_hdr); in alloc_small()297 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) in alloc_small()298 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); in alloc_small()301 hdr_ptr = (small_pool_ptr) jpeg_get_small(cinfo, min_request + slop); in alloc_small()308 mem->total_space_allocated += min_request + slop; in alloc_small()
273 size_t min_request, slop; in alloc_small() local308 min_request = sizeof(small_pool_hdr) + sizeofobject + ALIGN_SIZE - 1; in alloc_small()314 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) in alloc_small()315 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); in alloc_small()318 hdr_ptr = (small_pool_ptr) jpeg_get_small(cinfo, min_request + slop); in alloc_small()325 mem->total_space_allocated += min_request + slop; in alloc_small()