Lines Matching +full:long +full:- +full:ram +full:- +full:code

1 /* SPDX-License-Identifier: GPL-2.0 */
12 #define ELFCORE_ADDR_MAX (-1ULL)
13 #define ELFCORE_ADDR_ERR (-2ULL)
15 extern unsigned long long elfcorehdr_addr;
16 extern unsigned long long elfcorehdr_size;
19 extern int elfcorehdr_alloc(unsigned long long *addr, unsigned long long *size);
20 extern void elfcorehdr_free(unsigned long long addr);
24 unsigned long from, unsigned long pfn,
25 unsigned long size, pgprot_t prot);
27 ssize_t copy_oldmem_page(struct iov_iter *i, unsigned long pfn, size_t csize,
28 unsigned long offset);
29 ssize_t copy_oldmem_page_encrypted(struct iov_iter *iter, unsigned long pfn,
30 size_t csize, unsigned long offset);
34 /* Architecture code defines this if there are other possible ELF
35 * machine types, e.g. on bi-arch capable hardware. */
41 * Architecture code can redefine this if there are any special checks
42 * needed for 32-bit ELF or 64-bit ELF vmcores. In case of 32-bit
73 * This makes use of the fact that due to alignment -2ULL is not
75 * dealing directly with an unsigned long long rather than a pointer.
94 * struct vmcore_cb - driver callbacks for /proc/vmcore handling
95 * @pfn_is_ram: check whether a PFN really is RAM and should be accessed when
96 * reading the vmcore. Will return "true" if it is RAM or if the
98 * RAM and the page must not be accessed; zeroes should be
106 * coordinate with vmcore handling code, for example, to prevent accessing
111 bool (*pfn_is_ram)(struct vmcore_cb *cb, unsigned long pfn);
134 return -EOPNOTSUPP; in vmcore_add_device_dump()
145 return -EOPNOTSUPP; in read_from_oldmem()