Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Dtask_iter.c725 .ctx_arg_info = {
746 .ctx_arg_info = {
769 .ctx_arg_info = {
849 task_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
854 task_file_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
855 task_file_reg_info.ctx_arg_info[1].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_FILE]; in task_iter_init()
860 task_vma_reg_info.ctx_arg_info[0].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_TASK]; in task_iter_init()
861 task_vma_reg_info.ctx_arg_info[1].btf_id = btf_tracing_ids[BTF_TRACING_TYPE_VMA]; in task_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()
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()
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()
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()
Dbpf_iter.c366 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
Dbtf.c6029 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
6032 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
6033 flag = type_flag(ctx_arg_info->reg_type); in btf_ctx_access()
6034 if (ctx_arg_info->offset == off && type == PTR_TO_BUF && in btf_ctx_access()
6036 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
6053 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access() local
6055 if (ctx_arg_info->offset == off) { in btf_ctx_access()
6056 if (!ctx_arg_info->btf_id) { in btf_ctx_access()
6061 info->reg_type = ctx_arg_info->reg_type; in btf_ctx_access()
6063 info->btf_id = ctx_arg_info->btf_id; in btf_ctx_access()
/linux-6.6.21/kernel/
Dkallsyms.c884 .ctx_arg_info = {
896 ksym_iter_reg_info.ctx_arg_info[0].btf_id = *btf_ksym_iter_id; in BTF_ID()
/linux-6.6.21/net/core/
Dbpf_sk_storage.c915 .ctx_arg_info = {
926 bpf_sk_storage_map_reg_info.ctx_arg_info[0].btf_id = in bpf_sk_storage_map_iter_init()
Dsock_map.c1703 .ctx_arg_info = {
1713 sock_map_iter_reg.ctx_arg_info[1].btf_id = in bpf_sockmap_iter_init()
/linux-6.6.21/Documentation/bpf/
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-6.6.21/include/linux/
Dbpf.h1405 const struct bpf_ctx_arg_aux *ctx_arg_info; member
2262 struct bpf_ctx_arg_aux ctx_arg_info[BPF_ITER_CTX_ARG_MAX]; member
/linux-6.6.21/net/netlink/
Daf_netlink.c2896 .ctx_arg_info = {
2905 netlink_reg_info.ctx_arg_info[0].btf_id = *btf_netlink_sock_id; in bpf_iter_register()
/linux-6.6.21/net/ipv4/
Dtcp_ipv4.c3368 .ctx_arg_info = {
3378 tcp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON]; in bpf_iter_register()
Dudp.c3592 .ctx_arg_info = {
3601 udp_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UDP]; in bpf_iter_register()
/linux-6.6.21/net/unix/
Daf_unix.c3629 .ctx_arg_info = {
3639 unix_reg_info.ctx_arg_info[0].btf_id = btf_sock_ids[BTF_SOCK_TYPE_UNIX]; in bpf_iter_register()
/linux-6.6.21/net/ipv6/
Droute.c6661 .ctx_arg_info = {
6670 ipv6_route_reg_info.ctx_arg_info[0].btf_id = *btf_fib6_info_id; in bpf_iter_register()