Home
last modified time | relevance | path

Searched refs:ctx_arg_info (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/kernel/bpf/
Dprog_iter.c94 .ctx_arg_info = {
103 bpf_prog_reg_info.ctx_arg_info[0].btf_id = *btf_bpf_prog_id; in bpf_prog_iter_init()
Dlink_iter.c94 .ctx_arg_info = {
103 bpf_link_reg_info.ctx_arg_info[0].btf_id = *btf_bpf_link_id; in bpf_link_iter_init()
Dmap_iter.c93 .ctx_arg_info = {
174 .ctx_arg_info = {
186 bpf_map_reg_info.ctx_arg_info[0].btf_id = *btf_bpf_map_id; in bpf_map_iter_init()
Dtask_iter.c700 .ctx_arg_info = {
721 .ctx_arg_info = {
744 .ctx_arg_info = {
1059 task_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
1064 task_file_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
1065 task_file_reg_info.ctx_arg_info[1].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_FILE]; in task_iter_init()
1070 task_vma_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
1071 task_vma_reg_info.ctx_arg_info[1].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_VMA]; in task_iter_init()
Dcgroup_iter.c283 .ctx_arg_info = {
292 bpf_cgroup_reg_info.ctx_arg_info[0].btf_id = bpf_cgroup_btf_id[0]; in bpf_cgroup_iter_init()
Dbpf_iter.c365 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
Dbtf.c6524 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
6527 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
6528 flag = type_flag(ctx_arg_info->reg_type); in btf_ctx_access()
6529 if (ctx_arg_info->offset == off && type == PTR_TO_BUF && in btf_ctx_access()
6531 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
6548 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
6550 if (ctx_arg_info->offset == off) { in btf_ctx_access()
6551 if (!ctx_arg_info->btf_id) { in btf_ctx_access()
6556 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
6557 info->btf = ctx_arg_info->btf ? : btf_vmlinux; in btf_ctx_access()
[all …]
Dverifier.c21813 prog->aux->ctx_arg_info = in check_struct_ops_btf_id()
/linux-6.12.1/net/bpf/
Dbpf_dummy_struct_ops.c87 if (aux->ctx_arg_info[i].offset == offset) in find_ctx_arg_info()
88 return &aux->ctx_arg_info[i]; in find_ctx_arg_info()
/linux-6.12.1/kernel/
Dkallsyms.c833 .ctx_arg_info = {
845 ksym_iter_reg_info.ctx_arg_info[0].btf_id = *btf_ksym_iter_id; in BTF_ID()
/linux-6.12.1/net/core/
Dbpf_sk_storage.c911 .ctx_arg_info = {
922 bpf_sk_storage_map_reg_info.ctx_arg_info[0].btf_id = in bpf_sk_storage_map_iter_init()
Dsock_map.c1940 .ctx_arg_info = {
1950 sock_map_iter_reg.ctx_arg_info[1].btf_id = in bpf_sockmap_iter_init()
/linux-6.12.1/Documentation/bpf/
Dbpf_iterators.rst206 struct bpf_ctx_arg_aux ctx_arg_info[BPF_ITER_CTX_ARG_MAX];
232 * - ctx_arg_info_size and ctx_arg_info
/linux-6.12.1/include/linux/
Dbpf.h1478 const struct bpf_ctx_arg_aux *ctx_arg_info; member
2466 struct bpf_ctx_arg_aux ctx_arg_info[BPF_ITER_CTX_ARG_MAX]; member
/linux-6.12.1/net/netlink/
Daf_netlink.c2887 .ctx_arg_info = {
2896 netlink_reg_info.ctx_arg_info[0].btf_id = *btf_netlink_sock_id; in bpf_iter_register()
/linux-6.12.1/net/ipv4/
Dudp.c3631 .ctx_arg_info = {
3640 udp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UDP]; in bpf_iter_register()
Dtcp_ipv4.c3621 .ctx_arg_info = {
3631 tcp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON];
/linux-6.12.1/net/unix/
Daf_unix.c3774 .ctx_arg_info = {
3784 unix_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UNIX]; in bpf_iter_register()
/linux-6.12.1/net/ipv6/
Droute.c6663 .ctx_arg_info = {
6672 ipv6_route_reg_info.ctx_arg_info[0].btf_id = *btf_fib6_info_id; in bpf_iter_register()