Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/bpf/
Dtask_iter.c538 .ctx_arg_info = {
556 .ctx_arg_info = {
576 .ctx_arg_info = {
654 task_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
659 task_file_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
660 task_file_reg_info.ctx_arg_info[1].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_FILE]; in task_iter_init()
665 task_vma_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
666 task_vma_reg_info.ctx_arg_info[1].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_VMA]; 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()
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()
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.c357 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
Dbtf.c5321 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
5324 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
5325 flag = type_flag(ctx_arg_info->reg_type); in btf_ctx_access()
5326 if (ctx_arg_info->offset == off && type == PTR_TO_BUF && in btf_ctx_access()
5328 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
5345 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
5347 if (ctx_arg_info->offset == off) { in btf_ctx_access()
5348 if (!ctx_arg_info->btf_id) { in btf_ctx_access()
5353 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
5355 info->btf_id = ctx_arg_info->btf_id; in btf_ctx_access()
/linux-5.19.10/net/core/
Dbpf_sk_storage.c947 .ctx_arg_info = {
958 bpf_sk_storage_map_reg_info.ctx_arg_info[0].btf_id = in bpf_sk_storage_map_iter_init()
Dsock_map.c1649 .ctx_arg_info = {
1659 sock_map_iter_reg.ctx_arg_info[1].btf_id = in bpf_sockmap_iter_init()
/linux-5.19.10/include/linux/
Dbpf.h1028 const struct bpf_ctx_arg_aux *ctx_arg_info; member
1634 struct bpf_ctx_arg_aux ctx_arg_info[BPF_ITER_CTX_ARG_MAX]; member
/linux-5.19.10/net/netlink/
Daf_netlink.c2853 .ctx_arg_info = {
2862 netlink_reg_info.ctx_arg_info[0].btf_id = *btf_netlink_sock_id; in bpf_iter_register()
/linux-5.19.10/net/ipv4/
Dtcp_ipv4.c3244 .ctx_arg_info = {
3254 tcp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON]; in bpf_iter_register()
Dudp.c3327 .ctx_arg_info = {
3336 udp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UDP]; in bpf_iter_register()
/linux-5.19.10/net/unix/
Daf_unix.c3652 .ctx_arg_info = {
3662 unix_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UNIX]; in bpf_iter_register()
/linux-5.19.10/net/ipv6/
Droute.c6647 .ctx_arg_info = {
6656 ipv6_route_reg_info.ctx_arg_info[0].btf_id = *btf_fib6_info_id; in bpf_iter_register()