Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dmemfd.c50 uint64_t hugetlbsize, unsigned int seals, Error **errp) in qemu_memfd_create() argument
52 int htsize = hugetlbsize ? ctz64(hugetlbsize) : 0; in qemu_memfd_create()
54 if (htsize && 1ULL << htsize != hugetlbsize) { in qemu_memfd_create()
/openbmc/qemu/backends/
H A Dhostmem-memfd.c30 uint64_t hugetlbsize; member
48 m->hugetlb, m->hugetlbsize, m->seal ? in memfd_backend_memory_alloc()
96 m->hugetlbsize = value; in memfd_backend_set_hugetlbsize()
104 uint64_t value = m->hugetlbsize; in memfd_backend_get_hugetlbsize()
/openbmc/linux/tools/testing/selftests/mm/
H A Dcow.c932 hugetlbsize / 1024); in run_with_hugetlb()
943 memset(mem, 0, hugetlbsize); 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
1570 hugetlbsize / 1024); in run_with_memfd_hugetlb()
1581 if (fallocate(fd, 0, 0, hugetlbsize)) { in run_with_memfd_hugetlb()
1603 fn(mem, smem, hugetlbsize); in run_with_memfd_hugetlb()
1605 munmap(mem, hugetlbsize); in run_with_memfd_hugetlb()
[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.hx5410 …s=host-nodes,policy=default|preferred|bind|interleave,seal=on|off,hugetlb=on|off,hugetlbsize=size``
5421 with the ``hugetlb`` option, the ``hugetlbsize`` option specify