Home
last modified time | relevance | path

Searched refs:BTF_ID (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/kernel/bpf/
Dbpf_lsm.c33 #define LSM_HOOK(RET, DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME)
45 BTF_ID(func, bpf_lsm_sk_alloc_security) in BTF_SET_END()
46 BTF_ID(func, bpf_lsm_sk_free_security) in BTF_SET_END()
54 BTF_ID(func, bpf_lsm_sock_graft) in BTF_SET_END()
55 BTF_ID(func, bpf_lsm_inet_csk_clone) in BTF_SET_END()
56 BTF_ID(func, bpf_lsm_inet_conn_established) in BTF_SET_END()
66 BTF_ID(func, bpf_lsm_socket_post_create) in BTF_SET_END()
67 BTF_ID(func, bpf_lsm_socket_socketpair) in BTF_SET_END()
261 BTF_ID(func, bpf_lsm_bpf) in BTF_ID() function
262 BTF_ID(func, bpf_lsm_bpf_map) in BTF_ID()
[all …]
Dcpumask.c445 BTF_ID(struct, bpf_cpumask) in BTF_ID() function
446 BTF_ID(func, bpf_cpumask_release) in BTF_ID()
Dprog_iter.c82 BTF_ID(struct, bpf_prog)
Dlink_iter.c82 BTF_ID(struct, bpf_link)
Dverifier.c5072 BTF_ID(struct, prog_test_ref_kfunc) in BTF_ID() function
5073 BTF_ID(struct, cgroup) in BTF_ID()
5074 BTF_ID(struct, bpf_cpumask) in BTF_ID()
5075 BTF_ID(struct, task_struct) in BTF_ID()
10133 BTF_ID(struct, bpf_dynptr_kern) in BTF_ID() function
10134 BTF_ID(struct, bpf_list_head) in BTF_ID()
10135 BTF_ID(struct, bpf_list_node) in BTF_ID()
10136 BTF_ID(struct, bpf_rb_root) in BTF_ID()
10137 BTF_ID(struct, bpf_rb_node) in BTF_ID()
10272 BTF_ID(func, bpf_obj_new_impl) in BTF_ID() function
[all …]
Dhelpers.c2474 BTF_ID(struct, task_struct)
2475 BTF_ID(func, bpf_task_release)
2477 BTF_ID(struct, cgroup)
2478 BTF_ID(func, bpf_cgroup_release)
Dbtf.c5718 BTF_ID(struct, bpf_ctx_convert) in BTF_ID() function
7568 #define BTF_TRACING_TYPE(name, type) BTF_ID(struct, type) in BTF_ID_LIST_GLOBAL()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dresolve_btfids.c39 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-v6.6/tools/include/linux/
Dbtf_ids.h47 #define BTF_ID(prefix, name) \ macro
84 BTF_ID(prefix, typename)
87 BTF_ID(prefix, typename)
150 #define BTF_ID(prefix, name) macro
/Linux-v6.6/include/linux/
Dbtf_ids.h58 #define BTF_ID(prefix, name) \ macro
102 BTF_ID(prefix, typename)
105 BTF_ID(prefix, typename)
208 #define BTF_ID(prefix, name) macro
/Linux-v6.6/tools/bpf/resolve_btfids/
Dmain.c81 #define BTF_ID "__BTF_ID__" macro
164 return name && !strncmp(name, BTF_ID, sizeof(BTF_ID) - 1); in is_btf_id()
444 prefix = name + sizeof(BTF_ID) - 1; in symbols_collect()
/Linux-v6.6/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst26 | **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-v6.6/net/netfilter/
Dnf_conntrack_bpf.c190 BTF_ID(struct, nf_conn) in BTF_ID() function
191 BTF_ID(struct, nf_conn___init) in BTF_ID()
/Linux-v6.6/kernel/trace/
Dbpf_trace.c783 BTF_ID(struct, pt_regs)
932 BTF_ID(func, security_file_permission) in BTF_ID() function
933 BTF_ID(func, security_inode_getattr) in BTF_ID()
934 BTF_ID(func, security_file_open) in BTF_ID()
937 BTF_ID(func, security_path_truncate) in BTF_ID()
939 BTF_ID(func, vfs_truncate) in BTF_ID()
940 BTF_ID(func, vfs_fallocate) in BTF_ID()
941 BTF_ID(func, dentry_open) in BTF_ID()
942 BTF_ID(func, vfs_getattr) in BTF_ID()
943 BTF_ID(func, filp_close) in BTF_ID()
/Linux-v6.6/drivers/hid/bpf/
Dhid_bpf_jmp_table.c60 BTF_ID(func, hid_bpf_device_event) /* HID_BPF_PROG_TYPE_DEVICE_EVENT */ in BTF_ID() function
61 BTF_ID(func, hid_bpf_rdesc_fixup) /* HID_BPF_PROG_TYPE_RDESC_FIXUP */ in BTF_ID()
/Linux-v6.6/Documentation/bpf/
Dbtf.rst818 The ``BTF_ID_LIST`` and ``BTF_ID`` macros define unsorted list of BTF ID values,
822 BTF_ID(type1, name1)
823 BTF_ID(type2, name2)
838 BTF_ID(struct, sk_buff)
840 BTF_ID(struct, task_struct)
846 BTF_ID(type1, name1)
847 BTF_ID(type2, name2)
Dbpf_design_QA.rst300 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-v6.6/net/bpf/
Dtest_run.c1674 BTF_ID(struct, prog_test_ref_kfunc) in BTF_ID() function
1675 BTF_ID(func, bpf_kfunc_call_test_release) in BTF_ID()
1676 BTF_ID(struct, prog_test_member) in BTF_ID()
1677 BTF_ID(func, bpf_kfunc_call_memb_release) in BTF_ID()
/Linux-v6.6/net/core/
Dxdp.c755 #define XDP_METADATA_KFUNC(name, str) BTF_ID(func, str) in BTF_ID_LIST()
Dfilter.c11522 #define BTF_SOCK_TYPE(name, type) BTF_ID(struct, type) in BTF_ID_LIST_GLOBAL()
11676 BTF_ID(struct, socket)
11677 BTF_ID(struct, file)
/Linux-v6.6/kernel/
Dkallsyms.c892 BTF_ID(struct, kallsym_iter) in BTF_ID() function
/Linux-v6.6/net/netlink/
Daf_netlink.c2884 BTF_ID(struct, netlink_sock)
/Linux-v6.6/net/ipv6/
Droute.c6649 BTF_ID(struct, fib6_info)