⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.5
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
modules
/
5.15.0-1019-aws
/
build
/
include
/
linux
/
View File Name :
page_reporting.h
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PAGE_REPORTING_H #define _LINUX_PAGE_REPORTING_H #include <linux/mmzone.h> #include <linux/scatterlist.h> /* This value should always be a power of 2, see page_reporting_cycle() */ #define PAGE_REPORTING_CAPACITY 32 struct page_reporting_dev_info { /* function that alters pages to make them "reported" */ int (*report)(struct page_reporting_dev_info *prdev, struct scatterlist *sg, unsigned int nents); /* work struct for processing reports */ struct delayed_work work; /* Current state of page reporting */ atomic_t state; /* Minimal order of page reporting */ unsigned int order; }; /* Tear-down and bring-up for page reporting devices */ void page_reporting_unregister(struct page_reporting_dev_info *prdev); int page_reporting_register(struct page_reporting_dev_info *prdev); #endif /*_LINUX_PAGE_REPORTING_H */