Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A 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()
H A 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()
H A 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()
H A Dtask_iter.c696 .ctx_arg_info = {
717 .ctx_arg_info = {
740 .ctx_arg_info = {
1055 task_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
1060 task_file_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
1061 task_file_reg_info.ctx_arg_info[1].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_FILE]; in task_iter_init()
1066 task_vma_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
1067 task_vma_reg_info.ctx_arg_info[1].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_VMA]; in task_iter_init()
H A 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()
H A Dbpf_iter.c365 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
H A Dbtf.c6650 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
6653 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
6654 flag = type_flag(ctx_arg_info->reg_type); in btf_ctx_access()
6655 if (ctx_arg_info->offset == off && type == PTR_TO_BUF && in btf_ctx_access()
6657 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
6674 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
6676 if (ctx_arg_info->offset == off) { in btf_ctx_access()
6677 if (!ctx_arg_info->btf_id) { in btf_ctx_access()
6682 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
6683 info->btf = ctx_arg_info->btf ? : btf_vmlinux; in btf_ctx_access()
[all …]
H A Dverifier.c22051 prog->aux->ctx_arg_info = in check_struct_ops_btf_id()
/linux/net/bpf/
H A 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/kernel/
H A Dkallsyms.c833 .ctx_arg_info = {
845 ksym_iter_reg_info.ctx_arg_info[0].btf_id = *btf_ksym_iter_id; in BTF_ID()
/linux/Documentation/bpf/
H A 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/net/core/
H A Dsock_map.c1940 .ctx_arg_info = {
1950 sock_map_iter_reg.ctx_arg_info[1].btf_id = in bpf_sockmap_iter_init()
/linux/include/linux/
H A Dbpf.h1510 const struct bpf_ctx_arg_aux *ctx_arg_info; member
2513 struct bpf_ctx_arg_aux ctx_arg_info[BPF_ITER_CTX_ARG_MAX]; member
/linux/net/netlink/
H A Daf_netlink.c2893 .ctx_arg_info = {
2902 netlink_reg_info.ctx_arg_info[0].btf_id = *btf_netlink_sock_id; in bpf_iter_register()
/linux/net/ipv4/
H A Dudp.c3818 .ctx_arg_info = {
3827 udp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UDP]; in bpf_iter_register()
H A Dtcp_ipv4.c3624 .ctx_arg_info = {
3634 tcp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON];
/linux/net/unix/
H A Daf_unix.c3775 .ctx_arg_info = {
3785 unix_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UNIX]; in bpf_iter_register()
/linux/net/ipv6/
H A Droute.c6678 .ctx_arg_info = {
6687 ipv6_route_reg_info.ctx_arg_info[0].btf_id = *btf_fib6_info_id; in bpf_iter_register()