Home
last modified time | relevance | path

Searched refs:hugetlbsize (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/util/
H A Dmemfd.c51 uint64_t hugetlbsize, unsigned int seals, Error **errp) in qemu_memfd_create() argument
53 int htsize = hugetlbsize ? ctz64(hugetlbsize) : 0; in qemu_memfd_create()
55 if (htsize && 1ULL << htsize != hugetlbsize) { in qemu_memfd_create()
/openbmc/qemu/backends/
H A Dhostmem-memfd.c28 uint64_t hugetlbsize; member
46 m->hugetlb, m->hugetlbsize, m->seal ? in memfd_backend_memory_alloc()
94 m->hugetlbsize = value; in memfd_backend_set_hugetlbsize()
102 uint64_t value = m->hugetlbsize; in memfd_backend_get_hugetlbsize()
/openbmc/linux/tools/testing/selftests/mm/
H A Dcow.c926 static void run_with_hugetlb(test_fn fn, const char *desc, size_t hugetlbsize) in run_with_hugetlb() argument
932 hugetlbsize / 1024); in run_with_hugetlb()
934 flags |= __builtin_ctzll(hugetlbsize) << MAP_HUGE_SHIFT; in run_with_hugetlb()
936 mem = mmap(NULL, hugetlbsize, PROT_READ | PROT_WRITE, flags, -1, 0); in run_with_hugetlb()
943 memset(mem, 0, hugetlbsize); in run_with_hugetlb()
949 dummy = mmap(NULL, hugetlbsize, PROT_READ | PROT_WRITE, flags, -1, 0); in run_with_hugetlb()
954 munmap(dummy, hugetlbsize); in run_with_hugetlb()
956 fn(mem, hugetlbsize); in run_with_hugetlb()
958 munmap(mem, hugetlbsize); in run_with_hugetlb()
1563 size_t hugetlbsize) in run_with_memfd_hugetlb() argument
[all …]
H A Dgup_longterm.c299 size_t hugetlbsize) in run_with_memfd_hugetlb() argument
305 hugetlbsize / 1024); in run_with_memfd_hugetlb()
307 flags |= __builtin_ctzll(hugetlbsize) << MFD_HUGE_SHIFT; in run_with_memfd_hugetlb()
315 fn(fd, hugetlbsize); in run_with_memfd_hugetlb()
/openbmc/qemu/include/qemu/
H A Dmemfd.h40 uint64_t hugetlbsize, unsigned int seals, Error **errp);
/openbmc/qemu/qapi/
H A Dqom.json710 # @hugetlbsize: the hugetlb page size on systems that support multiple
723 '*hugetlbsize': 'size',
/openbmc/qemu/
H A Dqemu-options.hx5369 …s=host-nodes,policy=default|preferred|bind|interleave,seal=on|off,hugetlb=on|off,hugetlbsize=size``
5380 with the ``hugetlb`` option, the ``hugetlbsize`` option specify