Lines Matching defs:dump

4  * 				 dump from the system's previous life.
45 /* Size of all notes minus the device dump notes */
126 /* If pfn is not ram, return zeros for sparse dump files */
225 struct vmcoredd_node *dump;
232 list_for_each_entry(dump, &vmcoredd_list, list) {
233 if (start < offset + dump->size) {
234 tsz = min(offset + (u64)dump->size - start, (u64)size);
235 buf = dump->buf + start - offset;
249 offset += dump->size;
261 struct vmcoredd_node *dump;
268 list_for_each_entry(dump, &vmcoredd_list, list) {
269 if (start < offset + dump->size) {
270 tsz = min(offset + (u64)dump->size - start, (u64)size);
271 buf = dump->buf + start - offset;
286 offset += dump->size;
296 /* Read from the ELF header and then the crash dump. On error, negative value is
1340 * vmcoredd_write_header - Write vmcore device dump header at the
1341 * beginning of the dump's buffer.
1344 * @size: Size of the dump
1346 * Fills beginning of the dump's buffer with vmcore device dump header.
1427 * @dump_size: Size of the current device dump to be added to total size
1449 * vmcore_add_device_dump - Add a buffer containing device dump to vmcore
1450 * @data: dump info.
1452 * Allocate a buffer and invoke the calling driver's dump collect routine.
1454 * dump and add the dump to global list.
1458 struct vmcoredd_node *dump;
1464 pr_err_once("Device dump is disabled\n");
1472 dump = vzalloc(sizeof(*dump));
1473 if (!dump) {
1492 /* Invoke the driver's dump collection routing */
1498 dump->buf = buf;
1499 dump->size = data_size;
1501 /* Add the dump to driver sysfs list */
1503 list_add_tail(&dump->list, &vmcoredd_list);
1513 if (dump)
1514 vfree(dump);
1521 /* Free all dumps in vmcore device dump list */
1527 struct vmcoredd_node *dump;
1529 dump = list_first_entry(&vmcoredd_list, struct vmcoredd_node,
1531 list_del(&dump->list);
1532 vfree(dump->buf);
1533 vfree(dump);
1550 * then capture the dump.
1587 /* clear vmcore device dump list */