Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.2-rc5 15 lines 675 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#include <stdint.h> 3#include <stdbool.h> 4 5uint64_t pagemap_get_entry(int fd, char *start); 6bool pagemap_is_softdirty(int fd, char *start); 7bool pagemap_is_swapped(int fd, char *start); 8bool pagemap_is_populated(int fd, char *start); 9unsigned long pagemap_get_pfn(int fd, char *start); 10void clear_softdirty(void); 11bool check_for_pattern(FILE *fp, const char *pattern, char *buf, size_t len); 12uint64_t read_pmd_pagesize(void); 13bool check_huge_anon(void *addr, int nr_hpages, uint64_t hpage_size); 14bool check_huge_file(void *addr, int nr_hpages, uint64_t hpage_size); 15bool check_huge_shmem(void *addr, int nr_hpages, uint64_t hpage_size);