]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/linux/kcore.h
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * /proc/kcore definitions
19 struct list_head list
;
27 struct list_head list
;
28 unsigned long long paddr
;
29 unsigned long long size
;
33 struct vmcoredd_node
{
34 struct list_head list
; /* List of dumps */
35 void *buf
; /* Buffer containing device's dump */
36 unsigned int size
; /* Size of the buffer */
39 #ifdef CONFIG_PROC_KCORE
40 void __init
kclist_add(struct kcore_list
*, void *, size_t, int type
);
42 extern int __init
register_mem_pfn_is_ram(int (*fn
)(unsigned long pfn
));
45 void kclist_add(struct kcore_list
*new, void *addr
, size_t size
, int type
)
50 #endif /* _LINUX_KCORE_H */