summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/vm_util.h
blob: 2e512bd57ae141e40f3494f3b82124aac1a1bd00 (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: GPL-2.0 */
#include <stdint.h>
#include <stdbool.h>

uint64_t pagemap_get_entry(int fd, char *start);
bool pagemap_is_softdirty(int fd, char *start);
void clear_softdirty(void);
uint64_t read_pmd_pagesize(void);
uint64_t check_huge(void *addr);