Searched refs:hugetlbsize (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/util/ |
H A D | memfd.c | 50 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 D | hostmem-memfd.c | 30 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 D | cow.c | 932 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 D | gup_longterm.c | 299 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 D | memfd.h | 40 uint64_t hugetlbsize, unsigned int seals, Error **errp);
|
/openbmc/qemu/qapi/ |
H A D | qom.json | 710 # @hugetlbsize: the hugetlb page size on systems that support multiple 723 '*hugetlbsize': 'size',
|
/openbmc/qemu/ |
H A D | qemu-options.hx | 5410 …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
|