Lines Matching +full:no +full:- +full:dump +full:- +full:oops
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Persistent Storage - pstore.h
35 /* PPC64-specific partition types */
51 * struct pstore_record - details of a pstore record entry
54 * @id: per-type unique identifier for record
61 * kfree()d by the pstore core if non-NULL
66 * @count: Oops count since boot
89 * struct pstore_info - backend pstore driver structure
95 * @buf: preallocated crash dump buffer
96 * @bufsize: size of @buf available for crash dump bytes (must match
109 * @data: backend-private pointer passed back during callbacks
119 * Returns 0 on success, and non-zero on error.
128 * Returns 0 on success, and non-zero on error. (Though pstore will
141 * Returns record size on success, zero when no more records are
150 * memory allocation may be broken during an Oops. Regardless,
158 * Returns 0 on success, and non-zero on error.
168 * Returns 0 on success, and non-zero on error.
178 * Returns 0 on success, and non-zero on error.
231 #define TS_CPU_MASK (BIT(TS_CPU_SHIFT) - 1)
242 rec->ip |= cpu; in pstore_ftrace_encode_cpu()
248 return rec->ip & PSTORE_CPU_IN_IP; in pstore_ftrace_decode_cpu()
254 return rec->ts; in pstore_ftrace_read_timestamp()
260 rec->ts = val; in pstore_ftrace_write_timestamp()
266 rec->ts &= ~(TS_CPU_MASK); in pstore_ftrace_encode_cpu()
267 rec->ts |= cpu; in pstore_ftrace_encode_cpu()
273 return rec->ts & TS_CPU_MASK; in pstore_ftrace_decode_cpu()
279 return rec->ts >> TS_CPU_SHIFT; in pstore_ftrace_read_timestamp()
285 rec->ts = (rec->ts & TS_CPU_MASK) | (val << TS_CPU_SHIFT); in pstore_ftrace_write_timestamp()