Searched refs:MAX_ALLOC_CHUNK (Results 1 – 6 of 6) sorted by relevance
60 #ifndef MAX_ALLOC_CHUNK /* may be overridden in jconfig.h */61 #define MAX_ALLOC_CHUNK 1000000000L macro
281 if ((sizeof(small_pool_hdr) + sizeofobject + ALIGN_SIZE - 1) > MAX_ALLOC_CHUNK) in alloc_small()305 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) in alloc_small()306 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); in alloc_small()369 if ((sizeof(large_pool_hdr) + sizeofobject + ALIGN_SIZE - 1) > MAX_ALLOC_CHUNK) in alloc_large()434 ltemp = (MAX_ALLOC_CHUNK-sizeof(large_pool_hdr)) / in alloc_sarray()486 ltemp = (MAX_ALLOC_CHUNK-sizeof(large_pool_hdr)) / in alloc_barray()1083 test_mac = (size_t) MAX_ALLOC_CHUNK; in jinit_memory_mgr()1084 if ((long) test_mac != MAX_ALLOC_CHUNK || in jinit_memory_mgr()1085 (MAX_ALLOC_CHUNK % ALIGN_SIZE) != 0) in jinit_memory_mgr()1112 mem->pub.max_alloc_chunk = MAX_ALLOC_CHUNK; in jinit_memory_mgr()
74 #ifndef MAX_ALLOC_CHUNK /* may be overridden in jconfig.h */75 #define MAX_ALLOC_CHUNK 1000000000L macro
268 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-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()352 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr))) in alloc_large()408 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_sarray()456 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_barray()1053 test_mac = (size_t) MAX_ALLOC_CHUNK; in jinit_memory_mgr()1054 if ((long) test_mac != MAX_ALLOC_CHUNK || in jinit_memory_mgr()1055 (MAX_ALLOC_CHUNK % SIZEOF(ALIGN_TYPE)) != 0) in jinit_memory_mgr()1082 mem->pub.max_alloc_chunk = MAX_ALLOC_CHUNK; in jinit_memory_mgr()
267 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr))) in alloc_small()296 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) in alloc_small()297 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); in alloc_small()351 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr))) in alloc_large()407 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_sarray()455 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_barray()1052 test_mac = (size_t) MAX_ALLOC_CHUNK; in jinit_memory_mgr()1053 if ((long) test_mac != MAX_ALLOC_CHUNK || in jinit_memory_mgr()1054 (MAX_ALLOC_CHUNK % SIZEOF(ALIGN_TYPE)) != 0) in jinit_memory_mgr()1081 mem->pub.max_alloc_chunk = MAX_ALLOC_CHUNK; in jinit_memory_mgr()
77 #ifndef MAX_ALLOC_CHUNK /* may be overridden in jconfig.h */78 #define MAX_ALLOC_CHUNK 1000000000L macro