Home
last modified time | relevance | path

Searched refs:dumper (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dkmsg_dump.h42 void (*dump)(struct kmsg_dumper *dumper, enum kmsg_dump_reason reason);
57 bool kmsg_dump_get_line_nolock(struct kmsg_dumper *dumper, bool syslog,
60 bool kmsg_dump_get_line(struct kmsg_dumper *dumper, bool syslog,
63 bool kmsg_dump_get_buffer(struct kmsg_dumper *dumper, bool syslog,
66 void kmsg_dump_rewind_nolock(struct kmsg_dumper *dumper);
68 void kmsg_dump_rewind(struct kmsg_dumper *dumper);
70 int kmsg_dump_register(struct kmsg_dumper *dumper);
72 int kmsg_dump_unregister(struct kmsg_dumper *dumper);
80 static inline bool kmsg_dump_get_line_nolock(struct kmsg_dumper *dumper, in kmsg_dump_get_line_nolock() argument
87 static inline bool kmsg_dump_get_line(struct kmsg_dumper *dumper, bool syslog, in kmsg_dump_get_line() argument
[all …]
Dblackbox_storage.h14 void (*blackbox_dump)(struct kmsg_dumper *dumper, enum kmsg_dump_reason reason);
Dpstore.h289 extern void pstore_blackbox_dump(struct kmsg_dumper *dumper,
Dmm_types.h403 struct core_thread dumper; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Da6xx_gpu_state.c113 struct a6xx_crashdumper *dumper) in a6xx_crashdumper_init() argument
115 dumper->ptr = msm_gem_kernel_new_locked(gpu->dev, in a6xx_crashdumper_init()
117 &dumper->bo, &dumper->iova); in a6xx_crashdumper_init()
119 if (!IS_ERR(dumper->ptr)) in a6xx_crashdumper_init()
120 msm_gem_object_set_name(dumper->bo, "crashdump"); in a6xx_crashdumper_init()
122 return PTR_ERR_OR_ZERO(dumper->ptr); in a6xx_crashdumper_init()
126 struct a6xx_crashdumper *dumper) in a6xx_crashdumper_run() argument
133 if (IS_ERR_OR_NULL(dumper->ptr)) in a6xx_crashdumper_run()
143 REG_A6XX_CP_CRASH_SCRIPT_BASE_HI, dumper->iova); in a6xx_crashdumper_run()
450 struct a6xx_crashdumper *dumper) in a6xx_get_dbgahb_cluster() argument
[all …]
Da5xx_gpu.c1261 struct a5xx_crashdumper *dumper) in a5xx_crashdumper_init() argument
1263 dumper->ptr = msm_gem_kernel_new_locked(gpu->dev, in a5xx_crashdumper_init()
1265 &dumper->bo, &dumper->iova); in a5xx_crashdumper_init()
1267 if (!IS_ERR(dumper->ptr)) in a5xx_crashdumper_init()
1268 msm_gem_object_set_name(dumper->bo, "crashdump"); in a5xx_crashdumper_init()
1270 return PTR_ERR_OR_ZERO(dumper->ptr); in a5xx_crashdumper_init()
1274 struct a5xx_crashdumper *dumper) in a5xx_crashdumper_run() argument
1278 if (IS_ERR_OR_NULL(dumper->ptr)) in a5xx_crashdumper_run()
1282 REG_A5XX_CP_CRASH_SCRIPT_BASE_HI, dumper->iova); in a5xx_crashdumper_run()
1320 struct a5xx_crashdumper dumper = { 0 }; in a5xx_gpu_state_get_hlsq_regs() local
[all …]
/kernel/linux/linux-5.10/kernel/printk/
Dprintk.c3157 int kmsg_dump_register(struct kmsg_dumper *dumper) in kmsg_dump_register() argument
3163 if (!dumper->dump) in kmsg_dump_register()
3168 if (!dumper->registered) { in kmsg_dump_register()
3169 dumper->registered = 1; in kmsg_dump_register()
3170 list_add_tail_rcu(&dumper->list, &dump_list); in kmsg_dump_register()
3186 int kmsg_dump_unregister(struct kmsg_dumper *dumper) in kmsg_dump_unregister() argument
3192 if (dumper->registered) { in kmsg_dump_unregister()
3193 dumper->registered = 0; in kmsg_dump_unregister()
3194 list_del_rcu(&dumper->list); in kmsg_dump_unregister()
3234 struct kmsg_dumper *dumper; in kmsg_dump() local
[all …]
/kernel/linux/linux-5.10/arch/um/kernel/
Dkmsg_dump.c8 static void kmsg_dumper_stdout(struct kmsg_dumper *dumper, in kmsg_dumper_stdout() argument
28 while (kmsg_dump_get_line(dumper, true, line, sizeof(line), &len)) { in kmsg_dumper_stdout()
/kernel/linux/linux-5.10/drivers/staging/blackbox/
Dblackbox_storage.c44 static void do_kmsg_dump(struct kmsg_dumper *dumper, in do_kmsg_dump() argument
58 (void)kmsg_dump_get_buffer(dumper, true, lastlog + sizeof(*pinfo), in do_kmsg_dump()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-kmsg.c22 static void kmsg_dump_opal_console_flush(struct kmsg_dumper *dumper, in kmsg_dump_opal_console_flush() argument
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdoops.c269 static void mtdoops_do_dump(struct kmsg_dumper *dumper, in mtdoops_do_dump() argument
272 struct mtdoops_context *cxt = container_of(dumper, in mtdoops_do_dump()
279 kmsg_dump_get_buffer(dumper, true, cxt->oops_buf + MTDOOPS_HEADER_SIZE, in mtdoops_do_dump()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dnvram_64.c75 static void oops_to_nvram(struct kmsg_dumper *dumper,
645 static void oops_to_nvram(struct kmsg_dumper *dumper, in oops_to_nvram() argument
684 kmsg_dump_get_buffer(dumper, false, in oops_to_nvram()
689 kmsg_dump_rewind(dumper); in oops_to_nvram()
690 kmsg_dump_get_buffer(dumper, false, in oops_to_nvram()
/kernel/linux/linux-5.10/fs/pstore/
Dplatform.c431 void pstore_blackbox_dump(struct kmsg_dumper *dumper, enum kmsg_dump_reason reason) in pstore_blackbox_dump() argument
484 (void)kmsg_dump_get_buffer(dumper, true, dst + sizeof(struct fault_log_info), dst_size, in pstore_blackbox_dump()
499 static void pstore_dump(struct kmsg_dumper *dumper, in pstore_dump() argument
552 if (!kmsg_dump_get_buffer(dumper, true, dst + header_size, in pstore_dump()
/kernel/linux/linux-5.10/fs/
Dcoredump.c455 core_state->dumper.task = tsk; in coredump_wait()
456 core_state->dumper.next = NULL; in coredump_wait()
476 ptr = core_state->dumper.next; in coredump_wait()
498 next = mm->core_state->dumper.next; in coredump_finish()
Dbinfmt_elf.c1840 for (ct = &dump_task->mm->core_state->dumper; ct; ct = ct->next) { in fill_note_info()
2030 for (ct = current->mm->core_state->dumper.next; in fill_note_info()
Dbinfmt_elf_fdpic.c1511 for (ct = current->mm->core_state->dumper.next; in elf_fdpic_core_dump()
/kernel/linux/linux-5.10/kernel/debug/kdb/
Dkdb_main.c2160 struct kmsg_dumper dumper = { .active = 1 }; in kdb_dmesg() local
2185 kmsg_dump_rewind_nolock(&dumper); in kdb_dmesg()
2186 while (kmsg_dump_get_line_nolock(&dumper, 1, NULL, 0, NULL)) in kdb_dmesg()
2218 kmsg_dump_rewind_nolock(&dumper); in kdb_dmesg()
2219 while (kmsg_dump_get_line_nolock(&dumper, 1, buf, sizeof(buf), &len)) { in kdb_dmesg()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c3008 struct kmsg_dumper dumper = { .active = 1 }; in dump_log_buf() local
3020 kmsg_dump_rewind_nolock(&dumper); in dump_log_buf()
3022 while (kmsg_dump_get_line_nolock(&dumper, false, buf, sizeof(buf), &len)) { in dump_log_buf()
/kernel/linux/linux-5.10/drivers/hv/
Dvmbus_drv.c1361 static void hv_kmsg_dump(struct kmsg_dumper *dumper, in hv_kmsg_dump() argument
1377 kmsg_dump_get_buffer(dumper, false, hv_panic_page, HV_HYP_PAGE_SIZE, in hv_kmsg_dump()
/kernel/linux/linux-5.10/drivers/input/joystick/
DKconfig282 tristate "Gameport data dumper"
/kernel/linux/linux-5.10/kernel/
Dexit.c459 self.next = xchg(&core_state->dumper.next, &self); in exit_mm()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch11745 + struct kmsg_dumper *dumper = NULL;
11767 + dumper = vmalloc(sizeof(*dumper));
11768 + if (!dumper)
11771 + memset(dumper, 0, sizeof(*dumper));
11772 + dumper->max_reason = KMSG_DUMP_MAX;
11773 + dumper->dump = storage_lastword->blackbox_dump;
11774 + ret = kmsg_dump_register(dumper);
11791 + if (dumper) {
11792 + vfree(dumper);
11793 + dumper = NULL;
[all …]