Lines Matching refs:dumper
1652 * kmsg_dump_register - register a kernel log dumper.
1653 * @dumper: pointer to the kmsg_dumper structure
1655 * Adds a kernel log dumper to the system. The dump callback in the
1659 int kmsg_dump_register(struct kmsg_dumper *dumper)
1665 if (!dumper->dump)
1670 if (!dumper->registered) {
1671 dumper->registered = 1;
1672 list_add_tail(&dumper->list, &dump_list);
1682 * kmsg_dump_unregister - unregister a kmsg dumper.
1683 * @dumper: pointer to the kmsg_dumper structure
1688 int kmsg_dump_unregister(struct kmsg_dumper *dumper)
1694 if (dumper->registered) {
1695 dumper->registered = 0;
1696 list_del(&dumper->list);
1730 struct kmsg_dumper *dumper;
1762 list_for_each_entry(dumper, &dump_list, list)
1763 dumper->dump(dumper, reason, s1, l1, s2, l2);