1 /* SPDX-License-Identifier: GPL-2.0 */
3 * /proc/kcore definitions
17 struct list_head list
;
24 struct list_head list
;
25 unsigned long long paddr
;
26 unsigned long long size
;
30 struct vmcoredd_node
{
31 struct list_head list
; /* List of dumps */
32 void *buf
; /* Buffer containing device's dump */
33 unsigned int size
; /* Size of the buffer */
36 #ifdef CONFIG_PROC_KCORE
37 void __init
kclist_add(struct kcore_list
*, void *, size_t, int type
);
39 extern int __init
register_mem_pfn_is_ram(int (*fn
)(unsigned long pfn
));
42 void kclist_add(struct kcore_list
*new, void *addr
, size_t size
, int type
)
47 #endif /* _LINUX_KCORE_H */