Home
last modified time | relevance | path

Searched refs:nxt_pagesize (Results 1 – 8 of 8) sorted by relevance

/unit/src/
H A Dnxt_lib.c11 nxt_uint_t nxt_pagesize; variable
109 nxt_pagesize = getpagesize(); in nxt_lib_start()
111 nxt_debug(&nxt_main_task, "pagesize: %ui", nxt_pagesize); in nxt_lib_start()
H A Dnxt_fiber.c33 fm->stack_size = 512 * 1024 - nxt_pagesize; in nxt_fiber_main_create()
109 ret = munmap(fib->stack - nxt_pagesize, fib->stack_size + nxt_pagesize); in nxt_fiber_create()
129 size = fib->stack_size + nxt_pagesize; in nxt_fiber_create_stack()
142 if (nxt_slow_path(mprotect(s, nxt_pagesize, PROT_NONE) != 0)) { in nxt_fiber_create_stack()
149 s += nxt_pagesize; in nxt_fiber_create_stack()
164 size = fib->stack_size + nxt_pagesize; in nxt_fiber_create_stack()
175 if (nxt_slow_path(mprotect(s, nxt_pagesize, PROT_NONE) != 0)) { in nxt_fiber_create_stack()
182 s += nxt_pagesize; in nxt_fiber_create_stack()
H A Dnxt_main.h167 NXT_EXPORT extern nxt_uint_t nxt_pagesize;
H A Dnxt_job_file.c264 for (p = nxt_align_ptr(p, nxt_pagesize); p < end; p += nxt_pagesize) { in nxt_job_file_mmap()
H A Dnxt_conn_write.c275 page_off = pos % nxt_pagesize; in nxt_sendfile()
H A Dnxt_conf_validation.c1876 if ((size % nxt_pagesize) != 0) { in nxt_conf_vldt_thread_stack_size()
1879 nxt_pagesize); in nxt_conf_vldt_thread_stack_size()
/unit/src/test/
H A Dnxt_rbtree_test.c196 #define NXT_RBT_STEP (21 * nxt_pagesize / 10 / sizeof(nxt_rbtree_test_t))
H A Dnxt_rbtree1_test.c257 #define NXT_RBT_STEP (21 * nxt_pagesize / 10 / sizeof(nxt_rbtree1_node_t))