Lines Matching defs:dump

4  * 				 dump from the system's previous life.
47 /* Size of all notes minus the device dump notes */
58 void *buf; /* Buffer containing device's dump */
180 /* If pfn is not ram, return zeros for sparse dump files */
272 struct vmcoredd_node *dump;
277 list_for_each_entry(dump, &vmcoredd_list, list) {
278 if (start < offset + dump->size) {
279 tsz = min(offset + (u64)dump->size - start, (u64)size);
280 buf = dump->buf + start - offset;
291 offset += dump->size;
301 struct vmcoredd_node *dump;
306 list_for_each_entry(dump, &vmcoredd_list, list) {
307 if (start < offset + dump->size) {
308 tsz = min(offset + (u64)dump->size - start, (u64)size);
309 buf = dump->buf + start - offset;
322 offset += dump->size;
330 /* Read from the ELF header and then the crash dump. On error, negative value is
1361 * vmcoredd_write_header - Write vmcore device dump header at the
1362 * beginning of the dump's buffer.
1365 * @size: Size of the dump
1367 * Fills beginning of the dump's buffer with vmcore device dump header.
1447 * @dump_size: Size of the current device dump to be added to total size
1469 * vmcore_add_device_dump - Add a buffer containing device dump to vmcore
1470 * @data: dump info.
1472 * Allocate a buffer and invoke the calling driver's dump collect routine.
1474 * dump and add the dump to global list.
1478 struct vmcoredd_node *dump;
1484 pr_err_once("Device dump is disabled\n");
1492 dump = vzalloc(sizeof(*dump));
1493 if (!dump)
1510 /* Invoke the driver's dump collection routing */
1516 dump->buf = buf;
1517 dump->size = data_size;
1519 /* Add the dump to driver sysfs list and update the elfcore hdr */
1522 pr_warn_once("Unexpected adding of device dump\n");
1528 list_add_tail(&dump->list, &vmcoredd_list);
1535 vfree(dump);
1694 /* Free all dumps in vmcore device dump list */
1700 struct vmcoredd_node *dump;
1702 dump = list_first_entry(&vmcoredd_list, struct vmcoredd_node,
1704 list_del(&dump->list);
1705 vfree(dump->buf);
1706 vfree(dump);
1723 * then capture the dump.
1754 /* clear vmcore device dump list */