Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Dkprobes.c1528 struct module **probed_mod) in check_kprobe_address_safe() argument
1548 *probed_mod = __module_text_address((unsigned long) p->addr); in check_kprobe_address_safe()
1549 if (*probed_mod) { in check_kprobe_address_safe()
1554 if (unlikely(!try_module_get(*probed_mod))) { in check_kprobe_address_safe()
1563 if (within_module_init((unsigned long)p->addr, *probed_mod) && in check_kprobe_address_safe()
1564 (*probed_mod)->state != MODULE_STATE_COMING) { in check_kprobe_address_safe()
1565 module_put(*probed_mod); in check_kprobe_address_safe()
1566 *probed_mod = NULL; in check_kprobe_address_safe()
1581 struct module *probed_mod; in register_kprobe() local
1599 ret = check_kprobe_address_safe(p, &probed_mod); in register_kprobe()
[all …]