Home
last modified time | relevance | path

Searched refs:__weak (Results 1 – 25 of 220) 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_BAL_KEEP __weak; variable
28 const volatile u64 __SCX_RQ_BYPASSING __weak; variable
31 const volatile u64 __SCX_RQ_CLK_VALID __weak; variable
34 const volatile u64 __SCX_RQ_IN_WAKEUP __weak; variable
[all …]
H A Dcompat.bpf.h19 struct cgroup *scx_bpf_task_cgroup___new(struct task_struct *p) __ksym __weak;
32 bool scx_bpf_dsq_move_to_local___new(u64 dsq_id) __ksym __weak;
33 void scx_bpf_dsq_move_set_slice___new(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __weak;
34 void scx_bpf_dsq_move_set_vtime___new(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __weak;
35 …struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak;
36 …struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak;
38 bool scx_bpf_consume___old(u64 dsq_id) __ksym __weak;
39 …_bpf_dispatch_from_dsq_set_slice___old(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __weak;
40 …_bpf_dispatch_from_dsq_set_vtime___old(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __weak;
41 …struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak;
[all …]
H A Dcommon.bpf.h48 extern const char CONFIG_CC_VERSION_TEXT[64] __kconfig __weak;
49 extern const char CONFIG_LOCALVERSION[64] __kconfig __weak;
64 struct scx_bpf_select_cpu_and_args *args) __ksym __weak;
65 …_dsq_insert_vtime(struct task_struct *p, struct scx_bpf_dsq_insert_vtime_args *args) __ksym __weak;
71 struct task_struct *scx_bpf_dsq_peek(u64 dsq_id) __ksym __weak;
72 int bpf_iter_scx_dsq_new(struct bpf_iter_scx_dsq *it, u64 dsq_id, u64 flags) __ksym __weak;
73 struct task_struct *bpf_iter_scx_dsq_next(struct bpf_iter_scx_dsq *it) __ksym __weak;
74 void bpf_iter_scx_dsq_destroy(struct bpf_iter_scx_dsq *it) __ksym __weak;
75 … scx_bpf_exit_bstr(s64 exit_code, char *fmt, unsigned long long *data, u32 data__sz) __ksym __weak;
77 void scx_bpf_dump_bstr(char *fmt, unsigned long long *data, u32 data_len) __ksym __weak;
[all …]
H A Dbpf_arena_common.bpf.h82 int node_id, __u64 flags) __ksym __weak;
83 void bpf_arena_free_pages(void *map, void __arena *ptr, __u32 page_cnt) __ksym __weak;
174 void bpf_preempt_disable(void) __weak __ksym;
175 void bpf_preempt_enable(void) __weak __ksym;
/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_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 …]
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()
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()
182 __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 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;
H 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
/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(const 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.h486 void bpf_preempt_disable(void) __weak __ksym;
487 void bpf_preempt_enable(void) __weak __ksym;
565 struct cgroup_subsys_state *css, unsigned int flags) __weak __ksym;
566 extern struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) __weak __ksym;
567 extern void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) __weak __ksym;
571 struct task_struct *task, unsigned int flags) __weak __ksym;
572 extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym;
573 extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym;
577 struct cgroup_subsys_state *start, unsigned int flags) __weak __ksym;
578 extern struct cgroup_subsys_state *bpf_iter_css_next(struct bpf_iter_css *it) __weak __ksym;
[all …]
H A Dbpf_arena_common.h48 int node_id, __u64 flags) __ksym __weak;
49 int bpf_arena_reserve_pages(void *map, void __arena *addr, __u32 page_cnt) __ksym __weak;
50 void bpf_arena_free_pages(void *map, void __arena *ptr, __u32 page_cnt) __ksym __weak;
60 __weak char arena[1];
/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/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.h97 const size_t __sz) __weak __ksym;
98 extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __weak __ksym;
99 extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __weak __ksym;
104 enum hid_class_request reqtype) __weak __ksym;
106 __u8 *buf, size_t buf__sz) __weak __ksym;
110 size_t buf__sz) __weak __ksym;
114 size_t buf__sz) __weak __ksym;
117 extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym;
118 extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym;
121 unsigned int flags__k, void *aux__ign) __weak __ksym;
/linux/drivers/hv/
H A Dhv_common.c49 bool __weak hv_nested;
52 struct ms_hyperv_info __weak ms_hyperv;
649 bool __weak hv_is_isolation_supported(void) in hv_is_isolation_supported()
655 bool __weak hv_isolation_type_snp(void) in hv_isolation_type_snp()
661 bool __weak hv_isolation_type_tdx(void) in hv_isolation_type_tdx()
667 void __weak hv_setup_vmbus_handler(void (*handler)(void)) in hv_setup_vmbus_handler()
672 void __weak hv_remove_vmbus_handler(void) in hv_remove_vmbus_handler()
677 void __weak hv_setup_mshv_handler(void (*handler)(void)) in hv_setup_mshv_handler()
682 void __weak hv_setup_kexec_handler(void (*handler)(void)) in hv_setup_kexec_handler()
687 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/kernel/bpf/
H A Dcore.c1025 u64 __weak bpf_jit_alloc_exec_limit(void) in bpf_jit_charge_init()
1061 void *__weak bpf_jit_alloc_exec(unsigned long size) in bpf_jit_binary_alloc()
1066 void __weak bpf_jit_free_exec(void *addr) in bpf_jit_binary_alloc()
1232 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_get_func_addr()
2983 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; in bpf_get_trace_vprintk_proto()
2984 const struct bpf_func_proto bpf_map_update_elem_proto __weak; in bpf_get_trace_vprintk_proto()
2985 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; in bpf_get_trace_vprintk_proto()
2986 const struct bpf_func_proto bpf_map_push_elem_proto __weak;
2987 const struct bpf_func_proto bpf_map_pop_elem_proto __weak; in bpf_get_perf_event_read_value_proto()
2988 const struct bpf_func_proto bpf_map_peek_elem_proto __weak; in bpf_get_perf_event_read_value_proto()
2946 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; global() variable
2947 const struct bpf_func_proto bpf_map_update_elem_proto __weak; global() variable
2948 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; global() variable
2949 const struct bpf_func_proto bpf_map_push_elem_proto __weak; global() variable
2950 const struct bpf_func_proto bpf_map_pop_elem_proto __weak; global() variable
2951 const struct bpf_func_proto bpf_map_peek_elem_proto __weak; global() variable
2952 const struct bpf_func_proto bpf_map_lookup_percpu_elem_proto __weak; global() variable
2953 const struct bpf_func_proto bpf_spin_lock_proto __weak; global() variable
2954 const struct bpf_func_proto bpf_spin_unlock_proto __weak; global() variable
2955 const struct bpf_func_proto bpf_jiffies64_proto __weak; global() variable
2957 const struct bpf_func_proto bpf_get_prandom_u32_proto __weak; global() variable
2958 const struct bpf_func_proto bpf_get_smp_processor_id_proto __weak; global() variable
2959 const struct bpf_func_proto bpf_get_numa_node_id_proto __weak; global() variable
2960 const struct bpf_func_proto bpf_ktime_get_ns_proto __weak; global() variable
2961 const struct bpf_func_proto bpf_ktime_get_boot_ns_proto __weak; global() variable
2962 const struct bpf_func_proto bpf_ktime_get_coarse_ns_proto __weak; global() variable
2963 const struct bpf_func_proto bpf_ktime_get_tai_ns_proto __weak; global() variable
2965 const struct bpf_func_proto bpf_get_current_pid_tgid_proto __weak; global() variable
2966 const struct bpf_func_proto bpf_get_current_uid_gid_proto __weak; global() variable
2967 const struct bpf_func_proto bpf_get_current_comm_proto __weak; global() variable
2968 const struct bpf_func_proto bpf_get_current_cgroup_id_proto __weak; global() variable
2969 const struct bpf_func_proto bpf_get_current_ancestor_cgroup_id_proto __weak; global() variable
2970 const struct bpf_func_proto bpf_get_local_storage_proto __weak; global() variable
2971 const struct bpf_func_proto bpf_get_ns_current_pid_tgid_proto __weak; global() variable
2972 const struct bpf_func_proto bpf_snprintf_btf_proto __weak; global() variable
2973 const struct bpf_func_proto bpf_seq_printf_btf_proto __weak; global() variable
2974 const struct bpf_func_proto bpf_set_retval_proto __weak; global() variable
2975 const struct bpf_func_proto bpf_get_retval_proto __weak; global() variable
[all...]
/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/drivers/pci/msi/
H 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()

123456789