Searched refs:__weak (Results 1 - 25 of 257) sorted by relevance

1234567891011

/linux-master/kernel/
H A 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-master/lib/
H A Dclz_ctz.c17 int __weak __ctzsi2(int val);
18 int __weak __ctzsi2(int val)
24 int __weak __clzsi2(int val);
25 int __weak __clzsi2(int val)
31 int __weak __clzdi2(u64 val);
32 int __weak __clzdi2(u64 val)
38 int __weak __ctzdi2(u64 val);
39 int __weak __ctzdi2(u64 val)
/linux-master/arch/xtensa/kernel/
H A Dplatform.c25 void __weak __init platform_init(bp_tag_t *first)
29 void __weak __init platform_setup(char **cmd)
33 void __weak platform_idle(void)
39 void __weak platform_calibrate_ccount(void)
/linux-master/tools/perf/util/
H A Dtopdown.c5 __weak bool arch_topdown_sample_read(struct evsel *leader __maybe_unused)
H A Diostat.c7 __weak int iostat_prepare(struct evlist *evlist __maybe_unused,
13 __weak int iostat_parse(const struct option *opt __maybe_unused,
21 __weak void iostat_list(struct evlist *evlist __maybe_unused,
26 __weak void iostat_release(struct evlist *evlist __maybe_unused)
30 __weak void iostat_print_header_prefix(struct perf_stat_config *config __maybe_unused)
34 __weak void iostat_print_metric(struct perf_stat_config *config __maybe_unused,
40 __weak void iostat_prefix(struct evlist *evlist __maybe_unused,
47 __weak void iostat_print_counters(struct evlist *evlist __maybe_unused,
H A Ddump-insn.c7 __weak
17 __weak
/linux-master/tools/testing/selftests/bpf/progs/
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_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; variable
24 void bpf_testmod_test_mod_kfunc(int i) __ksym __weak; variable
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; variable
H A Dcpumask_common.h26 struct bpf_cpumask *bpf_cpumask_create(void) __ksym __weak; variable
27 void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym __weak; variable
28 struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __ksym __weak; variable
29 u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym __weak; variable
30 u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym __weak; variable
32 const struct cpumask *src2) __ksym __weak; variable
33 void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak; variable
34 void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak; variable
35 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym __weak; variable
36 bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak; variable
37 bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak; variable
38 void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __ksym __weak; variable
39 void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __ksym __weak; variable
42 const struct cpumask *src2) __ksym __weak; variable
45 const struct cpumask *src2) __ksym __weak; variable
48 const struct cpumask *src2) __ksym __weak; variable
49 bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __ksym __weak; variable
50 bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __ksym __weak; variable
51 bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __ksym __weak; variable
52 bool bpf_cpumask_empty(const struct cpumask *cpumask) __ksym __weak; variable
53 bool bpf_cpumask_full(const struct cpumask *cpumask) __ksym __weak; variable
54 void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __ksym __weak; variable
55 u32 bpf_cpumask_any_distribute(const struct cpumask *src) __ksym __weak; variable
57 const struct cpumask *src2) __ksym __weak; variable
58 u32 bpf_cpumask_weight(const struct cpumask *cpumask) __ksym __weak; variable
60 void bpf_rcu_read_lock(void) __ksym __weak; variable
61 void bpf_rcu_read_unlock(void) __ksym __weak; variable
[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 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
H A Dlinked_funcs2.c11 const volatile int my_tid __weak; variable
12 long syscall_id __weak; variable
39 * actual definition (including from the losing __weak definition).
47 __weak int set_output_weak(int x)
H A Dlinked_funcs1.c11 const volatile __u32 my_tid __weak; variable
12 long syscall_id __weak; variable
39 * actual definition (including from the losing __weak definition).
47 __weak int set_output_weak(int x)
H A Dtest_global_func_ctx_args.c17 __weak int kprobe_typedef_ctx_subprog(bpf_user_pt_regs_t *ctx)
48 __weak int kprobe_struct_ctx_subprog(pt_regs_struct_t *ctx)
65 __weak int kprobe_workaround_ctx_subprog(struct bpf_user_pt_regs_t *ctx)
81 __weak int raw_tp_ctx_subprog(struct bpf_raw_tracepoint_args *ctx)
97 __weak int raw_tp_writable_ctx_subprog(struct bpf_raw_tracepoint_args *ctx)
113 __weak int perf_event_ctx_subprog(struct bpf_perf_event_data *ctx)
128 __weak int subprog_ctx_tag(void *ctx __arg_ctx)
135 __weak int subprog_multi_ctx_tags(void *ctx1 __arg_ctx,
H A Dverifier_global_subprogs.c103 __weak int subprog_nullable_ptr_bad(int *p)
122 __noinline __weak int subprog_user_anon_mem(user_struct_t *t)
147 __noinline __weak int subprog_nonnull_ptr_good(int *p1 __arg_nonnull, int *p2 __arg_nonnull)
166 __weak int subprog_ctx_tag(void *ctx __arg_ctx)
171 __weak int raw_tp_canonical(struct bpf_raw_tracepoint_args *ctx __arg_ctx)
176 __weak int raw_tp_u64_array(u64 *ctx __arg_ctx)
204 __weak int tp_whatever(struct whatever *ctx __arg_ctx)
216 __weak int kprobe_subprog_pt_regs(struct pt_regs *ctx __arg_ctx)
221 __weak int kprobe_subprog_typedef(bpf_user_pt_regs_t *ctx __arg_ctx)
235 __weak in
[all...]
H A Dtest_fill_link_info.c8 extern bool CONFIG_X86_KERNEL_IBT __kconfig __weak;
H A Dverifier_global_ptr_args.c12 extern struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym __weak; variable
13 extern void bpf_task_release(struct task_struct *p) __ksym __weak; variable
15 __weak int subprog_trusted_task_nullable(struct task_struct *task __arg_trusted __arg_nullable)
22 __weak int subprog_trusted_task_nullable_extra_layer(struct task_struct *task __arg_trusted __arg_nullable)
59 __weak int subprog_trusted_task_nonnull(struct task_struct *task __arg_trusted)
107 __weak int subprog_nullable_task_flavor(
129 __weak int subprog_nonnull_task_flavor(struct task_struct___local *task __arg_trusted)
147 __weak int subprog_trusted_destroy(struct task_struct *task __arg_trusted)
162 __weak int subprog_trusted_acq_rel(struct task_struct *task __arg_trusted)
/linux-master/arch/arm/mach-omap2/
H A Dcommon.c22 int __weak omap_secure_ram_reserve_memblock(void)
/linux-master/tools/objtool/
H A Dweak.c18 int __weak orc_dump(const char *_objname)
23 int __weak orc_create(struct objtool_file *file)
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h12 struct bpf_dynptr *ptr__uninit) __ksym __weak; variable
20 struct bpf_dynptr *ptr__uninit) __ksym __weak; variable
29 void *buffer, __u32 buffer__szk) __ksym __weak; variable
38 void *buffer, __u32 buffer__szk) __ksym __weak; variable
40 extern int bpf_dynptr_adjust(const struct bpf_dynptr *ptr, __u32 start, __u32 end) __ksym __weak; variable
41 extern bool bpf_dynptr_is_null(const struct bpf_dynptr *ptr) __ksym __weak; variable
42 extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *ptr) __ksym __weak; variable
43 extern __u32 bpf_dynptr_size(const struct bpf_dynptr *ptr) __ksym __weak; variable
44 extern int bpf_dynptr_clone(const struct bpf_dynptr *ptr, struct bpf_dynptr *clone__init) __ksym __weak; variable
66 extern void *bpf_rdonly_cast(const void *obj, __u32 btf_id) __ksym __weak; variable
[all...]
/linux-master/arch/mips/loongson2ef/common/
H A Dpm.c59 void __weak setup_wakeup_events(void)
66 int __weak wakeup_loongson(void)
114 void __weak mach_suspend(void)
118 void __weak mach_resume(void)
/linux-master/tools/testing/radix-tree/
H A Dxarray.c26 int __weak main(void)
/linux-master/drivers/pci/msi/
H A Dlegacy.c10 int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc)
15 void __weak arch_teardown_msi_irq(unsigned int irq)
19 int __weak arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
40 void __weak arch_teardown_msi_irqs(struct pci_dev *dev)
/linux-master/tools/bpf/bpftool/
H A 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-master/kernel/bpf/
H A Dsysfs_btf.c12 extern char __weak __start_BTF[];
13 extern char __weak __stop_BTF[];

Completed in 969 milliseconds

1234567891011