linux/include/uapi/linux/mman.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI_LINUX_MMAN_H
#define _UAPI_LINUX_MMAN_H

#include <asm/mman.h>
#include <asm-generic/hugetlb_encode.h>
#include <linux/types.h>

#define MREMAP_MAYMOVE
#define MREMAP_FIXED
#define MREMAP_DONTUNMAP

#define OVERCOMMIT_GUESS
#define OVERCOMMIT_ALWAYS
#define OVERCOMMIT_NEVER

#define MAP_SHARED
#define MAP_PRIVATE
#define MAP_SHARED_VALIDATE
#define MAP_DROPPABLE

/*
 * Huge page size encoding when MAP_HUGETLB is specified, and a huge page
 * size other than the default is desired.  See hugetlb_encode.h.
 * All known huge page size encodings are provided here.  It is the
 * responsibility of the application to know which sizes are supported on
 * the running system.  See mmap(2) man page for details.
 */
#define MAP_HUGE_SHIFT
#define MAP_HUGE_MASK

#define MAP_HUGE_16KB
#define MAP_HUGE_64KB
#define MAP_HUGE_512KB
#define MAP_HUGE_1MB
#define MAP_HUGE_2MB
#define MAP_HUGE_8MB
#define MAP_HUGE_16MB
#define MAP_HUGE_32MB
#define MAP_HUGE_256MB
#define MAP_HUGE_512MB
#define MAP_HUGE_1GB
#define MAP_HUGE_2GB
#define MAP_HUGE_16GB

struct cachestat_range {};

struct cachestat {};

#endif /* _UAPI_LINUX_MMAN_H */