Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
Dkprobes.c1632 struct module **probed_mod) in check_kprobe_address_safe() argument
1655 *probed_mod = __module_text_address((unsigned long) p->addr); in check_kprobe_address_safe()
1656 if (*probed_mod) { in check_kprobe_address_safe()
1661 if (unlikely(!try_module_get(*probed_mod))) { in check_kprobe_address_safe()
1670 if (within_module_init((unsigned long)p->addr, *probed_mod) && in check_kprobe_address_safe()
1671 (*probed_mod)->state != MODULE_STATE_COMING) { in check_kprobe_address_safe()
1672 module_put(*probed_mod); in check_kprobe_address_safe()
1673 *probed_mod = NULL; in check_kprobe_address_safe()
1688 struct module *probed_mod; in register_kprobe() local
1706 ret = check_kprobe_address_safe(p, &probed_mod); in register_kprobe()
[all …]