Lines Matching refs:mapping_base

43 static void *mapping_base;  variable
121 mapping_base = MapViewOfFileEx(memfile, FILE_MAP_ALL_ACCESS, 0, 0, ACCEL_BASE_POINTER_SIZE, NULL); in zend_shared_alloc_reattach()
122 if (mapping_base == NULL) { in zend_shared_alloc_reattach()
128 wanted_mapping_base = ((void**)mapping_base)[0]; in zend_shared_alloc_reattach()
129 execute_ex_base = ((void**)mapping_base)[1]; in zend_shared_alloc_reattach()
130 UnmapViewOfFile(mapping_base); in zend_shared_alloc_reattach()
155mapping_base = MapViewOfFileEx(memfile, FILE_MAP_ALL_ACCESS, 0, 0, pre_size + ZEND_ALIGNED_SIZE(si… in zend_shared_alloc_reattach()
156 if (mapping_base == NULL) { in zend_shared_alloc_reattach()
161 …_globals *)((char *)((zend_smm_shared_globals *)mapping_base)->app_shared_globals + ((char *)mappi… in zend_shared_alloc_reattach()
176mapping_base = MapViewOfFileEx(memfile, FILE_MAP_ALL_ACCESS|FILE_MAP_EXECUTE, 0, 0, 0, wanted_mapp… in zend_shared_alloc_reattach()
178 if (mapping_base == NULL) { in zend_shared_alloc_reattach()
188 if (!VirtualProtect(mapping_base, requested_size, PAGE_READWRITE, &old)) { in zend_shared_alloc_reattach()
195 smm_shared_globals = (zend_smm_shared_globals *) ((char*)mapping_base + ACCEL_BASE_POINTER_SIZE); in zend_shared_alloc_reattach()
299 …shared_segment->p = mapping_base = MapViewOfFileEx(memfile, FILE_MAP_ALL_ACCESS|FILE_MAP_EXECUTE, … in create_segments()
304 } while (!mapping_base); in create_segments()
306 if (mapping_base == NULL) { in create_segments()
315 if (!VirtualProtect(mapping_base, requested_size, PAGE_READWRITE, &old)) { in create_segments()
321 ((void**)mapping_base)[0] = mapping_base; in create_segments()
322 ((void**)mapping_base)[1] = (void*)execute_ex; in create_segments()
336 if (mapping_base) { in detach_segment()
337 UnmapViewOfFile(mapping_base); in detach_segment()
338 mapping_base = NULL; in detach_segment()