Lines Matching refs:aligned_new_limit
293 sljit_uw aligned_new_limit; in sljit_stack_resize() local
298 aligned_new_limit = (new_limit + sljit_page_align) & ~sljit_page_align; in sljit_stack_resize()
300 if (aligned_new_limit != aligned_old_limit) { in sljit_stack_resize()
301 if (aligned_new_limit > aligned_old_limit) { in sljit_stack_resize()
302 …if (!VirtualAlloc((void*)aligned_old_limit, aligned_new_limit - aligned_old_limit, MEM_COMMIT, PAG… in sljit_stack_resize()
306 if (!VirtualFree((void*)aligned_new_limit, aligned_old_limit - aligned_new_limit, MEM_DECOMMIT)) in sljit_stack_resize()
317 aligned_new_limit = (new_limit + sljit_page_align) & ~sljit_page_align; in sljit_stack_resize()
321 if (aligned_new_limit < aligned_old_limit) in sljit_stack_resize()
322 madvise((void*)aligned_new_limit, aligned_old_limit - aligned_new_limit, MADV_DONTNEED); in sljit_stack_resize()
324 if (aligned_new_limit < aligned_old_limit) in sljit_stack_resize()
325 …posix_madvise((void*)aligned_new_limit, aligned_old_limit - aligned_new_limit, POSIX_MADV_DONTNEED… in sljit_stack_resize()