Lines Matching refs:crashpoint
57 struct crashpoint { struct
76 static struct crashpoint crashpoints[] = { argument
106 static struct crashpoint *lkdtm_crashpoint;
164 static int lkdtm_register_cpoint(struct crashpoint *crashpoint, in lkdtm_register_cpoint() argument
170 if (!crashpoint->kprobe.symbol_name) { in lkdtm_register_cpoint()
178 lkdtm_crashpoint = crashpoint; in lkdtm_register_cpoint()
180 lkdtm_kprobe = &crashpoint->kprobe; in lkdtm_register_cpoint()
184 crashpoint->kprobe.symbol_name); in lkdtm_register_cpoint()
228 struct crashpoint *crashpoint = file_inode(f)->i_private; in lkdtm_debugfs_entry() local
253 err = lkdtm_register_cpoint(crashpoint, crashtype); in lkdtm_debugfs_entry()
389 struct crashpoint *crashpoint = NULL; in lkdtm_module_init() local
411 crashpoint = &crashpoints[i]; in lkdtm_module_init()
415 if (!crashpoint) { in lkdtm_module_init()
442 struct crashpoint *cur = &crashpoints[i]; in lkdtm_module_init()
449 if (crashpoint) { in lkdtm_module_init()
450 ret = lkdtm_register_cpoint(crashpoint, crashtype); in lkdtm_module_init()
452 pr_info("Invalid crashpoint %s\n", crashpoint->name); in lkdtm_module_init()
456 crashpoint->name, cpoint_type); in lkdtm_module_init()