Home
last modified time | relevance | path

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

12345678910

/linux-6.6.21/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(u64 val);
32 int __weak __clzdi2(u64 val) in __clzdi2()
38 int __weak __ctzdi2(u64 val);
39 int __weak __ctzdi2(u64 val) in __ctzdi2()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_core_extern.c14 extern int LINUX_UNKNOWN_VIRTUAL_EXTERN __kconfig __weak;
16 extern enum libbpf_tristate CONFIG_TRISTATE __kconfig __weak;
17 extern bool CONFIG_BOOL __kconfig __weak;
18 extern char CONFIG_CHAR __kconfig __weak;
19 extern uint16_t CONFIG_USHORT __kconfig __weak;
20 extern int CONFIG_INT __kconfig __weak;
21 extern uint64_t CONFIG_ULONG __kconfig __weak;
22 extern const char CONFIG_STR[8] __kconfig __weak;
23 extern uint64_t CONFIG_MISSING __kconfig __weak;
Dtest_ksyms_weak.c21 extern const struct rq runqueues __ksym __weak; /* typed */
22 extern const void bpf_prog_active __ksym __weak; /* typeless */
23 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym __weak;
24 void bpf_testmod_test_mod_kfunc(int i) __ksym __weak;
30 extern const void bpf_link_fops1 __ksym __weak;
33 extern const int bpf_link_fops2 __ksym __weak;
34 void invalid_kfunc(void) __ksym __weak;
Dtest_global_func_ctx_args.c17 __weak int kprobe_typedef_ctx_subprog(bpf_user_pt_regs_t *ctx) in kprobe_typedef_ctx_subprog()
31 __weak int kprobe_struct_ctx_subprog(pt_regs_struct_t *ctx) in kprobe_struct_ctx_subprog()
46 __weak int kprobe_workaround_ctx_subprog(struct bpf_user_pt_regs_t *ctx) in kprobe_workaround_ctx_subprog()
62 __weak int raw_tp_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) in raw_tp_ctx_subprog()
78 __weak int raw_tp_writable_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) in raw_tp_writable_ctx_subprog()
94 __weak int perf_event_ctx_subprog(struct bpf_perf_event_data *ctx) in perf_event_ctx_subprog()
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
Dtask_kfunc_success.c20 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym __weak;
22 struct task_struct *bpf_task_acquire___one(struct task_struct *task) __ksym __weak;
24 struct task_struct *bpf_task_acquire___two(struct task_struct *p, void *ctx) __ksym __weak;
26 struct task_struct *bpf_task_acquire___three(void *ctx) __ksym __weak;
28 void invalid_kfunc(void) __ksym __weak;
29 void bpf_testmod_test_mod_kfunc(int i) __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.c11 const volatile int my_tid __weak; variable
12 long syscall_id __weak; variable
47 __weak int set_output_weak(int x) in set_output_weak()
Dlinked_funcs2.c11 const volatile int my_tid __weak; variable
12 long syscall_id __weak; variable
47 __weak int set_output_weak(int x) in set_output_weak()
/linux-6.6.21/kernel/
Dkallsyms_internal.h11 extern const unsigned long kallsyms_addresses[] __weak;
12 extern const int kallsyms_offsets[] __weak;
13 extern const u8 kallsyms_names[] __weak;
25 extern const char kallsyms_token_table[] __weak;
26 extern const u16 kallsyms_token_index[] __weak;
28 extern const unsigned int kallsyms_markers[] __weak;
29 extern const u8 kallsyms_seqs_of_names[] __weak;
/linux-6.6.21/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()
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-6.6.21/tools/bpf/bpftool/
Dmain.h118 __weak int build_obj_refs_table(struct hashmap **table,
120 __weak void delete_obj_refs_table(struct hashmap *table);
121 __weak void emit_obj_refs_json(struct hashmap *table, __u32 id,
123 __weak void emit_obj_refs_plain(struct hashmap *table, __u32 id,
154 int do_prog(int argc, char **arg) __weak;
155 int do_map(int argc, char **arg) __weak;
156 int do_link(int argc, char **arg) __weak;
157 int do_event_pipe(int argc, char **argv) __weak;
158 int do_cgroup(int argc, char **arg) __weak;
159 int do_perf(int argc, char **arg) __weak;
[all …]
/linux-6.6.21/drivers/hv/
Dhv_common.c40 bool __weak hv_root_partition;
43 bool __weak hv_nested;
46 struct ms_hyperv_info __weak ms_hyperv;
523 bool __weak hv_is_isolation_supported(void) in hv_is_isolation_supported()
529 bool __weak hv_isolation_type_snp(void) in hv_isolation_type_snp()
535 bool __weak hv_isolation_type_tdx(void) in hv_isolation_type_tdx()
541 void __weak hv_setup_vmbus_handler(void (*handler)(void)) in hv_setup_vmbus_handler()
546 void __weak hv_remove_vmbus_handler(void) in hv_remove_vmbus_handler()
551 void __weak hv_setup_kexec_handler(void (*handler)(void)) in hv_setup_kexec_handler()
556 void __weak hv_remove_kexec_handler(void) in hv_remove_kexec_handler()
[all …]
/linux-6.6.21/arch/xtensa/kernel/
Dplatform.c25 void __weak __init platform_init(bp_tag_t *first) in platform_init()
29 void __weak __init platform_setup(char **cmd) in platform_setup()
33 void __weak platform_idle(void) in platform_idle()
39 void __weak platform_calibrate_ccount(void) in platform_calibrate_ccount()
/linux-6.6.21/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-6.6.21/drivers/pci/msi/
Dlegacy.c10 int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) in arch_setup_msi_irq()
15 void __weak arch_teardown_msi_irq(unsigned int irq) in arch_teardown_msi_irq()
19 int __weak arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs()
40 void __weak arch_teardown_msi_irqs(struct pci_dev *dev) in arch_teardown_msi_irqs()
/linux-6.6.21/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-6.6.21/kernel/bpf/
Dcore.c980 u64 __weak bpf_jit_alloc_exec_limit(void) in bpf_jit_alloc_exec_limit()
1016 void *__weak bpf_jit_alloc_exec(unsigned long size) in bpf_jit_alloc_exec()
1021 void __weak bpf_jit_free_exec(void *addr) in bpf_jit_free_exec()
1189 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
2791 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable
2792 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable
2793 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable
2794 const struct bpf_func_proto bpf_map_push_elem_proto __weak; variable
2795 const struct bpf_func_proto bpf_map_pop_elem_proto __weak; variable
2796 const struct bpf_func_proto bpf_map_peek_elem_proto __weak; variable
[all …]
/linux-6.6.21/arch/riscv/include/asm/
Dsyscall_wrapper.h43 asmlinkage long __weak __riscv_compat_sys_##name(const struct pt_regs *regs); \
44 asmlinkage long __weak __riscv_compat_sys_##name(const struct pt_regs *regs) \
76 asmlinkage long __weak __riscv_sys_##name(const struct pt_regs *regs); \
77 asmlinkage long __weak __riscv_sys_##name(const struct pt_regs *regs) \
/linux-6.6.21/arch/sh/mm/
Dcache.c323 extern void __weak j2_cache_init(void); in cpu_cache_init()
327 extern void __weak sh2_cache_init(void); in cpu_cache_init()
333 extern void __weak sh2a_cache_init(void); in cpu_cache_init()
339 extern void __weak sh3_cache_init(void); in cpu_cache_init()
345 extern void __weak sh7705_cache_init(void); in cpu_cache_init()
354 extern void __weak sh4_cache_init(void); in cpu_cache_init()
360 extern void __weak shx3_cache_init(void); in cpu_cache_init()
/linux-6.6.21/tools/lib/bpf/
Dusdt.bpf.h68 } __bpf_usdt_specs SEC(".maps") __weak;
75 } __bpf_usdt_ip_to_spec_id SEC(".maps") __weak;
94 __weak __hidden
115 __weak __hidden
198 __weak __hidden
/linux-6.6.21/tools/objtool/
Dweak.c18 int __weak orc_dump(const char *_objname) in orc_dump()
23 int __weak orc_create(struct objtool_file *file) in orc_create()
/linux-6.6.21/kernel/sched/
Didle.c75 void __weak arch_cpu_idle_prepare(void) { } in arch_cpu_idle_prepare()
76 void __weak arch_cpu_idle_enter(void) { } in arch_cpu_idle_enter()
77 void __weak arch_cpu_idle_exit(void) { } in arch_cpu_idle_exit()
78 void __weak __noreturn arch_cpu_idle_dead(void) { while (1); } in arch_cpu_idle_dead()
79 void __weak arch_cpu_idle(void) in arch_cpu_idle()

12345678910