Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Dtask_iter.c322 .ctx_arg_info = {
339 .ctx_arg_info = {
352 task_reg_info.ctx_arg_info[0].btf_id = btf_task_file_ids[0]; in task_iter_init()
357 task_file_reg_info.ctx_arg_info[0].btf_id = btf_task_file_ids[0]; in task_iter_init()
358 task_file_reg_info.ctx_arg_info[1].btf_id = btf_task_file_ids[1]; in task_iter_init()
Dmap_iter.c94 .ctx_arg_info = {
175 .ctx_arg_info = {
187 bpf_map_reg_info.ctx_arg_info[0].btf_id = *btf_bpf_map_id; in bpf_map_iter_init()
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()
Dbpf_iter.c343 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
Dbtf.c4526 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
4529 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
4530 flag = type_flag(ctx_arg_info->reg_type); in btf_ctx_access()
4531 if (ctx_arg_info->offset == off && type == PTR_TO_BUF && in btf_ctx_access()
4533 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
4550 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
4552 if (ctx_arg_info->offset == off) { in btf_ctx_access()
4553 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
4554 info->btf_id = ctx_arg_info->btf_id; in btf_ctx_access()
/kernel/linux/linux-5.10/net/core/
Dbpf_sk_storage.c857 .ctx_arg_info = {
868 bpf_sk_storage_map_reg_info.ctx_arg_info[0].btf_id = in bpf_sk_storage_map_iter_init()
Dsock_map.c1609 .ctx_arg_info = {
1619 sock_map_iter_reg.ctx_arg_info[1].btf_id = in bpf_sockmap_iter_init()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h851 const struct bpf_ctx_arg_aux *ctx_arg_info; member
1420 struct bpf_ctx_arg_aux ctx_arg_info[BPF_ITER_CTX_ARG_MAX]; member
/kernel/linux/linux-5.10/net/netlink/
Daf_netlink.c2859 .ctx_arg_info = {
2868 netlink_reg_info.ctx_arg_info[0].btf_id = *btf_netlink_sock_id; in bpf_iter_register()
/kernel/linux/linux-5.10/net/ipv4/
Dudp.c3240 .ctx_arg_info = {
3249 udp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UDP]; in bpf_iter_register()
Dtcp_ipv4.c3004 .ctx_arg_info = {
3013 tcp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON]; in bpf_iter_register()
/kernel/linux/linux-5.10/net/ipv6/
Droute.c6489 .ctx_arg_info = {
6498 ipv6_route_reg_info.ctx_arg_info[0].btf_id = *btf_fib6_info_id; in bpf_iter_register()