Lines Matching refs:start
30 // * Modify the start to point to the very beginning of the Node.js `.text`
35 // * Align the address of the start to its nearest higher large page
50 // * Use mmap using the start address with MAP_FIXED so we get exactly the
153 uintptr_t start = 0;
165 uintptr_t start = info->dlpi_addr + phdr->p_vaddr;
166 uintptr_t end = start + phdr->p_memsz;
168 if (dl_params->reference_sym >= start &&
170 dl_params->start = start;
201 Debug("start: %p - sym: %p - end: %p\n",
202 reinterpret_cast<void*>(dl_params.start),
206 dl_params.start = dl_params.reference_sym;
207 if (lpstub_start > dl_params.start && lpstub_start <= dl_params.end) {
213 if (dl_params.start < dl_params.end) {
214 char* from = reinterpret_cast<char*>(hugepage_align_up(dl_params.start));
244 char* start = reinterpret_cast<char*>(hugepage_align_up(addr));
247 if (end > start && (map.protection & VM_PROT_READ) != 0 &&
250 nregion.from = start;
307 FORCE_INLINE void Reset(void* start,
313 mem_ = mmap(start, size, prot, flags, fd, offset);
360 void* start = r.from;
374 tmem.Reset(start, size,
379 memcpy(start, nmem.mem(), size);
381 tmem.Reset(start, size,
386 memcpy(start, nmem.mem(), size);
393 tmem.Reset(start, size,
399 if (mprotect(start, size, PROT_READ | PROT_WRITE | PROT_EXEC) == -1)
401 memcpy(start, tmem.mem(), size);
404 if (mprotect(start, size, PROT_READ | PROT_EXEC) == -1) goto fail;
405 MemoryMapPointer::SetName(start, size, "nodejs Large Page");