Home
last modified time | relevance | path

Searched refs:map_sz (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap02.c50 long page_sz, map_sz; in test_hugemmap() local
53 map_sz = SAFE_READ_MEMINFO("Hugepagesize:") * 1024 * 2; in test_hugemmap()
65 while (range_is_mapped(low_addr, low_addr + map_sz) == 1) { in test_hugemmap()
77 while (range_is_mapped(low_addr2, low_addr2 + map_sz) == 1) { in test_hugemmap()
84 addr2 = mmap((void *)low_addr2, map_sz, PROT_READ | PROT_WRITE, in test_hugemmap()
110 if (munmap(addr2, map_sz) == -1) in test_hugemmap()
/third_party/libunwind/src/
Delfxx.c586 size_t calc_elf_file_size (void* elf, size_t map_sz) in calc_elf_file_size() argument
588 if (map_sz < sizeof(Elf_W (Ehdr))) { in calc_elf_file_size()
589 Dprintf("invalid elf size? sz:%d, request sz:%d\n", (int)map_sz, (int)sizeof(Elf_W (Ehdr))); in calc_elf_file_size()
Delfxx.h83 extern size_t calc_elf_file_size (void* elf, size_t map_sz);
/third_party/libbpf/src/
Dlibbpf.c1610 size_t map_sz; local
1612 map_sz = (size_t)roundup(map->def.value_size, 8) * map->def.max_entries;
1613 map_sz = roundup(map_sz, page_sz);
1614 return map_sz;
2124 size_t map_sz; local
2136 map_sz = last_ext->kcfg.data_off + last_ext->kcfg.sz;
2139 NULL, map_sz);