Home
last modified time | relevance | path

Searched refs:ZEND_MM_ALIGNED_SIZE_EX (Results 1 – 14 of 14) sorted by relevance

/php-src/ext/opcache/
H A Dshared_alloc_mmap.c79 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 Dzend_shared_alloc.h175 ZEND_MM_ALIGNED_SIZE_EX(size, PLATFORM_ALIGNMENT)
H A DZendAccelerator.c419ZEND_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 Dzend_smart_str.c28 (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 Dzend_attributes.c277 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 Dzend_opcode.c1070 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 Dzend.c743 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 Dzend_alloc.h37 #define ZEND_MM_ALIGNED_SIZE_EX(size, alignment) \ macro
H A Dzend_alloc.c1610 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 Dzend_string.h120 …(str) = (zend_string *)do_alloca(ZEND_MM_ALIGNED_SIZE_EX(_ZSTR_STRUCT_SIZE(_len), 8), (use_heap));…
/php-src/main/
H A Dphp_output.h85 ZEND_MM_ALIGNED_SIZE_EX(s, PHP_OUTPUT_HANDLER_ALIGNTO_SIZE) : \
/php-src/Zend/Optimizer/
H A Dzend_optimizer.c1225 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 Dcompact_literals.c809 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 Dzend_jit.c3727 *dasm_ptr = (void*)ZEND_MM_ALIGNED_SIZE_EX(((size_t)(*dasm_ptr)), 16); in zend_jit_startup()

Completed in 65 milliseconds