Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/bpf/
H A 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()
H 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()
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 Dbpf_iter.c343 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
H A Dbtf.c4526 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
4528 if (ctx_arg_info->offset == off && in btf_ctx_access()
4529 (ctx_arg_info->reg_type == PTR_TO_RDONLY_BUF_OR_NULL || in btf_ctx_access()
4530 ctx_arg_info->reg_type == PTR_TO_RDWR_BUF_OR_NULL)) { in btf_ctx_access()
4531 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
4548 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
4550 if (ctx_arg_info->offset == off) { in btf_ctx_access()
4551 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
4552 info->btf_id = ctx_arg_info->btf_id; in btf_ctx_access()
/OK3568_Linux_fs/kernel/net/core/
H A Dbpf_sk_storage.c863 .ctx_arg_info = {
874 bpf_sk_storage_map_reg_info.ctx_arg_info[0].btf_id = in bpf_sk_storage_map_iter_init()
H A Dsock_map.c1627 .ctx_arg_info = {
1637 sock_map_iter_reg.ctx_arg_info[1].btf_id = in bpf_sockmap_iter_init()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf.h806 const struct bpf_ctx_arg_aux *ctx_arg_info; member
1355 struct bpf_ctx_arg_aux ctx_arg_info[BPF_ITER_CTX_ARG_MAX]; member
/OK3568_Linux_fs/kernel/net/netlink/
H A Daf_netlink.c2867 .ctx_arg_info = {
2876 netlink_reg_info.ctx_arg_info[0].btf_id = *btf_netlink_sock_id; in bpf_iter_register()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp_ipv4.c3012 .ctx_arg_info = {
3021 tcp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON]; in bpf_iter_register()
H A Dudp.c3248 .ctx_arg_info = {
3257 udp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UDP]; in bpf_iter_register()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Droute.c6460 .ctx_arg_info = {
6469 ipv6_route_reg_info.ctx_arg_info[0].btf_id = *btf_fib6_info_id; in bpf_iter_register()