Home
last modified time | relevance | path

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

1234567891011

/linux/tools/testing/selftests/bpf/progs/
A Dcpumask_common.h31 struct bpf_cpumask *bpf_cpumask_create(void) __ksym __weak;
32 void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym __weak;
34 u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym __weak;
37 const struct cpumask *src2) __ksym __weak;
44 void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __ksym __weak;
47 const struct cpumask *src2) __ksym __weak;
50 const struct cpumask *src2) __ksym __weak;
53 const struct cpumask *src2) __ksym __weak;
62 const struct cpumask *src2) __ksym __weak;
65 void bpf_rcu_read_lock(void) __ksym __weak;
[all …]
A Dverifier_global_subprogs.c111 __weak int subprog_nullable_ptr_bad(int *p) in subprog_nullable_ptr_bad()
130 __noinline __weak int subprog_user_anon_mem(user_struct_t *t) in subprog_user_anon_mem()
174 __weak int subprog_ctx_tag(void *ctx __arg_ctx) in subprog_ctx_tag()
184 __weak int raw_tp_u64_array(u64 *ctx __arg_ctx) in raw_tp_u64_array()
212 __weak int tp_whatever(struct whatever *ctx __arg_ctx) in tp_whatever()
224 __weak int kprobe_subprog_pt_regs(struct pt_regs *ctx __arg_ctx) in kprobe_subprog_pt_regs()
243 __weak int perf_subprog_regs( in perf_subprog_regs()
279 __weak int iter_subprog_void(void *ctx __arg_ctx) in iter_subprog_void()
296 __weak int tracing_subprog_void(void *ctx __arg_ctx) in tracing_subprog_void()
301 __weak int tracing_subprog_u64(u64 *ctx __arg_ctx) in tracing_subprog_u64()
[all …]
A 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;
A 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;
A Dtest_global_func_ctx_args.c17 __weak int kprobe_typedef_ctx_subprog(bpf_user_pt_regs_t *ctx) in kprobe_typedef_ctx_subprog()
48 __weak int kprobe_struct_ctx_subprog(pt_regs_struct_t *ctx) in kprobe_struct_ctx_subprog()
65 __weak int kprobe_workaround_ctx_subprog(struct bpf_user_pt_regs_t *ctx) in kprobe_workaround_ctx_subprog()
81 __weak int raw_tp_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) in raw_tp_ctx_subprog()
97 __weak int raw_tp_writable_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) in raw_tp_writable_ctx_subprog()
113 __weak int perf_event_ctx_subprog(struct bpf_perf_event_data *ctx) in perf_event_ctx_subprog()
128 __weak int subprog_ctx_tag(void *ctx __arg_ctx) in subprog_ctx_tag()
135 __weak int subprog_multi_ctx_tags(void *ctx1 __arg_ctx, in subprog_multi_ctx_tags()
A Dverifier_global_ptr_args.c12 extern struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym __weak;
13 extern void bpf_task_release(struct task_struct *p) __ksym __weak;
15 __weak int subprog_trusted_task_nullable(struct task_struct *task __arg_trusted __arg_nullable) in subprog_trusted_task_nullable()
22 __weak int subprog_trusted_task_nullable_extra_layer(struct task_struct *task __arg_trusted __arg_n… in subprog_trusted_task_nullable_extra_layer()
59 __weak int subprog_trusted_task_nonnull(struct task_struct *task __arg_trusted) in subprog_trusted_task_nonnull()
107 __weak int subprog_nullable_task_flavor( in subprog_nullable_task_flavor()
129 __weak int subprog_nonnull_task_flavor(struct task_struct___local *task __arg_trusted) in subprog_nonnull_task_flavor()
147 __weak int subprog_trusted_destroy(struct task_struct *task __arg_trusted) in subprog_trusted_destroy()
162 __weak int subprog_trusted_acq_rel(struct task_struct *task __arg_trusted) in subprog_trusted_acq_rel()
A 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
A 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
A Dlinked_funcs1.c11 const volatile __u32 my_tid __weak; variable
12 long syscall_id __weak; variable
47 __weak int set_output_weak(int x) in set_output_weak()
A 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()
A Dtask_kfunc_success.c21 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym __weak;
23 struct task_struct *bpf_task_acquire___one(struct task_struct *task) __ksym __weak;
25 struct task_struct *bpf_task_acquire___two(struct task_struct *p, void *ctx) __ksym __weak;
27 struct task_struct *bpf_task_acquire___three(void *ctx) __ksym __weak;
29 void invalid_kfunc(void) __ksym __weak;
30 void bpf_testmod_test_mod_kfunc(int i) __ksym __weak;
/linux/tools/testing/selftests/bpf/
A Dbpf_kfuncs.h12 struct bpf_dynptr *ptr__uninit) __ksym __weak;
20 struct bpf_dynptr *ptr__uninit) __ksym __weak;
29 void *buffer, __u32 buffer__szk) __ksym __weak;
38 void *buffer, __u32 buffer__szk) __ksym __weak;
41 extern bool bpf_dynptr_is_null(const struct bpf_dynptr *ptr) __ksym __weak;
42 extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *ptr) __ksym __weak;
43 extern __u32 bpf_dynptr_size(const struct bpf_dynptr *ptr) __ksym __weak;
66 extern void *bpf_rdonly_cast(const void *obj, __u32 btf_id) __ksym __weak;
79 extern bool bpf_session_is_return(void) __ksym __weak;
80 extern __u64 *bpf_session_cookie(void) __ksym __weak;
[all …]
A Dbpf_experimental.h483 void bpf_preempt_disable(void) __weak __ksym;
484 void bpf_preempt_enable(void) __weak __ksym;
562 struct cgroup_subsys_state *css, unsigned int flags) __weak __ksym;
564 extern void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) __weak __ksym;
568 struct task_struct *task, unsigned int flags) __weak __ksym;
569 extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym;
570 extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym;
574 struct cgroup_subsys_state *start, unsigned int flags) __weak __ksym;
576 extern void bpf_iter_css_destroy(struct bpf_iter_css *it) __weak __ksym;
578 extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym;
[all …]
/linux/lib/
A 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/tools/perf/util/
A 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()
A Dperf_regs.c8 int __weak arch_sdt_arg_parse_op(char *old_op __maybe_unused, in arch_sdt_arg_parse_op()
14 uint64_t __weak arch__intr_reg_mask(void) in arch__intr_reg_mask()
19 uint64_t __weak arch__user_reg_mask(void) in arch__user_reg_mask()
28 const struct sample_reg * __weak arch__sample_reg_masks(void) in arch__sample_reg_masks()
/linux/tools/bpf/bpftool/
A Dmain.h155 int do_prog(int argc, char **arg) __weak;
156 int do_map(int argc, char **arg) __weak;
157 int do_link(int argc, char **arg) __weak;
158 int do_event_pipe(int argc, char **argv) __weak;
159 int do_cgroup(int argc, char **arg) __weak;
160 int do_perf(int argc, char **arg) __weak;
161 int do_net(int argc, char **arg) __weak;
162 int do_tracelog(int argc, char **arg) __weak;
163 int do_feature(int argc, char **argv) __weak;
164 int do_struct_ops(int argc, char **argv) __weak;
[all …]
/linux/arch/sh/include/asm/
A Dcacheflush.h107 void __weak l2_cache_init(void);
109 void __weak j2_cache_init(void);
110 void __weak sh2_cache_init(void);
111 void __weak sh2a_cache_init(void);
112 void __weak sh3_cache_init(void);
113 void __weak shx3_cache_init(void);
114 void __weak sh4_cache_init(void);
115 void __weak sh7705_cache_init(void);
117 void __weak sh4__flush_region_init(void);
/linux/drivers/hv/
A Dhv_common.c43 bool __weak hv_root_partition;
46 bool __weak hv_nested;
49 struct ms_hyperv_info __weak ms_hyperv;
595 bool __weak hv_is_isolation_supported(void) in hv_is_isolation_supported()
601 bool __weak hv_isolation_type_snp(void) in hv_isolation_type_snp()
607 bool __weak hv_isolation_type_tdx(void) in hv_isolation_type_tdx()
613 void __weak hv_setup_vmbus_handler(void (*handler)(void)) in hv_setup_vmbus_handler()
618 void __weak hv_remove_vmbus_handler(void) in hv_remove_vmbus_handler()
628 void __weak hv_remove_kexec_handler(void) in hv_remove_kexec_handler()
638 void __weak hv_remove_crash_handler(void) in hv_remove_crash_handler()
[all …]
/linux/tools/sched_ext/include/scx/
A Dcommon.bpf.h54 void bpf_iter_scx_dsq_destroy(struct bpf_iter_scx_dsq *it) __ksym __weak;
58 u32 scx_bpf_cpuperf_cap(s32 cpu) __ksym __weak;
59 u32 scx_bpf_cpuperf_cur(s32 cpu) __ksym __weak;
60 void scx_bpf_cpuperf_set(s32 cpu, u32 perf) __ksym __weak;
61 u32 scx_bpf_nr_cpu_ids(void) __ksym __weak;
62 const struct cpumask *scx_bpf_get_possible_cpumask(void) __ksym __weak;
63 const struct cpumask *scx_bpf_get_online_cpumask(void) __ksym __weak;
64 void scx_bpf_put_cpumask(const struct cpumask *cpumask) __ksym __weak;
74 struct cgroup *scx_bpf_task_cgroup(struct task_struct *p) __ksym __weak;
285 unsigned int flags) __weak __ksym;
[all …]
/linux/arch/xtensa/kernel/
A 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/arch/mips/loongson2ef/common/
A 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/drivers/pci/msi/
A 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/kernel/bpf/
A Dcore.c1029 u64 __weak bpf_jit_alloc_exec_limit(void) in bpf_jit_alloc_exec_limit()
1070 void __weak bpf_jit_free_exec(void *addr) in bpf_jit_free_exec()
1236 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
2904 u64 __weak
2951 bool __weak bpf_jit_needs_zext(void) in bpf_jit_needs_zext()
2973 bool __weak bpf_jit_supports_percpu_insn(void) in bpf_jit_supports_percpu_insn()
2978 bool __weak bpf_jit_supports_kfunc_call(void) in bpf_jit_supports_kfunc_call()
2988 bool __weak bpf_jit_supports_arena(void) in bpf_jit_supports_arena()
2998 u64 __weak bpf_arch_uaddress_limit(void) in bpf_arch_uaddress_limit()
3012 bool __weak bpf_jit_supports_ptr_xchg(void) in bpf_jit_supports_ptr_xchg()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Duretprobe_stack.c18 __weak int target_4(void) in target_4()
28 __weak int target_3(void) in target_3()
37 __weak int target_2(void) in target_2()
46 __weak int target_1(int depth) in target_1()
126 __weak void test_uretprobe_stack(void) in test_uretprobe_stack()

Completed in 31 milliseconds

1234567891011