Home
last modified time | relevance | path

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

123456

/Linux-v4.19/lib/
Dclz_ctz.c19 int __weak __ctzsi2(int val);
20 int __weak __ctzsi2(int val) in __ctzsi2()
26 int __weak __clzsi2(int val);
27 int __weak __clzsi2(int val) in __clzsi2()
33 int __weak __clzdi2(long val);
34 int __weak __ctzdi2(long val);
37 int __weak __clzdi2(long val) in __clzdi2()
43 int __weak __ctzdi2(long val) in __ctzdi2()
51 int __weak __clzdi2(long val) in __clzdi2()
57 int __weak __ctzdi2(long val) in __ctzdi2()
/Linux-v4.19/kernel/
Delfcore.c7 Elf_Half __weak elf_core_extra_phdrs(void) in elf_core_extra_phdrs()
12 int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset) in elf_core_write_extra_phdrs()
17 int __weak elf_core_write_extra_data(struct coredump_params *cprm) in elf_core_write_extra_data()
22 size_t __weak elf_core_extra_data_size(void) in elf_core_extra_data_size()
Dstacktrace.c61 __weak void
67 __weak void
73 __weak int
Dkallsyms.c32 extern const unsigned long kallsyms_addresses[] __weak;
33 extern const int kallsyms_offsets[] __weak;
34 extern const u8 kallsyms_names[] __weak;
46 extern const u8 kallsyms_token_table[] __weak;
47 extern const u16 kallsyms_token_index[] __weak;
49 extern const unsigned long kallsyms_markers[] __weak;
447 int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, in arch_get_kallsym()
Dwatchdog.c105 int __weak watchdog_nmi_enable(unsigned int cpu) in watchdog_nmi_enable()
111 void __weak watchdog_nmi_disable(unsigned int cpu) in watchdog_nmi_disable()
117 int __weak __init watchdog_nmi_probe(void) in watchdog_nmi_probe()
130 void __weak watchdog_nmi_stop(void) { } in watchdog_nmi_stop()
143 void __weak watchdog_nmi_start(void) { } in watchdog_nmi_start()
Dsoftirq.c745 int __init __weak early_irq_init(void) in early_irq_init()
750 int __init __weak arch_probe_nr_irqs(void) in arch_probe_nr_irqs()
755 int __init __weak arch_early_irq_init(void) in arch_early_irq_init()
760 unsigned int __weak arch_dynirq_lower_bound(unsigned int from) in arch_dynirq_lower_bound()
/Linux-v4.19/tools/lib/traceevent/
Dparse-utils.c12 #define __weak __attribute__((weak)) macro
35 void __weak warning(const char *fmt, ...) in warning()
59 void __weak vpr_stat(const char *fmt, va_list ap) in vpr_stat()
64 void __weak pr_stat(const char *fmt, ...) in pr_stat()
/Linux-v4.19/arch/mips/loongson64/common/
Dpm.c63 void __weak setup_wakeup_events(void) in setup_wakeup_events()
70 int __weak wakeup_loongson(void) in wakeup_loongson()
117 void __weak mach_suspend(void) in mach_suspend()
121 void __weak mach_resume(void) in mach_resume()
/Linux-v4.19/arch/mips/mm/
Dcache.c206 extern void __weak r3k_cache_init(void); in cpu_cache_init()
211 extern void __weak r6k_cache_init(void); in cpu_cache_init()
216 extern void __weak r4k_cache_init(void); in cpu_cache_init()
221 extern void __weak r8k_cache_init(void); in cpu_cache_init()
226 extern void __weak tx39_cache_init(void); in cpu_cache_init()
232 extern void __weak octeon_cache_init(void); in cpu_cache_init()
240 int __weak __uncached_access(struct file *file, unsigned long addr) in __uncached_access()
/Linux-v4.19/arch/sh/mm/
Dcache.c316 extern void __weak j2_cache_init(void); in cpu_cache_init()
320 extern void __weak sh2_cache_init(void); in cpu_cache_init()
326 extern void __weak sh2a_cache_init(void); in cpu_cache_init()
332 extern void __weak sh3_cache_init(void); in cpu_cache_init()
338 extern void __weak sh7705_cache_init(void); in cpu_cache_init()
347 extern void __weak sh4_cache_init(void); in cpu_cache_init()
353 extern void __weak shx3_cache_init(void); in cpu_cache_init()
360 extern void __weak sh5_cache_init(void); in cpu_cache_init()
/Linux-v4.19/tools/perf/util/
Dunwind-libunwind.c8 struct unwind_libunwind_ops __weak *local_unwind_libunwind_ops;
9 struct unwind_libunwind_ops __weak *x86_32_unwind_libunwind_ops;
10 struct unwind_libunwind_ops __weak *arm64_unwind_libunwind_ops;
Dperf_regs.c6 const struct sample_reg __weak sample_reg_masks[] = {
10 int __weak arch_sdt_arg_parse_op(char *old_op __maybe_unused, in arch_sdt_arg_parse_op()
Dmmap.c130 int __weak auxtrace_mmap__mmap(struct auxtrace_mmap *mm __maybe_unused, in auxtrace_mmap__mmap()
138 void __weak auxtrace_mmap__munmap(struct auxtrace_mmap *mm __maybe_unused) in auxtrace_mmap__munmap()
142 void __weak auxtrace_mmap_params__init(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__init()
149 void __weak auxtrace_mmap_params__set_idx(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__set_idx()
Ddump-insn.c7 __weak
/Linux-v4.19/kernel/sched/
Didle.c72 void __weak arch_cpu_idle_prepare(void) { } in arch_cpu_idle_prepare()
73 void __weak arch_cpu_idle_enter(void) { } in arch_cpu_idle_enter()
74 void __weak arch_cpu_idle_exit(void) { } in arch_cpu_idle_exit()
75 void __weak arch_cpu_idle_dead(void) { } in arch_cpu_idle_dead()
76 void __weak arch_cpu_idle(void) in arch_cpu_idle()
/Linux-v4.19/arch/mips/oprofile/
Dcommon.c19 extern struct op_mips_model op_model_mipsxx_ops __weak;
20 extern struct op_mips_model op_model_loongson2_ops __weak;
21 extern struct op_mips_model op_model_loongson3_ops __weak;
/Linux-v4.19/mm/
Dmaccess.c23 long __weak probe_kernel_read(void *dst, const void *src, size_t size)
51 long __weak probe_kernel_write(void *dst, const void *src, size_t size)
/Linux-v4.19/arch/mips/loongson64/lemote-2f/
Dpm.c141 void __weak mach_suspend(void) in mach_suspend()
146 void __weak mach_resume(void) in mach_resume()
/Linux-v4.19/kernel/bpf/
Dcore.c620 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
1783 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable
1784 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable
1785 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable
1787 const struct bpf_func_proto bpf_get_prandom_u32_proto __weak; variable
1788 const struct bpf_func_proto bpf_get_smp_processor_id_proto __weak; variable
1789 const struct bpf_func_proto bpf_get_numa_node_id_proto __weak; variable
1790 const struct bpf_func_proto bpf_ktime_get_ns_proto __weak; variable
1792 const struct bpf_func_proto bpf_get_current_pid_tgid_proto __weak; variable
1793 const struct bpf_func_proto bpf_get_current_uid_gid_proto __weak; variable
[all …]
/Linux-v4.19/kernel/debug/
Ddebug_core.c169 int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_set_breakpoint()
182 int __weak kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_remove_breakpoint()
188 int __weak kgdb_validate_break_address(unsigned long addr) in kgdb_validate_break_address()
208 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) in kgdb_arch_pc()
213 int __weak kgdb_arch_init(void) in kgdb_arch_init()
218 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception()
860 void __weak kgdb_arch_late(void) in kgdb_arch_late()
/Linux-v4.19/include/linux/
Dkexec.h177 int __weak arch_kexec_apply_relocations_add(struct purgatory_info *pi,
181 int __weak arch_kexec_apply_relocations(struct purgatory_info *pi,
186 int __weak arch_kexec_walk_mem(struct kexec_buf *kbuf,
/Linux-v4.19/tools/include/linux/
Dcompiler.h65 #ifndef __weak
66 # define __weak __attribute__((weak)) macro
/Linux-v4.19/drivers/base/
Dcpu.c519 ssize_t __weak cpu_show_meltdown(struct device *dev, in cpu_show_meltdown()
525 ssize_t __weak cpu_show_spectre_v1(struct device *dev, in cpu_show_spectre_v1()
531 ssize_t __weak cpu_show_spectre_v2(struct device *dev, in cpu_show_spectre_v2()
537 ssize_t __weak cpu_show_spec_store_bypass(struct device *dev, in cpu_show_spec_store_bypass()
543 ssize_t __weak cpu_show_l1tf(struct device *dev, in cpu_show_l1tf()
/Linux-v4.19/arch/arm/mach-omap2/
Dcommon.c25 int __weak omap_secure_ram_reserve_memblock(void) in omap_secure_ram_reserve_memblock()
/Linux-v4.19/drivers/acpi/
Dacpi_processor.c168 int __weak acpi_map_cpu(acpi_handle handle, in acpi_map_cpu()
174 int __weak acpi_unmap_cpu(int cpu) in acpi_unmap_cpu()
179 int __weak arch_register_cpu(int cpu) in arch_register_cpu()
184 void __weak arch_unregister_cpu(int cpu) {} in arch_unregister_cpu()

123456