Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Helper functions for KVM guest address space mapping code
4 *
5 * Copyright IBM Corp. 2025
6 */
7
8#ifndef _ASM_S390_GMAP_HELPERS_H
9#define _ASM_S390_GMAP_HELPERS_H
10
11void gmap_helper_zap_one_page(struct mm_struct *mm, unsigned long vmaddr);
12void gmap_helper_discard(struct mm_struct *mm, unsigned long vmaddr, unsigned long end);
13int gmap_helper_disable_cow_sharing(void);
14
15#endif /* _ASM_S390_GMAP_HELPERS_H */
16

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/arch/s390/include/asm/gmap_helpers.h