Home
last modified time | relevance | path

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

/linux/kernel/bpf/
A Dtask_iter.c542 .ctx_arg_info = {
560 .ctx_arg_info = {
580 .ctx_arg_info = {
593 task_reg_info.ctx_arg_info[0].btf_id = btf_task_struct_ids[0]; in task_iter_init()
598 task_file_reg_info.ctx_arg_info[0].btf_id = btf_task_struct_ids[0]; in task_iter_init()
599 task_file_reg_info.ctx_arg_info[1].btf_id = btf_task_file_ids[0]; in task_iter_init()
604 task_vma_reg_info.ctx_arg_info[0].btf_id = btf_task_struct_ids[0]; in task_iter_init()
605 task_vma_reg_info.ctx_arg_info[1].btf_id = btf_task_file_ids[1]; in task_iter_init()
A 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()
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()
A Dbpf_iter.c357 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
A Dbtf.c4931 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
4933 if (ctx_arg_info->offset == off && in btf_ctx_access()
4934 (ctx_arg_info->reg_type == PTR_TO_RDONLY_BUF_OR_NULL || in btf_ctx_access()
4935 ctx_arg_info->reg_type == PTR_TO_RDWR_BUF_OR_NULL)) { in btf_ctx_access()
4936 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
4953 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
4955 if (ctx_arg_info->offset == off) { in btf_ctx_access()
4956 if (!ctx_arg_info->btf_id) { in btf_ctx_access()
4961 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
4963 info->btf_id = ctx_arg_info->btf_id; in btf_ctx_access()
/linux/net/core/
A Dbpf_sk_storage.c928 .ctx_arg_info = {
939 bpf_sk_storage_map_reg_info.ctx_arg_info[0].btf_id = in bpf_sk_storage_map_iter_init()
A Dsock_map.c1565 .ctx_arg_info = {
1575 sock_map_iter_reg.ctx_arg_info[1].btf_id = in bpf_sockmap_iter_init()
/linux/include/linux/
A Dbpf.h867 const struct bpf_ctx_arg_aux *ctx_arg_info; member
1532 struct bpf_ctx_arg_aux ctx_arg_info[BPF_ITER_CTX_ARG_MAX]; member
/linux/net/netlink/
A Daf_netlink.c2848 .ctx_arg_info = {
2857 netlink_reg_info.ctx_arg_info[0].btf_id = *btf_netlink_sock_id; in bpf_iter_register()
/linux/net/unix/
A Daf_unix.c3371 .ctx_arg_info = {
3380 unix_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UNIX]; in bpf_iter_register()
/linux/net/ipv4/
A Dtcp_ipv4.c3301 .ctx_arg_info = {
3311 tcp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON]; in bpf_iter_register()
A Dudp.c3309 .ctx_arg_info = {
3318 udp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UDP]; in bpf_iter_register()
/linux/net/ipv6/
A Droute.c6653 .ctx_arg_info = {
6662 ipv6_route_reg_info.ctx_arg_info[0].btf_id = *btf_fib6_info_id; in bpf_iter_register()

Completed in 74 milliseconds