Home
last modified time | relevance | path

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

/linux/kernel/
H A Dkprobes.c1619 struct module **probed_mod) in check_kprobe_address_safe() argument
1630 *probed_mod = NULL; in check_kprobe_address_safe()
1633 *probed_mod = __module_text_address((unsigned long) p->addr); in check_kprobe_address_safe()
1634 if (!(*probed_mod)) in check_kprobe_address_safe()
1641 if (unlikely(!try_module_get(*probed_mod))) in check_kprobe_address_safe()
1651 module_put(*probed_mod); in check_kprobe_address_safe()
1656 if (IS_ENABLED(CONFIG_MODULES) && *probed_mod) { in check_kprobe_address_safe()
1661 if (within_module_init((unsigned long)p->addr, *probed_mod) && in check_kprobe_address_safe()
1662 !module_is_coming(*probed_mod)) { in check_kprobe_address_safe()
1663 module_put(*probed_mod); in check_kprobe_address_safe()
[all …]