/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_kfuncs.h | 12 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...] |
H A D | bpf_arena_common.h | 46 int node_id, __u64 flags) __ksym __weak; variable 47 void bpf_arena_free_pages(void *map, void __arena *ptr, __u32 page_cnt) __ksym __weak; variable
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | linked_vars1.c | 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 | test_ksyms_weak.c | 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 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 | 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 | linked_funcs2.c | 11 const volatile int my_tid __weak; variable 12 long syscall_id __weak; variable
|
H A D | linked_funcs1.c | 11 const volatile __u32 my_tid __weak; variable 12 long syscall_id __weak; variable
|
H A D | test_ksyms_module.c | 22 extern void bpf_testmod_invalid_mod_kfunc(void) __ksym __weak; variable
|
H A D | cpumask_common.h | 26 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 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
|
/linux-master/init/ |
H A D | version.c | 49 struct uts_namespace init_uts_ns __weak; variable in typeref:struct:init_uts_ns 50 const char linux_banner[] __weak; variable
|
/linux-master/tools/objtool/include/objtool/ |
H A D | objtool.h | 15 #define __weak __attribute__((weak)) macro
|
/linux-master/tools/include/linux/ |
H A D | compiler.h | 110 # define __weak __attribute__((weak)) macro
|
/linux-master/include/linux/ |
H A D | compiler_attributes.h | 403 #define __weak __attribute__((__weak__)) macro
|
/linux-master/tools/lib/bpf/ |
H A D | bpf_helpers.h | 53 #define __weak __attribute__((weak)) macro
|
H A D | bpf_core_read.h | 328 extern void *bpf_rdonly_cast(const void *obj, __u32 btf_id) __ksym __weak; variable
|
/linux-master/kernel/bpf/ |
H A D | helpers.c | 1677 const struct bpf_func_proto bpf_get_current_task_proto __weak; variable in typeref:struct:bpf_get_current_task_proto 1678 const struct bpf_func_proto bpf_get_current_task_btf_proto __weak; variable in typeref:struct:bpf_get_current_task_btf_proto 1679 const struct bpf_func_proto bpf_probe_read_user_proto __weak; variable in typeref:struct:bpf_probe_read_user_proto 1680 const struct bpf_func_proto bpf_probe_read_user_str_proto __weak; variable in typeref:struct:bpf_probe_read_user_str_proto 1681 const struct bpf_func_proto bpf_probe_read_kernel_proto __weak; variable in typeref:struct:bpf_probe_read_kernel_proto 1682 const struct bpf_func_proto bpf_probe_read_kernel_str_proto __weak; variable in typeref:struct:bpf_probe_read_kernel_str_proto 1683 const struct bpf_func_proto bpf_task_pt_regs_proto __weak; variable in typeref:struct:bpf_task_pt_regs_proto
|
H A D | core.c | 2831 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable in typeref:struct:bpf_map_lookup_elem_proto 2832 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable in typeref:struct:bpf_map_update_elem_proto 2833 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable in typeref:struct:bpf_map_delete_elem_proto 2834 const struct bpf_func_proto bpf_map_push_elem_proto __weak; variable in typeref:struct:bpf_map_push_elem_proto 2835 const struct bpf_func_proto bpf_map_pop_elem_proto __weak; variable in typeref:struct:bpf_map_pop_elem_proto 2836 const struct bpf_func_proto bpf_map_peek_elem_proto __weak; variable in typeref:struct:bpf_map_peek_elem_proto 2837 const struct bpf_func_proto bpf_map_lookup_percpu_elem_proto __weak; variable in typeref:struct:bpf_map_lookup_percpu_elem_proto 2838 const struct bpf_func_proto bpf_spin_lock_proto __weak; variable in typeref:struct:bpf_spin_lock_proto 2839 const struct bpf_func_proto bpf_spin_unlock_proto __weak; variable in typeref:struct:bpf_spin_unlock_proto 2840 const struct bpf_func_proto bpf_jiffies64_proto __weak; variable in typeref:struct:bpf_jiffies64_proto 2842 const struct bpf_func_proto bpf_get_prandom_u32_proto __weak; variable in typeref:struct:bpf_get_prandom_u32_proto 2843 const struct bpf_func_proto bpf_get_smp_processor_id_proto __weak; variable in typeref:struct:bpf_get_smp_processor_id_proto 2844 const struct bpf_func_proto bpf_get_numa_node_id_proto __weak; variable in typeref:struct:bpf_get_numa_node_id_proto 2845 const struct bpf_func_proto bpf_ktime_get_ns_proto __weak; variable in typeref:struct:bpf_ktime_get_ns_proto 2846 const struct bpf_func_proto bpf_ktime_get_boot_ns_proto __weak; variable in typeref:struct:bpf_ktime_get_boot_ns_proto 2847 const struct bpf_func_proto bpf_ktime_get_coarse_ns_proto __weak; variable in typeref:struct:bpf_ktime_get_coarse_ns_proto 2848 const struct bpf_func_proto bpf_ktime_get_tai_ns_proto __weak; variable in typeref:struct:bpf_ktime_get_tai_ns_proto 2850 const struct bpf_func_proto bpf_get_current_pid_tgid_proto __weak; variable in typeref:struct:bpf_get_current_pid_tgid_proto 2851 const struct bpf_func_proto bpf_get_current_uid_gid_proto __weak; variable in typeref:struct:bpf_get_current_uid_gid_proto 2852 const struct bpf_func_proto bpf_get_current_comm_proto __weak; variable in typeref:struct:bpf_get_current_comm_proto 2853 const struct bpf_func_proto bpf_get_current_cgroup_id_proto __weak; variable in typeref:struct:bpf_get_current_cgroup_id_proto 2854 const struct bpf_func_proto bpf_get_current_ancestor_cgroup_id_proto __weak; variable in typeref:struct:bpf_get_current_ancestor_cgroup_id_proto 2855 const struct bpf_func_proto bpf_get_local_storage_proto __weak; variable in typeref:struct:bpf_get_local_storage_proto 2856 const struct bpf_func_proto bpf_get_ns_current_pid_tgid_proto __weak; variable in typeref:struct:bpf_get_ns_current_pid_tgid_proto 2857 const struct bpf_func_proto bpf_snprintf_btf_proto __weak; variable in typeref:struct:bpf_snprintf_btf_proto 2858 const struct bpf_func_proto bpf_seq_printf_btf_proto __weak; variable in typeref:struct:bpf_seq_printf_btf_proto 2859 const struct bpf_func_proto bpf_set_retval_proto __weak; variable in typeref:struct:bpf_set_retval_proto 2860 const struct bpf_func_proto bpf_get_retval_proto __weak; variable in typeref:struct:bpf_get_retval_proto [all...] |
/linux-master/net/core/ |
H A D | filter.c | 7869 const struct bpf_func_proto bpf_event_output_data_proto __weak; variable in typeref:struct:bpf_event_output_data_proto 7870 const struct bpf_func_proto bpf_sk_storage_get_cg_sock_proto __weak; variable in typeref:struct:bpf_sk_storage_get_cg_sock_proto 8013 const struct bpf_func_proto bpf_sk_storage_get_proto __weak; variable in typeref:struct:bpf_sk_storage_get_proto 8014 const struct bpf_func_proto bpf_sk_storage_delete_proto __weak; variable in typeref:struct:bpf_sk_storage_delete_proto 8272 const struct bpf_func_proto bpf_sock_map_update_proto __weak; variable in typeref:struct:bpf_sock_map_update_proto 8273 const struct bpf_func_proto bpf_sock_hash_update_proto __weak; variable in typeref:struct:bpf_sock_hash_update_proto 8320 const struct bpf_func_proto bpf_msg_redirect_map_proto __weak; variable in typeref:struct:bpf_msg_redirect_map_proto 8321 const struct bpf_func_proto bpf_msg_redirect_hash_proto __weak; variable in typeref:struct:bpf_msg_redirect_hash_proto 8362 const struct bpf_func_proto bpf_sk_redirect_map_proto __weak; variable in typeref:struct:bpf_sk_redirect_map_proto 8363 const struct bpf_func_proto bpf_sk_redirect_hash_proto __weak; variable in typeref:struct:bpf_sk_redirect_hash_proto [all...] |