Searched refs:ZEND_MM_ALIGNED_SIZE_EX (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/opcache/ |
H A D | shared_alloc_mmap.c | 79 last_free_addr = ZEND_MM_ALIGNED_SIZE_EX(end + huge_page_size, huge_page_size); in find_prefered_mmap_base() 88 last_candidate = ZEND_MM_ALIGNED_SIZE_EX(start - requested_size, huge_page_size); in find_prefered_mmap_base() 115 last_free_addr = ZEND_MM_ALIGNED_SIZE_EX(end, huge_page_size); in find_prefered_mmap_base() 142 last_candidate = ZEND_MM_ALIGNED_SIZE_EX(e_start - requested_size, huge_page_size); in find_prefered_mmap_base() 169 last_free_addr = ZEND_MM_ALIGNED_SIZE_EX(e_end, huge_page_size); in find_prefered_mmap_base() 251 p = (void*)(ZEND_MM_ALIGNED_SIZE_EX((ptrdiff_t)p, huge_page_size)); in create_segments()
|
H A D | zend_shared_alloc.h | 175 ZEND_MM_ALIGNED_SIZE_EX(size, PLATFORM_ALIGNMENT)
|
H A D | ZendAccelerator.c | 419 …ZEND_MM_ALIGNED_SIZE_EX(_ZSTR_STRUCT_SIZE(ZSTR_LEN(s)) + sizeof(zend_string_table_pos_t), ZEND_STR… 1455 new_key = zend_shared_alloc(ZEND_MM_ALIGNED_SIZE_EX(_ZSTR_STRUCT_SIZE(ZSTR_LEN(key)), 8)); in accel_new_interned_key() 3056 long unsigned int seg_start = ZEND_MM_ALIGNED_SIZE_EX(start, huge_page_size); in accel_move_code_to_huge_pages() 3098 long unsigned int seg_start = ZEND_MM_ALIGNED_SIZE_EX(start, huge_page_size); in accel_move_code_to_huge_pages() 3224 jit_size = ZEND_MM_ALIGNED_SIZE_EX(jit_size, page_size); 4342 CG(map_ptr_size) = ZEND_MM_ALIGNED_SIZE_EX(CG(map_ptr_last) + 1, 4096);
|
/php-src/Zend/ |
H A D | zend_smart_str.c | 28 (ZEND_MM_ALIGNED_SIZE_EX(len + SMART_STR_OVERHEAD, SMART_STR_PAGE) - SMART_STR_OVERHEAD) 146 …str->a = ZEND_MM_ALIGNED_SIZE_EX(len + SMART_STRING_OVERHEAD, SMART_STRING_PAGE) - SMART_STRING_OV… in _smart_string_alloc_persistent() 154 …str->a = ZEND_MM_ALIGNED_SIZE_EX(len + SMART_STRING_OVERHEAD, SMART_STRING_PAGE) - SMART_STRING_OV… in _smart_string_alloc_persistent() 167 …str->a = ZEND_MM_ALIGNED_SIZE_EX(len + SMART_STRING_OVERHEAD, SMART_STRING_PAGE) - SMART_STRING_OV… in _smart_string_alloc() 180 …str->a = ZEND_MM_ALIGNED_SIZE_EX(len + SMART_STRING_OVERHEAD, SMART_STRING_PAGE) - SMART_STRING_OV… in _smart_string_alloc()
|
H A D | zend_attributes.c | 277 ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_execute_data), sizeof(zval)) + in zend_get_attribute_object() 278 ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op), sizeof(zval)) + in zend_get_attribute_object() 279 ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_function), sizeof(zval)), in zend_get_attribute_object()
|
H A D | zend_opcode.c | 1070 ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) * op_array->last, 16) + in pass_two() 1073 memcpy(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) * op_array->last, 16), in pass_two() 1076 …op_array->literals = (zval*)(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) … in pass_two() 1096 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two()
|
H A D | zend.c | 743 compiler_globals->map_ptr_size = ZEND_MM_ALIGNED_SIZE_EX(compiler_globals->map_ptr_last, 4096); in compiler_globals_ctor() 2022 CG(map_ptr_size) = ZEND_MM_ALIGNED_SIZE_EX(CG(map_ptr_last) + 1, 4096); in zend_map_ptr_new() 2060 CG(map_ptr_size) = ZEND_MM_ALIGNED_SIZE_EX(last, 4096); in zend_map_ptr_extend()
|
H A D | zend_alloc.h | 37 #define ZEND_MM_ALIGNED_SIZE_EX(size, alignment) \ macro
|
H A D | zend_alloc.c | 1610 new_size = ZEND_MM_ALIGNED_SIZE_EX(size, MAX(REAL_PAGE_SIZE, ZEND_MM_CHUNK_SIZE)); 1612 new_size = ZEND_MM_ALIGNED_SIZE_EX(size, REAL_PAGE_SIZE); 1762 new_size = ZEND_MM_ALIGNED_SIZE_EX(size, ZEND_MM_PAGE_SIZE); 1928 size_t new_size = ZEND_MM_ALIGNED_SIZE_EX(size, alignment); 2716 uint32_t pages_count = ZEND_MM_ALIGNED_SIZE_EX(size, ZEND_MM_PAGE_SIZE) / ZEND_MM_PAGE_SIZE;
|
H A D | zend_string.h | 120 …(str) = (zend_string *)do_alloca(ZEND_MM_ALIGNED_SIZE_EX(_ZSTR_STRUCT_SIZE(_len), 8), (use_heap));…
|
/php-src/main/ |
H A D | php_output.h | 85 ZEND_MM_ALIGNED_SIZE_EX(s, PHP_OUTPUT_HANDLER_ALIGNTO_SIZE) : \
|
/php-src/Zend/Optimizer/ |
H A D | zend_optimizer.c | 1225 ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) * op_array->last, 16) + in zend_redo_pass_two() 1227 memcpy(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) * op_array->last, 16), in zend_redo_pass_two() 1230 …op_array->literals = (zval*)(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) … in zend_redo_pass_two() 1335 ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) * op_array->last, 16) + in zend_redo_pass_two_ex() 1337 memcpy(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) * op_array->last, 16), in zend_redo_pass_two_ex() 1340 …op_array->literals = (zval*)(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) … in zend_redo_pass_two_ex()
|
H A D | compact_literals.c | 809 op_array->cache_size = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in zend_optimizer_compact_literals()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 3727 *dasm_ptr = (void*)ZEND_MM_ALIGNED_SIZE_EX(((size_t)(*dasm_ptr)), 16); in zend_jit_startup()
|
Completed in 65 milliseconds