| /Linux-v5.4/lib/ |
| D | clz_ctz.c | 17 int __weak __ctzsi2(int val); 18 int __weak __ctzsi2(int val) in __ctzsi2() 24 int __weak __clzsi2(int val); 25 int __weak __clzsi2(int val) in __clzsi2() 31 int __weak __clzdi2(long val); 32 int __weak __ctzdi2(long val); 35 int __weak __clzdi2(long val) in __clzdi2() 41 int __weak __ctzdi2(long val) in __ctzdi2() 49 int __weak __clzdi2(long val) in __clzdi2() 55 int __weak __ctzdi2(long val) in __ctzdi2()
|
| D | crc32.c | 186 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) 190 u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len) 195 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) 200 u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len)
|
| /Linux-v5.4/kernel/ |
| D | elfcore.c | 8 Elf_Half __weak elf_core_extra_phdrs(void) in elf_core_extra_phdrs() 13 int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset) in elf_core_write_extra_phdrs() 18 int __weak elf_core_write_extra_data(struct coredump_params *cprm) in elf_core_write_extra_data() 23 size_t __weak elf_core_extra_data_size(void) in elf_core_extra_data_size()
|
| D | kallsyms.c | 33 extern const unsigned long kallsyms_addresses[] __weak; 34 extern const int kallsyms_offsets[] __weak; 35 extern const u8 kallsyms_names[] __weak; 47 extern const u8 kallsyms_token_table[] __weak; 48 extern const u16 kallsyms_token_index[] __weak; 50 extern const unsigned int kallsyms_markers[] __weak; 450 int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, in arch_get_kallsym()
|
| D | watchdog.c | 105 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()
|
| /Linux-v5.4/tools/perf/util/ |
| D | perf_regs.c | 6 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() 16 uint64_t __weak arch__intr_reg_mask(void) in arch__intr_reg_mask() 21 uint64_t __weak arch__user_reg_mask(void) in arch__user_reg_mask()
|
| D | unwind-libunwind.c | 11 struct unwind_libunwind_ops __weak *local_unwind_libunwind_ops; 12 struct unwind_libunwind_ops __weak *x86_32_unwind_libunwind_ops; 13 struct unwind_libunwind_ops __weak *arm64_unwind_libunwind_ops;
|
| D | dump-insn.c | 7 __weak 17 __weak
|
| /Linux-v5.4/tools/lib/traceevent/ |
| D | parse-utils.c | 12 #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-v5.4/arch/mips/mm/ |
| D | cache.c | 203 extern void __weak r3k_cache_init(void); in cpu_cache_init() 208 extern void __weak r6k_cache_init(void); in cpu_cache_init() 213 extern void __weak r4k_cache_init(void); in cpu_cache_init() 218 extern void __weak r8k_cache_init(void); in cpu_cache_init() 223 extern void __weak tx39_cache_init(void); in cpu_cache_init() 229 extern void __weak octeon_cache_init(void); in cpu_cache_init() 237 int __weak __uncached_access(struct file *file, unsigned long addr) in __uncached_access()
|
| /Linux-v5.4/arch/mips/loongson64/common/ |
| D | pm.c | 59 void __weak setup_wakeup_events(void) in setup_wakeup_events() 66 int __weak wakeup_loongson(void) in wakeup_loongson() 113 void __weak mach_suspend(void) in mach_suspend() 117 void __weak mach_resume(void) in mach_resume()
|
| /Linux-v5.4/arch/sh/mm/ |
| D | cache.c | 315 extern void __weak j2_cache_init(void); in cpu_cache_init() 319 extern void __weak sh2_cache_init(void); in cpu_cache_init() 325 extern void __weak sh2a_cache_init(void); in cpu_cache_init() 331 extern void __weak sh3_cache_init(void); in cpu_cache_init() 337 extern void __weak sh7705_cache_init(void); in cpu_cache_init() 346 extern void __weak sh4_cache_init(void); in cpu_cache_init() 352 extern void __weak shx3_cache_init(void); in cpu_cache_init() 359 extern void __weak sh5_cache_init(void); in cpu_cache_init()
|
| /Linux-v5.4/kernel/sched/ |
| D | idle.c | 73 void __weak arch_cpu_idle_prepare(void) { } in arch_cpu_idle_prepare() 74 void __weak arch_cpu_idle_enter(void) { } in arch_cpu_idle_enter() 75 void __weak arch_cpu_idle_exit(void) { } in arch_cpu_idle_exit() 76 void __weak arch_cpu_idle_dead(void) { } in arch_cpu_idle_dead() 77 void __weak arch_cpu_idle(void) in arch_cpu_idle()
|
| /Linux-v5.4/arch/mips/oprofile/ |
| D | common.c | 19 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-v5.4/kernel/bpf/ |
| D | sysfs_btf.c | 12 extern char __weak _binary__btf_vmlinux_bin_start[]; 13 extern char __weak _binary__btf_vmlinux_bin_end[];
|
| D | core.c | 749 u64 __weak bpf_jit_alloc_exec_limit(void) in bpf_jit_alloc_exec_limit() 785 void *__weak bpf_jit_alloc_exec(unsigned long size) in bpf_jit_alloc_exec() 790 void __weak bpf_jit_free_exec(void *addr) in bpf_jit_free_exec() 844 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free() 2026 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable 2027 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable 2028 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable 2029 const struct bpf_func_proto bpf_map_push_elem_proto __weak; variable 2030 const struct bpf_func_proto bpf_map_pop_elem_proto __weak; variable 2031 const struct bpf_func_proto bpf_map_peek_elem_proto __weak; variable [all …]
|
| /Linux-v5.4/drivers/base/ |
| D | cpu.c | 521 ssize_t __weak cpu_show_meltdown(struct device *dev, in cpu_show_meltdown() 527 ssize_t __weak cpu_show_spectre_v1(struct device *dev, in cpu_show_spectre_v1() 533 ssize_t __weak cpu_show_spectre_v2(struct device *dev, in cpu_show_spectre_v2() 539 ssize_t __weak cpu_show_spec_store_bypass(struct device *dev, in cpu_show_spec_store_bypass() 545 ssize_t __weak cpu_show_l1tf(struct device *dev, in cpu_show_l1tf() 551 ssize_t __weak cpu_show_mds(struct device *dev, in cpu_show_mds() 557 ssize_t __weak cpu_show_tsx_async_abort(struct device *dev, in cpu_show_tsx_async_abort() 564 ssize_t __weak cpu_show_itlb_multihit(struct device *dev, in cpu_show_itlb_multihit()
|
| /Linux-v5.4/mm/ |
| D | maccess.c | 36 long __weak probe_kernel_read(void *dst, const void *src, size_t size) 62 long __weak probe_user_read(void *dst, const void __user *src, size_t size) 88 long __weak probe_kernel_write(void *dst, const void *src, size_t size)
|
| /Linux-v5.4/kernel/debug/ |
| D | debug_core.c | 170 int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_set_breakpoint() 183 int __weak kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_remove_breakpoint() 189 int __weak kgdb_validate_break_address(unsigned long addr) in kgdb_validate_break_address() 209 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) in kgdb_arch_pc() 214 int __weak kgdb_arch_init(void) in kgdb_arch_init() 219 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception() 232 void __weak kgdb_call_nmi_hook(void *ignored) in kgdb_call_nmi_hook() 245 void __weak kgdb_roundup_cpus(void) in kgdb_roundup_cpus() 915 void __weak kgdb_arch_late(void) in kgdb_arch_late()
|
| /Linux-v5.4/include/linux/ |
| D | kexec.h | 186 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, 188 void * __weak arch_kexec_kernel_image_load(struct kimage *image); 189 int __weak arch_kexec_apply_relocations_add(struct purgatory_info *pi, 193 int __weak arch_kexec_apply_relocations(struct purgatory_info *pi,
|
| /Linux-v5.4/arch/mips/loongson64/lemote-2f/ |
| D | pm.c | 137 void __weak mach_suspend(void) in mach_suspend() 142 void __weak mach_resume(void) in mach_resume()
|
| /Linux-v5.4/init/ |
| D | main.c | 494 void __init __weak arch_post_acpi_subsys_init(void) { } in arch_post_acpi_subsys_init() 496 void __init __weak smp_setup_processor_id(void) in smp_setup_processor_id() 501 void __init __weak thread_stack_cache_init(void) in thread_stack_cache_init() 506 void __init __weak mem_encrypt_init(void) { } in mem_encrypt_init() 508 void __init __weak poking_init(void) { } in poking_init() 510 void __init __weak pgtable_cache_init(void) { } in pgtable_cache_init() 570 void __init __weak arch_call_rest_init(void) in arch_call_rest_init() 1100 void __weak free_initmem(void) in free_initmem()
|
| /Linux-v5.4/arch/x86/platform/pvh/ |
| D | enlighten.c | 39 void __init __weak mem_map_via_hcall(struct boot_params *ptr __maybe_unused) in mem_map_via_hcall() 104 void __init __weak xen_pvh_init(struct boot_params *boot_params) in xen_pvh_init()
|
| /Linux-v5.4/arch/sh/boards/ |
| D | of-generic.c | 167 void __init __weak arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops() 171 void __init __weak plat_irq_setup(void) in plat_irq_setup()
|
| /Linux-v5.4/tools/include/linux/ |
| D | compiler.h | 65 #ifndef __weak 66 # define __weak __attribute__((weak)) macro
|