Home
last modified time | relevance | path

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

12345678

/Linux-v5.10/lib/
Dclz_ctz.c17 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()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_core_extern.c15 extern enum libbpf_tristate CONFIG_TRISTATE __kconfig __weak;
16 extern bool CONFIG_BOOL __kconfig __weak;
17 extern char CONFIG_CHAR __kconfig __weak;
18 extern uint16_t CONFIG_USHORT __kconfig __weak;
19 extern int CONFIG_INT __kconfig __weak;
20 extern uint64_t CONFIG_ULONG __kconfig __weak;
21 extern const char CONFIG_STR[8] __kconfig __weak;
22 extern uint64_t CONFIG_MISSING __kconfig __weak;
/Linux-v5.10/tools/bpf/bpftool/
Dmain.h142 __weak int build_obj_refs_table(struct obj_refs_table *table,
144 __weak void delete_obj_refs_table(struct obj_refs_table *table);
145 __weak void emit_obj_refs_json(struct obj_refs_table *table, __u32 id,
147 __weak void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id,
174 int do_prog(int argc, char **arg) __weak;
175 int do_map(int argc, char **arg) __weak;
176 int do_link(int argc, char **arg) __weak;
177 int do_event_pipe(int argc, char **argv) __weak;
178 int do_cgroup(int argc, char **arg) __weak;
179 int do_perf(int argc, char **arg) __weak;
[all …]
/Linux-v5.10/tools/objtool/
Dweak.c18 int __weak check(struct objtool_file *file) in check()
23 int __weak orc_dump(const char *_objname) in orc_dump()
28 int __weak create_orc(struct objtool_file *file) in create_orc()
33 int __weak create_orc_sections(struct objtool_file *file) in create_orc_sections()
/Linux-v5.10/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-v5.10/arch/mips/mm/
Dcache.c202 extern void __weak r3k_cache_init(void); in cpu_cache_init()
207 extern void __weak r6k_cache_init(void); in cpu_cache_init()
212 extern void __weak r4k_cache_init(void); in cpu_cache_init()
217 extern void __weak r8k_cache_init(void); in cpu_cache_init()
222 extern void __weak tx39_cache_init(void); in cpu_cache_init()
228 extern void __weak octeon_cache_init(void); in cpu_cache_init()
236 int __weak __uncached_access(struct file *file, unsigned long addr) in __uncached_access()
/Linux-v5.10/arch/mips/loongson2ef/common/
Dpm.c59 void __weak setup_wakeup_events(void) in setup_wakeup_events()
66 int __weak wakeup_loongson(void) in wakeup_loongson()
114 void __weak mach_suspend(void) in mach_suspend()
118 void __weak mach_resume(void) in mach_resume()
/Linux-v5.10/tools/perf/util/
Dperf_regs.c6 int __weak arch_sdt_arg_parse_op(char *old_op __maybe_unused, in arch_sdt_arg_parse_op()
12 uint64_t __weak arch__intr_reg_mask(void) in arch__intr_reg_mask()
17 uint64_t __weak arch__user_reg_mask(void) in arch__user_reg_mask()
Dtopdown.c45 __weak bool arch_topdown_check_group(bool *warn) in arch_topdown_check_group()
51 __weak void arch_topdown_group_warn(void) in arch_topdown_group_warn()
55 __weak bool arch_topdown_sample_read(struct evsel *leader __maybe_unused) in arch_topdown_sample_read()
Dunwind-libunwind.c11 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;
Ddump-insn.c7 __weak
17 __weak
/Linux-v5.10/arch/mips/loongson64/
Dpm.c59 void __weak setup_wakeup_events(void) in setup_wakeup_events()
63 void __weak mach_suspend(void) in mach_suspend()
67 void __weak mach_resume(void) in mach_resume()
/Linux-v5.10/arch/sh/mm/
Dcache.c315 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()
/Linux-v5.10/kernel/bpf/
Dcore.c810 u64 __weak bpf_jit_alloc_exec_limit(void) in bpf_jit_alloc_exec_limit()
846 void *__weak bpf_jit_alloc_exec(unsigned long size) in bpf_jit_alloc_exec()
851 void __weak bpf_jit_free_exec(void *addr) in bpf_jit_free_exec()
908 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
1358 u64 __weak bpf_probe_read_kernel(void *dst, u32 size, const void *unsafe_ptr) in bpf_probe_read_kernel()
2199 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable
2200 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable
2201 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable
2202 const struct bpf_func_proto bpf_map_push_elem_proto __weak; variable
2203 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[];
/Linux-v5.10/drivers/base/
Dcpu.c514 ssize_t __weak cpu_show_meltdown(struct device *dev, in cpu_show_meltdown()
520 ssize_t __weak cpu_show_spectre_v1(struct device *dev, in cpu_show_spectre_v1()
526 ssize_t __weak cpu_show_spectre_v2(struct device *dev, in cpu_show_spectre_v2()
532 ssize_t __weak cpu_show_spec_store_bypass(struct device *dev, in cpu_show_spec_store_bypass()
538 ssize_t __weak cpu_show_l1tf(struct device *dev, in cpu_show_l1tf()
544 ssize_t __weak cpu_show_mds(struct device *dev, in cpu_show_mds()
550 ssize_t __weak cpu_show_tsx_async_abort(struct device *dev, in cpu_show_tsx_async_abort()
557 ssize_t __weak cpu_show_itlb_multihit(struct device *dev, in cpu_show_itlb_multihit()
563 ssize_t __weak cpu_show_srbds(struct device *dev, in cpu_show_srbds()
/Linux-v5.10/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-v5.10/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()
/Linux-v5.10/arch/mips/fw/arc/
Dmemory.c123 void __weak __init prom_meminit(void) in prom_meminit()
172 void __weak __init prom_cleanup(void) in prom_cleanup()
176 void __weak __init prom_free_prom_memory(void) in prom_free_prom_memory()
/Linux-v5.10/kernel/
Dkallsyms.c34 extern const unsigned long kallsyms_addresses[] __weak;
35 extern const int kallsyms_offsets[] __weak;
36 extern const u8 kallsyms_names[] __weak;
48 extern const char kallsyms_token_table[] __weak;
49 extern const u16 kallsyms_token_index[] __weak;
51 extern const unsigned int kallsyms_markers[] __weak;
451 int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value, in arch_get_kallsym()
Dwatchdog.c98 int __weak watchdog_nmi_enable(unsigned int cpu) in watchdog_nmi_enable()
104 void __weak watchdog_nmi_disable(unsigned int cpu) in watchdog_nmi_disable()
110 int __weak __init watchdog_nmi_probe(void) in watchdog_nmi_probe()
123 void __weak watchdog_nmi_stop(void) { } in watchdog_nmi_stop()
136 void __weak watchdog_nmi_start(void) { } in watchdog_nmi_start()
/Linux-v5.10/kernel/debug/
Ddebug_core.c160 int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_set_breakpoint()
174 int __weak kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_remove_breakpoint()
181 int __weak kgdb_validate_break_address(unsigned long addr) in kgdb_validate_break_address()
205 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) in kgdb_arch_pc()
211 int __weak kgdb_arch_init(void) in kgdb_arch_init()
216 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception()
230 void __weak kgdb_call_nmi_hook(void *ignored) in kgdb_call_nmi_hook()
244 void __weak kgdb_roundup_cpus(void) in kgdb_roundup_cpus()
1004 void __weak kgdb_arch_late(void) in kgdb_arch_late()
/Linux-v5.10/tools/lib/bpf/
Dbpf_helpers.h38 #ifndef __weak
39 #define __weak __attribute__((weak)) macro
/Linux-v5.10/arch/mips/loongson2ef/lemote-2f/
Dpm.c137 void __weak mach_suspend(void) in mach_suspend()
142 void __weak mach_resume(void) in mach_resume()
/Linux-v5.10/include/linux/
Dcrash_core.h73 extern const void __start_notes __weak;
74 extern const void __stop_notes __weak;

12345678