Home
last modified time | relevance | path

Searched refs:__weak (Results 1 – 25 of 58) sorted by relevance

123

/kernel/
Dkallsyms_internal.h11 extern const unsigned long kallsyms_addresses[] __weak;
12 extern const int kallsyms_offsets[] __weak;
13 extern const u8 kallsyms_names[] __weak;
25 extern const char kallsyms_token_table[] __weak;
26 extern const u16 kallsyms_token_index[] __weak;
28 extern const unsigned int kallsyms_markers[] __weak;
29 extern const u8 kallsyms_seqs_of_names[] __weak;
Dwatchdog.c100 int __weak watchdog_nmi_enable(unsigned int cpu) in watchdog_nmi_enable()
106 void __weak watchdog_nmi_disable(unsigned int cpu) in watchdog_nmi_disable()
112 int __weak __init watchdog_nmi_probe(void) in watchdog_nmi_probe()
125 void __weak watchdog_nmi_stop(void) { } in watchdog_nmi_stop()
138 void __weak watchdog_nmi_start(void) { } in watchdog_nmi_start()
Dpanic.c143 void __weak panic_smp_self_stop(void) in panic_smp_self_stop()
153 void __weak nmi_panic_self_stop(struct pt_regs *regs) in nmi_panic_self_stop()
164 void __weak crash_smp_send_stop(void) in crash_smp_send_stop()
Dsoftirq.c1050 int __init __weak early_irq_init(void) in early_irq_init()
1055 int __init __weak arch_probe_nr_irqs(void) in arch_probe_nr_irqs()
1060 int __init __weak arch_early_irq_init(void) in arch_early_irq_init()
1065 unsigned int __weak arch_dynirq_lower_bound(unsigned int from) in arch_dynirq_lower_bound()
Dksysfs.c192 extern const void __start_notes __weak;
193 extern const void __stop_notes __weak;
Dstacktrace.c249 __weak void
255 __weak void
Dkprobes.c70 kprobe_opcode_t * __weak kprobe_lookup_name(const char *name, in kprobe_lookup_name()
113 void __weak *alloc_insn_page(void) in alloc_insn_page()
336 void __weak *alloc_optinsn_page(void) in alloc_optinsn_page()
341 void __weak free_optinsn_page(void *page) in free_optinsn_page()
1373 bool __weak arch_within_kprobe_blacklist(unsigned long addr) in arch_within_kprobe_blacklist()
1431 kprobe_opcode_t *__weak arch_adjust_kprobe_addr(unsigned long addr, in arch_adjust_kprobe_addr()
1865 int __weak kprobe_exceptions_notify(struct notifier_block *self, in kprobe_exceptions_notify()
2010 void __weak arch_kretprobe_fixup_return(struct pt_regs *regs, in arch_kretprobe_fixup_return()
2517 int __weak arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, in arch_kprobe_get_kallsym()
2539 int __init __weak arch_populate_kprobe_blacklist(void) in arch_populate_kprobe_blacklist()
Dcrash_core.c392 void __weak arch_crash_save_vmcoreinfo(void) in arch_crash_save_vmcoreinfo()
395 phys_addr_t __weak paddr_vmcoreinfo_note(void) in paddr_vmcoreinfo_note()
Diomem.c9 __weak void __iomem *ioremap_cache(resource_size_t offset, unsigned long size) in ioremap_cache()
Dirq_work.c70 void __weak arch_irq_work_raise(void) in arch_irq_work_raise()
/kernel/bpf/
Dcore.c963 u64 __weak bpf_jit_alloc_exec_limit(void) in bpf_jit_alloc_exec_limit()
999 void *__weak bpf_jit_alloc_exec(unsigned long size) in bpf_jit_alloc_exec()
1004 void __weak bpf_jit_free_exec(void *addr) in bpf_jit_free_exec()
1172 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
1633 u64 __weak bpf_probe_read_kernel(void *dst, u32 size, const void *unsafe_ptr) in bpf_probe_read_kernel()
2618 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable
2619 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable
2620 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable
2621 const struct bpf_func_proto bpf_map_push_elem_proto __weak; variable
2622 const struct bpf_func_proto bpf_map_pop_elem_proto __weak; variable
[all …]
Dsysfs_btf.c12 extern char __weak __start_BTF[];
13 extern char __weak __stop_BTF[];
Dhelpers.c1586 const struct bpf_func_proto bpf_get_current_task_proto __weak; variable
1587 const struct bpf_func_proto bpf_get_current_task_btf_proto __weak; variable
1588 const struct bpf_func_proto bpf_probe_read_user_proto __weak; variable
1589 const struct bpf_func_proto bpf_probe_read_user_str_proto __weak; variable
1590 const struct bpf_func_proto bpf_probe_read_kernel_proto __weak; variable
1591 const struct bpf_func_proto bpf_probe_read_kernel_str_proto __weak; variable
1592 const struct bpf_func_proto bpf_task_pt_regs_proto __weak; variable
Ddispatcher.c89 int __weak arch_prepare_bpf_dispatcher(void *image, void *buf, s64 *funcs, int num_funcs) in arch_prepare_bpf_dispatcher()
/kernel/sched/
Didle.c71 void __weak arch_cpu_idle_prepare(void) { } in arch_cpu_idle_prepare()
72 void __weak arch_cpu_idle_enter(void) { } in arch_cpu_idle_enter()
73 void __weak arch_cpu_idle_exit(void) { } in arch_cpu_idle_exit()
74 void __weak arch_cpu_idle_dead(void) { } in arch_cpu_idle_dead()
75 void __weak arch_cpu_idle(void) in arch_cpu_idle()
Dclock.c62 notrace unsigned long long __weak sched_clock(void) in sched_clock()
477 notrace u64 __weak running_clock(void) in running_clock()
/kernel/debug/
Ddebug_core.c156 int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_set_breakpoint()
170 int __weak kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_remove_breakpoint()
177 int __weak kgdb_validate_break_address(unsigned long addr) in kgdb_validate_break_address()
201 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) in kgdb_arch_pc()
207 int __weak kgdb_arch_init(void) in kgdb_arch_init()
212 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception()
224 void __weak kgdb_call_nmi_hook(void *ignored) in kgdb_call_nmi_hook()
241 void __weak kgdb_roundup_cpus(void) in kgdb_roundup_cpus()
1026 void __weak kgdb_arch_late(void) in kgdb_arch_late()
/kernel/events/
Dcallchain.c38 __weak void perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, in perf_callchain_kernel()
43 __weak void perf_callchain_user(struct perf_callchain_entry_ctx *entry, in perf_callchain_user()
Duprobes.c221 bool __weak is_swbp_insn(uprobe_opcode_t *insn) in is_swbp_insn()
235 bool __weak is_trap_insn(uprobe_opcode_t *insn) in is_trap_insn()
572 int __weak set_swbp(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr) in set_swbp()
586 int __weak
1667 void __weak arch_uprobe_copy_ixol(struct page *page, unsigned long vaddr, in arch_uprobe_copy_ixol()
1688 unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs) in uprobe_get_swbp_addr()
2172 bool __weak arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs) in arch_uprobe_ignore()
2177 bool __weak arch_uretprobe_is_alive(struct return_instance *ret, enum rp_check ctx, in arch_uretprobe_is_alive()
Dhw_breakpoint.c526 __weak int arch_reserve_bp_slot(struct perf_event *bp) in arch_reserve_bp_slot()
531 __weak void arch_release_bp_slot(struct perf_event *bp) in arch_release_bp_slot()
538 __weak void arch_unregister_hw_breakpoint(struct perf_event *bp) in arch_unregister_hw_breakpoint()
/kernel/time/
Djiffies.c71 struct clocksource * __init __weak clocksource_default_clock(void) in clocksource_default_clock()
/kernel/power/
Dsuspend.c384 void __weak arch_suspend_disable_irqs(void) in arch_suspend_disable_irqs()
390 void __weak arch_suspend_enable_irqs(void) in arch_suspend_enable_irqs()
/kernel/trace/
Dfgraph.c38 int __weak ftrace_enable_ftrace_graph_caller(void) in ftrace_enable_ftrace_graph_caller()
47 int __weak ftrace_disable_ftrace_graph_caller(void) in ftrace_disable_ftrace_graph_caller()
/kernel/locking/
Dlock_events.c61 ssize_t __weak lockevent_read(struct file *file, char __user *user_buf, in lockevent_read()
/kernel/module/
Dmain.c1150 void __weak module_memfree(void *module_region) in module_memfree()
1160 void __weak module_arch_cleanup(struct module *mod) in module_arch_cleanup()
1164 void __weak module_arch_freeing_init(struct module *mod) in module_arch_freeing_init()
1429 unsigned int __weak arch_mod_section_prepend(struct module *mod, in arch_mod_section_prepend()
1654 void * __weak module_alloc(unsigned long size) in module_alloc()
1661 bool __weak module_init_section(const char *name) in module_init_section()
1666 bool __weak module_exit_section(const char *name) in module_exit_section()
2294 int __weak module_frob_arch_sections(Elf_Ehdr *hdr, in module_frob_arch_sections()
2398 int __weak module_finalize(const Elf_Ehdr *hdr, in module_finalize()

123