/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | linked_funcs2.c | 11 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 D | linked_maps1.c | 38 } map_weak __weak SEC(".maps");
|
H A D | linked_maps2.c | 32 } map_weak __weak SEC(".maps");
|
H A D | linked_vars1.c | 10 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 D | linked_vars2.c | 17 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 D | lsm_cgroup.c | 10 extern bool CONFIG_SECURITY_SELINUX __kconfig __weak; 11 extern bool CONFIG_SECURITY_SMACK __kconfig __weak; 12 extern bool CONFIG_SECURITY_APPARMOR __kconfig __weak;
|
H A D | profiler.inc.h | 247 extern bool CONFIG_CGROUP_PIDS __kconfig __weak;
|
H A D | read_bpf_task_storage_busy.c | 7 extern bool CONFIG_PREEMPT __kconfig __weak;
|
H A D | task_kfunc_success.c | 20 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym __weak; variable 22 struct task_struct *bpf_task_acquire___one(struct task_struct *task) __ksym __weak; variable 24 struct task_struct *bpf_task_acquire___two(struct task_struct *p, void *ctx) __ksym __weak; variable 26 struct task_struct *bpf_task_acquire___three(void *ctx) __ksym __weak; variable 28 void invalid_kfunc(void) __ksym __weak; variable 29 void bpf_testmod_test_mod_kfunc(int i) __ksym __weak; variable
|
H A D | task_storage_nodeadlock.c | 13 extern bool CONFIG_PREEMPT __kconfig __weak;
|
H A D | test_core_extern.c | 14 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 D | test_fill_link_info.c | 8 extern bool CONFIG_X86_KERNEL_IBT __kconfig __weak;
|
H A D | test_global_func_ctx_args.c | 17 __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 D | test_ksyms.c | 18 extern const void bpf_link_fops1 __ksym __weak;
|
H A D | test_ksyms_module.c | 22 extern void bpf_testmod_invalid_mod_kfunc(void) __ksym __weak; variable 31 * marked as __weak, libbpf and gen_loader don't error out if BTF ID
|
H A D | test_ksyms_weak.c | 21 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 D | test_log_fixup.c | 64 extern int bpf_nonexistent_kfunc(void) __ksym __weak; variable
|
H A D | test_subskeleton_lib.c | 21 __weak int var5 SEC(".data");
|
H A D | trigger_bench.c | 59 extern int bpf_modify_return_test_tp(int nonce) __ksym __weak; variable
|
H A D | verifier_global_ptr_args.c | 12 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)
|
H A D | verifier_global_subprogs.c | 110 __weak int subprog_nullable_ptr_bad(int *p) 129 __noinline __weak int subprog_user_anon_mem(user_struct_t *t) 154 __noinline __weak int subprog_nonnull_ptr_good(int *p1 __arg_nonnull, int *p2 __arg_nonnull) 173 __weak int subprog_ctx_tag(void *ctx __arg_ctx) 178 __weak int raw_tp_canonical(struct bpf_raw_tracepoint_args *ctx __arg_ctx) 183 __weak int raw_tp_u64_array(u64 *ctx __arg_ctx) 211 __weak int tp_whatever(struct whatever *ctx __arg_ctx) 223 __weak int kprobe_subprog_pt_regs(struct pt_regs *ctx __arg_ctx) 228 __weak int kprobe_subprog_typedef(bpf_user_pt_regs_t *ctx __arg_ctx) 242 __weak in [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 615 extern void test_##name(void) __weak; \ 616 extern void serial_test_##name(void) __weak;
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | get-reg-list.c | 84 bool __weak check_supported_reg(struct kvm_vcpu *vcpu, __u64 reg) 89 bool __weak filter_reg(__u64 reg) 104 void __weak print_reg(const char *prefix, __u64 id) 109 bool __weak check_reject_set(int err) 114 void __weak finalize_vcpu(struct kvm_vcpu *vcpu, struct vcpu_reg_list *c)
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 258 __weak void vm_vaddr_populate_bitmap(struct kvm_vm *vm) 531 __weak struct kvm_vcpu *vm_arch_vcpu_recreate(struct kvm_vm *vm, 656 __weak void vcpu_arch_free(struct kvm_vcpu *vcpu) 2154 unsigned long __weak vm_compute_max_gfn(struct kvm_vm *vm) 2309 __weak void kvm_arch_vm_post_create(struct kvm_vm *vm) 2313 __weak void kvm_selftest_arch_init(void)
|
H A D | memstress.c | 251 uint64_t __weak memstress_nested_pages(int nr_vcpus) 256 void __weak memstress_setup_nested(struct kvm_vm *vm, int nr_vcpus, struct kvm_vcpu **vcpus)
|