Home
last modified time | relevance | path

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

1234

/tools/testing/selftests/bpf/progs/
Dcpumask_common.h31 struct bpf_cpumask *bpf_cpumask_create(void) __ksym __weak;
32 void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym __weak;
33 struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __ksym __weak;
34 u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym __weak;
35 u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym __weak;
37 const struct cpumask *src2) __ksym __weak;
38 void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak;
39 void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak;
40 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym __weak;
41 bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak;
[all …]
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;
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()
155 __noinline __weak int subprog_nonnull_ptr_good(int *p1 __arg_nonnull, int *p2 __arg_nonnull) in subprog_nonnull_ptr_good()
174 __weak int subprog_ctx_tag(void *ctx __arg_ctx) in subprog_ctx_tag()
179 __weak int raw_tp_canonical(struct bpf_raw_tracepoint_args *ctx __arg_ctx) in raw_tp_canonical()
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()
229 __weak int kprobe_subprog_typedef(bpf_user_pt_regs_t *ctx __arg_ctx) in kprobe_subprog_typedef()
243 __weak int perf_subprog_regs( in perf_subprog_regs()
[all …]
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_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()
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()
Dtest_fill_link_info.c8 extern bool CONFIG_X86_KERNEL_IBT __kconfig __weak;
9 extern bool CONFIG_PPC_FTRACE_OUT_OF_LINE __kconfig __weak;
10 extern bool CONFIG_KPROBES_ON_FTRACE __kconfig __weak;
11 extern bool CONFIG_PPC64 __kconfig __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_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()
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()
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;
/tools/testing/selftests/bpf/
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;
40 extern int bpf_dynptr_adjust(const struct bpf_dynptr *ptr, __u32 start, __u32 end) __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;
44 …n int bpf_dynptr_clone(const struct bpf_dynptr *ptr, struct bpf_dynptr *clone__init) __ksym __weak;
66 extern void *bpf_rdonly_cast(const void *obj, __u32 btf_id) __ksym __weak;
[all …]
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;
563 extern struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) __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;
575 extern struct cgroup_subsys_state *bpf_iter_css_next(struct bpf_iter_css *it) __weak __ksym;
[all …]
Dbpf_arena_common.h48 int node_id, __u64 flags) __ksym __weak;
49 void bpf_arena_free_pages(void *map, void __arena *ptr, __u32 page_cnt) __ksym __weak;
57 __weak char arena[1];
/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()
Ddump-insn.c7 __weak
17 __weak
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()
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;
/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,
155 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;
[all …]
/tools/sched_ext/include/scx/
Dcommon.bpf.h44 …id scx_bpf_dispatch_from_dsq_set_slice(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __weak;
45 …id scx_bpf_dispatch_from_dsq_set_vtime(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __weak;
46 …struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak;
47 …struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak;
52 int bpf_iter_scx_dsq_new(struct bpf_iter_scx_dsq *it, u64 dsq_id, u64 flags) __ksym __weak;
53 struct task_struct *bpf_iter_scx_dsq_next(struct bpf_iter_scx_dsq *it) __ksym __weak;
54 void bpf_iter_scx_dsq_destroy(struct bpf_iter_scx_dsq *it) __ksym __weak;
55 … scx_bpf_exit_bstr(s64 exit_code, char *fmt, unsigned long long *data, u32 data__sz) __ksym __weak;
57 void scx_bpf_dump_bstr(char *fmt, unsigned long long *data, u32 data_len) __ksym __weak;
58 u32 scx_bpf_cpuperf_cap(s32 cpu) __ksym __weak;
[all …]
/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()
/tools/testing/selftests/bpf/prog_tests/
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()
/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
/tools/testing/selftests/rseq/
Drseq.c43 __weak ptrdiff_t __rseq_offset;
44 __weak unsigned int __rseq_size;
45 __weak unsigned int __rseq_flags;

1234