Home
last modified time | relevance | path

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

123456789

/linux/tools/sched_ext/include/scx/
H A Denums.autogen.bpf.h7 const volatile u64 __SCX_OPS_NAME_LEN __weak; variable
10 const volatile u64 __SCX_SLICE_DFL __weak; variable
13 const volatile u64 __SCX_SLICE_INF __weak; variable
16 const volatile u64 __SCX_RQ_ONLINE __weak; variable
19 const volatile u64 __SCX_RQ_CAN_STOP_TICK __weak; variable
22 const volatile u64 __SCX_RQ_BAL_PENDING __weak; variable
25 const volatile u64 __SCX_RQ_BYPASSING __weak; variable
28 const volatile u64 __SCX_RQ_CLK_VALID __weak; variable
31 const volatile u64 __SCX_RQ_IN_WAKEUP __weak; variable
34 const volatile u64 __SCX_RQ_IN_BALANCE __weak; variable
[all …]
H A Dcommon.bpf.h49 extern const char CONFIG_CC_VERSION_TEXT[64] __kconfig __weak;
50 extern const char CONFIG_LOCALVERSION[64] __kconfig __weak;
51 extern bool CONFIG_PREEMPT_RCU __kconfig __weak;
66 struct scx_bpf_select_cpu_and_args *args) __ksym __weak;
67 bool __scx_bpf_dsq_insert_vtime(struct task_struct *p, struct scx_bpf_dsq_insert_vtime_args *args) __ksym __weak;
73 struct task_struct *scx_bpf_dsq_peek(u64 dsq_id) __ksym __weak;
74 int bpf_iter_scx_dsq_new(struct bpf_iter_scx_dsq *it, u64 dsq_id, u64 flags) __ksym __weak;
75 struct task_struct *bpf_iter_scx_dsq_next(struct bpf_iter_scx_dsq *it) __ksym __weak;
76 void bpf_iter_scx_dsq_destroy(struct bpf_iter_scx_dsq *it) __ksym __weak;
77 void scx_bpf_exit_bstr(s64 exit_code, char *fmt, unsigned long long *data, u32 data__sz) __ksym __weak;
543 bool __scx_prolog_disables_migration __weak = true; global() variable
[all...]
H A Dcompat.bpf.h19 struct cgroup *scx_bpf_task_cgroup___new(struct task_struct *p) __ksym __weak;
34 bool scx_bpf_dsq_move_to_local___v2___compat(u64 dsq_id, u64 enq_flags) __ksym __weak;
35 bool scx_bpf_dsq_move_to_local___v1(u64 dsq_id) __ksym __weak;
36 void scx_bpf_dsq_move_set_slice___new(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __weak;
37 void scx_bpf_dsq_move_set_vtime___new(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __weak;
38 …struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak;
39 …struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak;
41 bool scx_bpf_consume___old(u64 dsq_id) __ksym __weak;
42 …_bpf_dispatch_from_dsq_set_slice___old(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __weak;
43 …_bpf_dispatch_from_dsq_set_vtime___old(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __weak;
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A 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 …]
H 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()
83 __weak int subprog_trusted_task_nonnull(struct task_struct *task __arg_trusted) in subprog_trusted_task_nonnull()
131 __weak int subprog_nullable_task_flavor( in subprog_nullable_task_flavor()
153 __weak int subprog_nonnull_task_flavor(struct task_struct___local *task __arg_trusted) in subprog_nonnull_task_flavor()
171 __weak int subprog_trusted_destroy(struct task_struct *task __arg_trusted) in subprog_trusted_destroy()
186 __weak int subprog_trusted_acq_rel(struct task_struct *task __arg_trusted) in subprog_trusted_acq_rel()
206 __weak int subprog_untrusted_bad_tags(struct task_struct *task __arg_untrusted __arg_nullable) in subprog_untrusted_bad_tags()
[all …]
H 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;
H A Dverifier_global_subprogs.c120 __weak int subprog_nullable_ptr_bad(int *p) in subprog_nullable_ptr_bad()
139 __noinline __weak int subprog_user_anon_mem(user_struct_t *t) in subprog_user_anon_mem()
163 __noinline __weak int subprog_user_anon_mem_huge(int (*p)[0x3fffffff]) in subprog_user_anon_mem_huge()
180 __noinline __weak int subprog_nonnull_ptr_good(int *p1 __arg_nonnull, int *p2 __arg_nonnull) in subprog_nonnull_ptr_good()
209 __weak int subprog_ctx_tag(void *ctx __arg_ctx) in subprog_ctx_tag()
214 __weak int raw_tp_canonical(struct bpf_raw_tracepoint_args *ctx __arg_ctx) in raw_tp_canonical()
219 __weak int raw_tp_u64_array(u64 *ctx __arg_ctx) in raw_tp_u64_array()
247 __weak int tp_whatever(struct whatever *ctx __arg_ctx) in tp_whatever()
259 __weak int kprobe_subprog_pt_regs(struct pt_regs *ctx __arg_ctx) in kprobe_subprog_pt_regs()
264 __weak int kprobe_subprog_typedef(bpf_user_pt_regs_t *ctx __arg_ctx) in kprobe_subprog_typedef()
[all …]
H 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;
H 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()
H 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
H A 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;
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h12 struct bpf_dynptr *ptr__uninit) __ksym __weak;
20 struct bpf_dynptr *ptr__uninit) __ksym __weak;
23 struct bpf_dynptr *ptr__uninit) __ksym __weak;
32 void *buffer, __u64 buffer__szk) __ksym __weak;
41 __u64 buffer__szk) __ksym __weak;
43 extern int bpf_dynptr_adjust(struct bpf_dynptr *ptr, __u64 start, __u64 end) __ksym __weak;
44 extern bool bpf_dynptr_is_null(const struct bpf_dynptr *ptr) __ksym __weak;
45 extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *ptr) __ksym __weak;
46 extern __u64 bpf_dynptr_size(const struct bpf_dynptr *ptr) __ksym __weak;
47 extern int bpf_dynptr_clone(const struct bpf_dynptr *ptr, struct bpf_dynptr *clone__init) __ksym __weak;
[all...]
H A Dbpf_experimental.h256 void bpf_preempt_disable(void) __weak __ksym;
257 void bpf_preempt_enable(void) __weak __ksym;
335 struct cgroup_subsys_state *css, unsigned int flags) __weak __ksym;
336 extern struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) __weak __ksym;
337 extern void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) __weak __ksym;
341 struct task_struct *task, unsigned int flags) __weak __ksym;
342 extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym;
343 extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym;
347 struct cgroup_subsys_state *start, unsigned int flags) __weak __ksym;
348 extern struct cgroup_subsys_state *bpf_iter_css_next(struct bpf_iter_css *it) __weak __ksym;
[all …]
/linux/lib/
H A Dclz_ctz.c17 int __weak __ctzsi2(int val);
18 int __weak __attribute_const__ __ctzsi2(int val) in __ctzsi2()
24 int __weak __clzsi2(int val);
25 int __weak __attribute_const__ __clzsi2(int val) in __clzsi2()
31 int __weak __clzdi2(u64 val);
32 int __weak __attribute_const__ __clzdi2(u64 val) in __clzdi2()
38 int __weak __ctzdi2(u64 val);
39 int __weak __attribute_const__ __ctzdi2(u64 val) in __ctzdi2()
/linux/tools/perf/util/
H 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()
/linux/tools/testing/selftests/bpf/libarena/src/
H A Dbitmap.bpf.c12 __weak
31 __weak
37 __weak
43 __weak
49 __weak
55 __weak
79 __weak
103 __weak
118 __weak
133 __weak
[all …]
H A Dcommon.bpf.c26 __weak int arena_get_info(struct arena_get_info_args *args) in arena_get_info()
34 __weak int arena_alloc_reserve(struct arena_alloc_reserve_args *args) in arena_alloc_reserve()
40 __weak int arena_buddy_reset(void) in arena_buddy_reset()
48 __weak int arena_buddy_destroy(void) in arena_buddy_destroy()
53 __weak void __arena *arena_malloc(size_t size) in arena_malloc()
58 __weak void arena_free(void __arena *ptr) in arena_free()
/linux/arch/sh/include/asm/
H 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/tools/testing/selftests/hid/progs/
H A Dhid_bpf_helpers.h112 const size_t __sz) __weak __ksym;
113 extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __weak __ksym;
114 extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __weak __ksym;
119 enum hid_class_request reqtype) __weak __ksym;
121 __u8 *buf, size_t buf__sz) __weak __ksym;
125 size_t buf__sz) __weak __ksym;
129 size_t buf__sz) __weak __ksym;
132 extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym;
133 extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym;
136 unsigned int flags) __weak __ksym;
/linux/drivers/hv/
H A Dhv_common.c49 bool __weak hv_nested;
52 struct ms_hyperv_info __weak ms_hyperv;
651 bool __weak hv_is_isolation_supported(void) in hv_is_isolation_supported()
657 bool __weak hv_isolation_type_snp(void) in hv_isolation_type_snp()
663 bool __weak hv_isolation_type_tdx(void) in hv_isolation_type_tdx()
669 void __weak hv_setup_vmbus_handler(void (*handler)(void)) in hv_setup_vmbus_handler()
674 void __weak hv_remove_vmbus_handler(void) in hv_remove_vmbus_handler()
679 void __weak hv_setup_mshv_handler(void (*handler)(void)) in hv_setup_mshv_handler()
684 void __weak hv_setup_kexec_handler(void (*handler)(void)) in hv_setup_kexec_handler()
689 void __weak hv_remove_kexec_handler(void) in hv_remove_kexec_handler()
[all …]
/linux/arch/xtensa/kernel/
H A Dplatform.c26 void __weak __init platform_init(bp_tag_t *first) in platform_init()
30 void __weak __init platform_setup(char **cmd) in platform_setup()
34 void __weak platform_idle(void) in platform_idle()
40 void __weak platform_calibrate_ccount(void) in platform_calibrate_ccount()
/linux/arch/mips/loongson2ef/common/
H 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/tools/testing/selftests/bpf/libarena/selftests/
H A Dtest_bitmap.bpf.c20 __weak int test_bitmap_alloc_free(void) in test_bitmap_alloc_free()
48 __weak int test_bitmap_bit_ops(void) in test_bitmap_bit_ops()
139 __weak int test_bitmap_test_and_clear_bit(void) in test_bitmap_test_and_clear_bit()
168 __weak int test_bitmap_test_and_set_bit(void) in test_bitmap_test_and_set_bit()
195 __weak int test_bitmap_and(void) in test_bitmap_and()
241 __weak int test_bitmap_or(void) in test_bitmap_or()
286 __weak int test_bitmap_subset(void) in test_bitmap_subset()
330 __weak int test_bitmap_intersects(void) in test_bitmap_intersects()
363 __weak int test_bitmap_copy(void) in test_bitmap_copy()
H A Dtest_buddy.bpf.c27 __weak int test_buddy_create(void) in test_buddy_create()
46 __weak int test_buddy_alloc(void) in test_buddy_alloc()
69 __weak int test_buddy_alloc_free(void) in test_buddy_alloc_free()
95 __weak int test_buddy_alloc_multiple(void) in test_buddy_alloc_multiple()
172 __weak int test_buddy_alignment(void) in test_buddy_alignment()
213 __weak char _license[] SEC("license") = "GPL";
H A Dtest_asan_buddy.bpf.c57 __weak int asan_test_buddy_byte(u8 __arena *mem, int i, bool freed) in asan_test_buddy_byte()
74 __weak int asan_test_buddy_uaf_single(size_t alloc_size) in asan_test_buddy_uaf_single()
152 __weak int asan_test_buddy_oob(void) in asan_test_buddy_oob()
192 __weak int asan_test_buddy_uaf(void) in asan_test_buddy_uaf()
230 __weak int asan_test_buddy_blob(void) in asan_test_buddy_blob()
262 __weak char _license[] SEC("license") = "GPL";

123456789