/linux/kernel/bpf/ |
H A D | bpf_lsm.c | 32 #define LSM_HOOK(RET, DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME) 39 BTF_ID(func, bpf_lsm_vm_enough_memory) in BTF_SET_END() 40 BTF_ID(func, bpf_lsm_inode_need_killpriv) in BTF_SET_END() 41 BTF_ID(func, bpf_lsm_inode_getsecurity) in BTF_SET_END() 42 BTF_ID(func, bpf_lsm_inode_listsecurity) in BTF_SET_END() 43 BTF_ID(func, bpf_lsm_inode_copy_up_xattr) in BTF_SET_END() 44 BTF_ID(func, bpf_lsm_getselfattr) in BTF_SET_END() 45 BTF_ID(func, bpf_lsm_getprocattr) in BTF_SET_END() 46 BTF_ID(func, bpf_lsm_setprocattr) in BTF_SET_END() 48 BTF_ID(func, bpf_lsm_key_getsecurity) in BTF_SET_END() [all …]
|
H A D | cpumask.c | 459 BTF_ID(struct, bpf_cpumask) in BTF_ID() function 460 BTF_ID(func, bpf_cpumask_release_dtor) in BTF_ID()
|
H A D | crypto.c | 370 BTF_ID(struct, bpf_crypto_ctx) in BTF_ID() function 371 BTF_ID(func, bpf_crypto_ctx_release) in BTF_ID()
|
H A D | prog_iter.c | 82 BTF_ID(struct, bpf_prog)
|
H A D | link_iter.c | 82 BTF_ID(struct, bpf_link)
|
H A D | verifier.c | 5689 BTF_ID(struct, prog_test_ref_kfunc) in BTF_ID() function 5692 BTF_ID(struct, cgroup) in BTF_ID() 5695 BTF_ID(struct, bpf_cpumask) in BTF_ID() 5697 BTF_ID(struct, task_struct) in BTF_ID() 5699 BTF_ID(struct, bpf_crypto_ctx) in BTF_ID() 11623 BTF_ID(struct, bpf_dynptr) in BTF_ID() function 11624 BTF_ID(struct, bpf_list_head) in BTF_ID() 11625 BTF_ID(struct, bpf_list_node) in BTF_ID() 11626 BTF_ID(struct, bpf_rb_root) in BTF_ID() 11627 BTF_ID(struct, bpf_rb_node) in BTF_ID() [all …]
|
H A D | helpers.c | 3129 BTF_ID(struct, task_struct) 3130 BTF_ID(func, bpf_task_release_dtor) 3132 BTF_ID(struct, cgroup) 3133 BTF_ID(func, bpf_cgroup_release_dtor)
|
H A D | bpf_struct_ops.c | 79 BTF_ID(struct, module) 80 BTF_ID(struct, bpf_struct_ops_common_value)
|
H A D | btf.c | 6164 BTF_ID(struct, bpf_ctx_convert) in BTF_ID() function 8236 #define BTF_TRACING_TYPE(name, type) BTF_ID(struct, type) in BTF_ID_LIST_GLOBAL()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | resolve_btfids.c | 39 BTF_ID(typedef, S) 40 BTF_ID(typedef, T) 41 BTF_ID(typedef, U) 42 BTF_ID(struct, S) 43 BTF_ID(union, U) 44 BTF_ID(func, func) 49 BTF_ID(typedef, S) in BTF_ID() function 50 BTF_ID(typedef, T) in BTF_ID() 51 BTF_ID(typedef, U) in BTF_ID() 52 BTF_ID(struct, S) in BTF_ID() [all …]
|
/linux/tools/include/linux/ |
H A D | btf_ids.h | 58 #define BTF_ID(prefix, name) \ macro 95 BTF_ID(prefix, typename) 98 BTF_ID(prefix, typename) 161 #define BTF_ID(prefix, name) macro
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-btf.rst | 26 | **bpftool** **btf** { **show** | **list** } [**id** *BTF_ID*] 30 | *BTF_SRC* := { **id** *BTF_ID* | **prog** *PROG* | **map** *MAP* [{**key** | **value** | **kv** |… 37 bpftool btf { show | list } [id *BTF_ID*]
|
/linux/net/netfilter/ |
H A D | nf_conntrack_bpf.c | 232 BTF_ID(struct, nf_conn) in BTF_ID() function 233 BTF_ID(struct, nf_conn___init) in BTF_ID()
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 779 BTF_ID(struct, pt_regs) 929 BTF_ID(func, security_file_permission) in BTF_ID() function 930 BTF_ID(func, security_inode_getattr) in BTF_ID() 931 BTF_ID(func, security_file_open) in BTF_ID() 934 BTF_ID(func, security_path_truncate) in BTF_ID() 936 BTF_ID(func, vfs_truncate) in BTF_ID() 937 BTF_ID(func, vfs_fallocate) in BTF_ID() 938 BTF_ID(func, dentry_open) in BTF_ID() 939 BTF_ID(func, vfs_getattr) in BTF_ID() 940 BTF_ID(func, filp_close) in BTF_ID()
|
/linux/Documentation/bpf/ |
H A D | btf.rst | 847 The ``BTF_ID_LIST`` and ``BTF_ID`` macros define unsorted list of BTF ID values, 851 BTF_ID(type1, name1) 852 BTF_ID(type2, name2) 867 BTF_ID(struct, sk_buff) 869 BTF_ID(struct, task_struct) 875 BTF_ID(type1, name1) 876 BTF_ID(type2, name2)
|
H A D | bpf_design_QA.rst | 300 Q: Marking a function with BTF_ID makes that function an ABI? 304 The BTF_ID macro does not cause a function to become part of the ABI
|
/linux/net/bpf/ |
H A D | test_run.c | 1735 BTF_ID(struct, prog_test_ref_kfunc) in BTF_ID() function 1736 BTF_ID(func, bpf_kfunc_call_test_release_dtor) in BTF_ID() 1737 BTF_ID(struct, prog_test_member) in BTF_ID() 1738 BTF_ID(func, bpf_kfunc_call_memb_release_dtor) in BTF_ID()
|
/linux/tools/testing/selftests/bpf/test_kmods/ |
H A D | bpf_testmod.c | 629 BTF_ID(struct, bpf_testmod_ctx) 630 BTF_ID(func, bpf_testmod_ctx_release)
|
/linux/kernel/ |
H A D | kallsyms.c | 841 BTF_ID(struct, kallsym_iter) in BTF_ID() function
|
/linux/net/core/ |
H A D | xdp.c | 983 #define XDP_METADATA_KFUNC(name, _, str, __) BTF_ID(func, str) in BTF_ID_LIST()
|
H A D | filter.c | 11709 #define BTF_SOCK_TYPE(name, type) BTF_ID(struct, type) in BTF_ID_LIST_GLOBAL() 11863 BTF_ID(struct, socket) 11864 BTF_ID(struct, file)
|
/linux/net/netlink/ |
H A D | af_netlink.c | 2872 BTF_ID(struct, netlink_sock)
|
/linux/net/ipv6/ |
H A D | route.c | 6689 BTF_ID(struct, fib6_info)
|