Home
last modified time | relevance | path

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

123456789

/Linux-v5.15/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.15/tools/perf/util/
Diostat.c7 __weak int iostat_prepare(struct evlist *evlist __maybe_unused, in iostat_prepare()
13 __weak int iostat_parse(const struct option *opt __maybe_unused, in iostat_parse()
21 __weak void iostat_list(struct evlist *evlist __maybe_unused, in iostat_list()
26 __weak void iostat_release(struct evlist *evlist __maybe_unused) in iostat_release()
30 __weak void iostat_print_header_prefix(struct perf_stat_config *config __maybe_unused) in iostat_print_header_prefix()
34 __weak void iostat_print_metric(struct perf_stat_config *config __maybe_unused, in iostat_print_metric()
40 __weak void iostat_prefix(struct evlist *evlist __maybe_unused, in iostat_prefix()
47 __weak void iostat_print_counters(struct evlist *evlist __maybe_unused, in iostat_print_counters()
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.15/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;
Dlinked_vars1.c10 extern bool CONFIG_BPF_SYSCALL __kconfig __weak;
11 extern const void bpf_link_fops __ksym __weak;
17 int input_bss_weak __weak; variable
19 int input_data_weak __weak = 10; variable
20 const volatile int input_rodata_weak __weak = 100; variable
Dtest_ksyms_weak.c21 extern const struct rq runqueues __ksym __weak; /* typed */
22 extern const void bpf_prog_active __ksym __weak; /* typeless */
28 extern const void bpf_link_fops1 __ksym __weak;
31 extern const int bpf_link_fops2 __ksym __weak;
Dlinked_vars2.c17 int input_bss_weak __weak; variable
19 int input_data_weak __weak = 20; variable
20 const volatile int input_rodata_weak __weak = 200; variable
Dlinked_funcs1.c9 const volatile int my_tid __weak; variable
10 long syscall_id __weak; variable
45 __weak int set_output_weak(int x) in set_output_weak()
Dlinked_funcs2.c9 const volatile int my_tid __weak; variable
10 long syscall_id __weak; variable
45 __weak int set_output_weak(int x) in set_output_weak()
/Linux-v5.15/tools/bpf/bpftool/
Dmain.h143 __weak int build_obj_refs_table(struct obj_refs_table *table,
145 __weak void delete_obj_refs_table(struct obj_refs_table *table);
146 __weak void emit_obj_refs_json(struct obj_refs_table *table, __u32 id,
148 __weak void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id,
175 int do_prog(int argc, char **arg) __weak;
176 int do_map(int argc, char **arg) __weak;
177 int do_link(int argc, char **arg) __weak;
178 int do_event_pipe(int argc, char **argv) __weak;
179 int do_cgroup(int argc, char **arg) __weak;
180 int do_perf(int argc, char **arg) __weak;
[all …]
/Linux-v5.15/drivers/hv/
Dhv_common.c35 bool __weak hv_root_partition;
38 struct ms_hyperv_info __weak ms_hyperv;
246 bool __weak hv_is_isolation_supported(void) in hv_is_isolation_supported()
252 void __weak hv_setup_vmbus_handler(void (*handler)(void)) in hv_setup_vmbus_handler()
257 void __weak hv_remove_vmbus_handler(void) in hv_remove_vmbus_handler()
262 void __weak hv_setup_kexec_handler(void (*handler)(void)) in hv_setup_kexec_handler()
267 void __weak hv_remove_kexec_handler(void) in hv_remove_kexec_handler()
272 void __weak hv_setup_crash_handler(void (*handler)(struct pt_regs *regs)) in hv_setup_crash_handler()
277 void __weak hv_remove_crash_handler(void) in hv_remove_crash_handler()
282 void __weak hyperv_cleanup(void) in hyperv_cleanup()
/Linux-v5.15/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.15/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.15/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 orc_create(struct objtool_file *file) in orc_create()
/Linux-v5.15/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.15/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.15/kernel/bpf/
Dcore.c809 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()
1360 u64 __weak bpf_probe_read_kernel(void *dst, u32 size, const void *unsafe_ptr) in bpf_probe_read_kernel()
2336 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable
2337 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable
2338 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable
2339 const struct bpf_func_proto bpf_map_push_elem_proto __weak; variable
2340 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.15/drivers/base/
Dcpu.c512 ssize_t __weak cpu_show_meltdown(struct device *dev, in cpu_show_meltdown()
518 ssize_t __weak cpu_show_spectre_v1(struct device *dev, in cpu_show_spectre_v1()
524 ssize_t __weak cpu_show_spectre_v2(struct device *dev, in cpu_show_spectre_v2()
530 ssize_t __weak cpu_show_spec_store_bypass(struct device *dev, in cpu_show_spec_store_bypass()
536 ssize_t __weak cpu_show_l1tf(struct device *dev, in cpu_show_l1tf()
542 ssize_t __weak cpu_show_mds(struct device *dev, in cpu_show_mds()
548 ssize_t __weak cpu_show_tsx_async_abort(struct device *dev, in cpu_show_tsx_async_abort()
555 ssize_t __weak cpu_show_itlb_multihit(struct device *dev, in cpu_show_itlb_multihit()
561 ssize_t __weak cpu_show_srbds(struct device *dev, in cpu_show_srbds()
/Linux-v5.15/arch/mips/mm/
Dcache.c189 extern void __weak r3k_cache_init(void); in cpu_cache_init()
194 extern void __weak r4k_cache_init(void); in cpu_cache_init()
199 extern void __weak tx39_cache_init(void); in cpu_cache_init()
205 extern void __weak octeon_cache_init(void); in cpu_cache_init()
/Linux-v5.15/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.15/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()
1011 void __weak kgdb_arch_late(void) in kgdb_arch_late()

123456789