Searched refs:page_size (Results 1 - 12 of 12) sorted by relevance

/vpp/src/vppinfra/
H A Dpool.c47 u64 page_size; local
71 page_size = clib_mem_get_page_size ();
72 total_size = (total_size + page_size - 1) & ~(page_size - 1);
H A Dunix-formats.c973 uword page_size = clib_mem_get_page_size (); local
975 uword n_pages = size / page_size;
984 "page size %uk", va, size / 1024, n_pages, page_size / 1024);
990 ptr[i] = uword_to_pointer (va + i * page_size, void *);
1013 page_size / 1024);
1017 page_size / 1024);
1021 indent + 2, pages_unknown, pages_unknown * page_size / 1024);
H A Ddlmalloc.c1203 size_t page_size; member in struct:malloc_params
1261 (((S) + (mparams.page_size - SIZE_T_ONE)) & ~(mparams.page_size - SIZE_T_ONE))
1280 (((size_t)(S) & (mparams.page_size - SIZE_T_ONE)) == 0)
1738 mparams.page_size = psize;
1800 if (val >= mparams.page_size && ((val & (val-1)) == 0)) {
1846 assert((len & (mparams.page_size-SIZE_T_ONE)) == 0);
3907 pagesz = mparams.page_size;
3914 pagesz = mparams.page_size;
4040 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) {
[all...]
/vpp/src/vppinfra/linux/
H A Dsysfs.c122 uword page_size; local
127 page_size = 1ULL << (log2_page_size - 10);
157 p = format (p, "/hugepages/hugepages-%ukB/nr_hugepages%c", page_size, 0);
174 uword page_size; local
179 page_size = 1ULL << (log2_page_size - 10);
210 p = format (p, "/hugepages/hugepages-%ukB/%s_hugepages%c", page_size,
243 uword page_size; local
248 page_size = 1ULL << (log2_page_size - 10);
261 needed, page_size, numa_node);
/vpp/src/svm/
H A Dssvm.c35 uword page_size, requested_va = 0; local
80 page_size = clib_mem_get_fd_page_size (ssvm_fd);
84 clib_mem_vm_randomize_va (&requested_va, min_log2 (page_size));
105 sh->heap = create_mspace_with_base (((u8 *) sh) + page_size,
106 ssvm->ssvm_size - page_size,
219 uword page_size; local
250 page_size = 1ull << alloc.log2_page_size;
257 sh->heap = create_mspace_with_base (((u8 *) sh) + page_size,
258 memfd->ssvm_size - page_size,
281 uword page_size; local
[all...]
/vpp/src/plugins/perfmon/
H A Dperfmon.h118 u32 page_size; member in struct:__anon6
H A Dperfmon_periodic.c169 p = mmap (0, pm->page_size, PROT_READ, MAP_SHARED, fd, 0);
176 CLIB_MEM_UNPOISON (p, pm->page_size);
249 pm->page_size) < 0)
H A Dperfmon.c115 pm->page_size = getpagesize ();
/vpp/src/vlib/
H A Dnode.c299 u32 page_size = clib_mem_get_page_size (); local
417 min_log2 (page_size));
425 map = mmap (0, stack_bytes + page_size, PROT_READ | PROT_WRITE,
433 p->stack = map + page_size;
436 map = mmap (map, page_size, PROT_NONE, mmap_flags, -1, 0);
/vpp/src/vnet/session/
H A Dsegment_manager.c94 uword baseva = (uword) ~ 0ULL, alloc_size, page_size; local
123 page_size = clib_mem_get_page_size ();
125 segment_size = clib_max (segment_size + page_size - 1, segment_size);
126 segment_size = segment_size & ~(page_size - 1);
/vpp/src/tools/g2/
H A Dpointsel.c83 adj->page_size = (gfloat)c_maxpointsel;
H A Dview1.c384 * page_size size of currently visible area
398 adj->page_size = (gfloat)(current_width);
424 adj->page_size = (gfloat)s_v1->npids;
2558 g_print ("adj->page_size = %.2f\n", adj->page_size);

Completed in 21 milliseconds