Lines Matching refs:probed_mod
1552 struct module **probed_mod) in check_kprobe_address_safe() argument
1575 *probed_mod = __module_text_address((unsigned long) p->addr); in check_kprobe_address_safe()
1576 if (*probed_mod) { in check_kprobe_address_safe()
1581 if (unlikely(!try_module_get(*probed_mod))) { in check_kprobe_address_safe()
1590 if (within_module_init((unsigned long)p->addr, *probed_mod) && in check_kprobe_address_safe()
1591 (*probed_mod)->state != MODULE_STATE_COMING) { in check_kprobe_address_safe()
1592 module_put(*probed_mod); in check_kprobe_address_safe()
1593 *probed_mod = NULL; in check_kprobe_address_safe()
1608 struct module *probed_mod; in register_kprobe() local
1627 ret = check_kprobe_address_safe(p, &probed_mod); in register_kprobe()
1670 if (probed_mod) in register_kprobe()
1671 module_put(probed_mod); in register_kprobe()