Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/
Dkprobes.c1560 struct module **probed_mod) in check_kprobe_address_safe() argument
1584 *probed_mod = __module_text_address((unsigned long) p->addr); in check_kprobe_address_safe()
1585 if (*probed_mod) { in check_kprobe_address_safe()
1590 if (unlikely(!try_module_get(*probed_mod))) { in check_kprobe_address_safe()
1599 if (within_module_init((unsigned long)p->addr, *probed_mod) && in check_kprobe_address_safe()
1600 (*probed_mod)->state != MODULE_STATE_COMING) { in check_kprobe_address_safe()
1601 module_put(*probed_mod); in check_kprobe_address_safe()
1602 *probed_mod = NULL; in check_kprobe_address_safe()
1617 struct module *probed_mod; in register_kprobe() local
1636 ret = check_kprobe_address_safe(p, &probed_mod); in register_kprobe()
[all …]