Home
last modified time | relevance | path

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

123

/kernel/bpf/
Dcore.c823 u64 __weak bpf_jit_alloc_exec_limit(void) in bpf_jit_alloc_exec_limit()
860 void *__weak bpf_jit_alloc_exec(unsigned long size) in bpf_jit_alloc_exec()
865 void __weak bpf_jit_free_exec(void *addr) in bpf_jit_free_exec()
922 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
1374 u64 __weak bpf_probe_read_kernel(void *dst, u32 size, const void *unsafe_ptr) in bpf_probe_read_kernel()
2344 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable
2345 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable
2346 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable
2347 const struct bpf_func_proto bpf_map_push_elem_proto __weak; variable
2348 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.c1341 const struct bpf_func_proto bpf_get_current_task_proto __weak; variable
1342 const struct bpf_func_proto bpf_get_current_task_btf_proto __weak; variable
1343 const struct bpf_func_proto bpf_probe_read_user_proto __weak; variable
1344 const struct bpf_func_proto bpf_probe_read_user_str_proto __weak; variable
1345 const struct bpf_func_proto bpf_probe_read_kernel_proto __weak; variable
1346 const struct bpf_func_proto bpf_probe_read_kernel_str_proto __weak; variable
1347 const struct bpf_func_proto bpf_task_pt_regs_proto __weak; variable
Ddispatcher.c88 int __weak arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs) in arch_prepare_bpf_dispatcher()
/kernel/sched/
Didle.c74 void __weak arch_cpu_idle_prepare(void) { } in arch_cpu_idle_prepare()
75 void __weak arch_cpu_idle_enter(void) { } in arch_cpu_idle_enter()
76 void __weak arch_cpu_idle_exit(void) { } in arch_cpu_idle_exit()
77 void __weak arch_cpu_idle_dead(void) { } in arch_cpu_idle_dead()
78 void __weak arch_cpu_idle(void) in arch_cpu_idle()
Dclock.c64 unsigned long long __weak sched_clock(void) in sched_clock()
479 u64 __weak running_clock(void) in running_clock()
/kernel/debug/
Ddebug_core.c157 int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_set_breakpoint()
171 int __weak kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_remove_breakpoint()
178 int __weak kgdb_validate_break_address(unsigned long addr) in kgdb_validate_break_address()
202 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) in kgdb_arch_pc()
208 int __weak kgdb_arch_init(void) in kgdb_arch_init()
213 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception()
225 void __weak kgdb_call_nmi_hook(void *ignored) in kgdb_call_nmi_hook()
242 void __weak kgdb_roundup_cpus(void) in kgdb_roundup_cpus()
1038 void __weak kgdb_arch_late(void) in kgdb_arch_late()
/kernel/
Dkallsyms.c37 extern const unsigned long kallsyms_addresses[] __weak;
38 extern const int kallsyms_offsets[] __weak;
39 extern const u8 kallsyms_names[] __weak;
51 extern const char kallsyms_token_table[] __weak;
52 extern const u16 kallsyms_token_index[] __weak;
54 extern const unsigned int kallsyms_markers[] __weak;
564 int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, in arch_get_kallsym()
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.c140 void __weak panic_smp_self_stop(void) in panic_smp_self_stop()
150 void __weak nmi_panic_self_stop(struct pt_regs *regs) in nmi_panic_self_stop()
161 void __weak crash_smp_send_stop(void) in crash_smp_send_stop()
Dsoftirq.c997 int __init __weak early_irq_init(void) in early_irq_init()
1002 int __init __weak arch_probe_nr_irqs(void) in arch_probe_nr_irqs()
1007 int __init __weak arch_early_irq_init(void) in arch_early_irq_init()
1012 unsigned int __weak arch_dynirq_lower_bound(unsigned int from) in arch_dynirq_lower_bound()
Dkprobes.c68 kprobe_opcode_t * __weak kprobe_lookup_name(const char *name, in kprobe_lookup_name()
108 void __weak *alloc_insn_page(void) in alloc_insn_page()
328 void __weak *alloc_optinsn_page(void) in alloc_optinsn_page()
333 void __weak free_optinsn_page(void *page) in free_optinsn_page()
1414 bool __weak arch_within_kprobe_blacklist(unsigned long addr) in arch_within_kprobe_blacklist()
1527 int __weak arch_check_ftrace_location(struct kprobe *p) in arch_check_ftrace_location()
1857 int __weak kprobe_exceptions_notify(struct notifier_block *self, in kprobe_exceptions_notify()
1869 unsigned long __weak arch_deref_entry_point(void *entry) in arch_deref_entry_point()
1965 bool __weak arch_kprobe_on_func_entry(unsigned long offset) in arch_kprobe_on_func_entry()
2298 int __weak arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, in arch_kprobe_get_kallsym()
[all …]
Dksysfs.c193 extern const void __start_notes __weak;
194 extern const void __stop_notes __weak;
Dstacktrace.c252 __weak void
258 __weak void
Dkexec_core.c594 int __weak machine_kexec_post_load(struct kimage *image) in machine_kexec_post_load()
1006 void __weak crash_free_reserved_phys_range(unsigned long begin, in crash_free_reserved_phys_range()
1219 void __weak arch_kexec_protect_crashkres(void) in arch_kexec_protect_crashkres()
1222 void __weak arch_kexec_unprotect_crashkres(void) in arch_kexec_unprotect_crashkres()
Dkexec_file.c66 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe()
83 void * __weak arch_kexec_kernel_image_load(struct kimage *image) in arch_kexec_kernel_image_load()
96 int __weak arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup()
113 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf, in arch_kexec_kernel_verify_sig()
627 int __weak arch_kexec_locate_mem_hole(struct kexec_buf *kbuf) in arch_kexec_locate_mem_hole()
Dcrash_core.c384 void __weak arch_crash_save_vmcoreinfo(void) in arch_crash_save_vmcoreinfo()
387 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.c45 void __weak arch_irq_work_raise(void) in arch_irq_work_raise()
/kernel/events/
Dhw_breakpoint.c71 __weak int hw_breakpoint_weight(struct perf_event *bp) in hw_breakpoint_weight()
216 __weak int arch_reserve_bp_slot(struct perf_event *bp) in arch_reserve_bp_slot()
221 __weak void arch_release_bp_slot(struct perf_event *bp) in arch_release_bp_slot()
228 __weak void arch_unregister_hw_breakpoint(struct perf_event *bp) in arch_unregister_hw_breakpoint()
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.c225 bool __weak is_swbp_insn(uprobe_opcode_t *insn) in is_swbp_insn()
239 bool __weak is_trap_insn(uprobe_opcode_t *insn) in is_trap_insn()
575 int __weak set_swbp(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr) in set_swbp()
589 int __weak
1668 void __weak arch_uprobe_copy_ixol(struct page *page, unsigned long vaddr, in arch_uprobe_copy_ixol()
1689 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()
/kernel/time/
Djiffies.c71 struct clocksource * __init __weak clocksource_default_clock(void) in clocksource_default_clock()
/kernel/power/
Dsuspend.c374 void __weak arch_suspend_disable_irqs(void) in arch_suspend_disable_irqs()
380 void __weak arch_suspend_enable_irqs(void) in arch_suspend_enable_irqs()
/kernel/locking/
Dlock_events.c61 ssize_t __weak lockevent_read(struct file *file, char __user *user_buf, in lockevent_read()

123