Home
last modified time | relevance | path

Searched refs:meta (Results 1 – 15 of 15) sorted by relevance

/kernel/bpf/
Dlink_iter.c38 __bpf_md_ptr(struct bpf_iter_meta *, meta);
42 DEFINE_BPF_ITER_FUNC(bpf_link, struct bpf_iter_meta *meta, struct bpf_link *link) in DEFINE_BPF_ITER_FUNC() argument
47 struct bpf_iter_meta meta; in DEFINE_BPF_ITER_FUNC() local
51 ctx.meta = &meta; in DEFINE_BPF_ITER_FUNC()
53 meta.seq = seq; in DEFINE_BPF_ITER_FUNC()
54 prog = bpf_iter_get_info(&meta, in_stop); in DEFINE_BPF_ITER_FUNC()
Dprog_iter.c38 __bpf_md_ptr(struct bpf_iter_meta *, meta);
42 DEFINE_BPF_ITER_FUNC(bpf_prog, struct bpf_iter_meta *meta, struct bpf_prog *prog) in DEFINE_BPF_ITER_FUNC() argument
47 struct bpf_iter_meta meta; in DEFINE_BPF_ITER_FUNC() local
51 ctx.meta = &meta; in DEFINE_BPF_ITER_FUNC()
53 meta.seq = seq; in DEFINE_BPF_ITER_FUNC()
54 prog = bpf_iter_get_info(&meta, in_stop); in DEFINE_BPF_ITER_FUNC()
Dtask_iter.c190 __bpf_md_ptr(struct bpf_iter_meta *, meta);
194 DEFINE_BPF_ITER_FUNC(task, struct bpf_iter_meta *meta, struct task_struct *task) in DEFINE_BPF_ITER_FUNC() argument
199 struct bpf_iter_meta meta; in DEFINE_BPF_ITER_FUNC() local
203 meta.seq = seq; in DEFINE_BPF_ITER_FUNC()
204 prog = bpf_iter_get_info(&meta, in_stop); in DEFINE_BPF_ITER_FUNC()
208 ctx.meta = &meta; in DEFINE_BPF_ITER_FUNC()
362 __bpf_md_ptr(struct bpf_iter_meta *, meta);
368 DEFINE_BPF_ITER_FUNC(task_file, struct bpf_iter_meta *meta, in DEFINE_BPF_ITER_FUNC() argument
377 struct bpf_iter_meta meta; in DEFINE_BPF_ITER_FUNC() local
380 meta.seq = seq; in DEFINE_BPF_ITER_FUNC()
[all …]
Dmap_iter.c38 __bpf_md_ptr(struct bpf_iter_meta *, meta);
42 DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map) in DEFINE_BPF_ITER_FUNC() argument
47 struct bpf_iter_meta meta; in DEFINE_BPF_ITER_FUNC() local
51 ctx.meta = &meta; in DEFINE_BPF_ITER_FUNC()
53 meta.seq = seq; in DEFINE_BPF_ITER_FUNC()
54 prog = bpf_iter_get_info(&meta, in_stop); in DEFINE_BPF_ITER_FUNC()
165 DEFINE_BPF_ITER_FUNC(bpf_map_elem, struct bpf_iter_meta *meta,
Dcgroup_iter.c46 __bpf_md_ptr(struct bpf_iter_meta *, meta);
125 struct bpf_iter_meta meta; in __cgroup_iter_seq_show() local
133 ctx.meta = &meta; in __cgroup_iter_seq_show()
135 meta.seq = seq; in __cgroup_iter_seq_show()
136 prog = bpf_iter_get_info(&meta, in_stop); in __cgroup_iter_seq_show()
272 DEFINE_BPF_ITER_FUNC(cgroup, struct bpf_iter_meta *meta,
Dverifier.c3642 struct bpf_call_arg_meta *meta);
4127 const struct bpf_call_arg_meta *meta, in may_access_direct_pkt_data() argument
4151 if (meta) in may_access_direct_pkt_data()
4152 return meta->pkt_access; in may_access_direct_pkt_data()
5329 enum bpf_access_src type, struct bpf_call_arg_meta *meta) in check_stack_range_initialized() argument
5384 if (meta && meta->raw_mode) in check_stack_range_initialized()
5385 meta = NULL; in check_stack_range_initialized()
5391 if (meta && meta->raw_mode) { in check_stack_range_initialized()
5392 meta->access_size = access_size; in check_stack_range_initialized()
5393 meta->regno = regno; in check_stack_range_initialized()
[all …]
Dbpf_iter.c672 struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop) in bpf_iter_get_info() argument
678 seq = meta->seq; in bpf_iter_get_info()
689 meta->session_id = iter_priv->session_id; in bpf_iter_get_info()
690 meta->seq_num = iter_priv->seq_num; in bpf_iter_get_info()
Darraymap.c604 struct bpf_iter_meta meta; in __bpf_array_map_seq_show() local
610 meta.seq = seq; in __bpf_array_map_seq_show()
611 prog = bpf_iter_get_info(&meta, v == NULL); in __bpf_array_map_seq_show()
615 ctx.meta = &meta; in __bpf_array_map_seq_show()
Dhashtab.c2046 struct bpf_iter_meta meta; in __bpf_hash_map_seq_show() local
2051 meta.seq = seq; in __bpf_hash_map_seq_show()
2052 prog = bpf_iter_get_info(&meta, elem == NULL); in __bpf_hash_map_seq_show()
2054 ctx.meta = &meta; in __bpf_hash_map_seq_show()
Dcore.c2660 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, in bpf_event_output() argument
Dbtf.c6675 struct bpf_kfunc_arg_meta *meta) in btf_check_kfunc_arg_match() argument
6677 return btf_check_func_arg_match(env, btf, func_id, regs, true, meta, true); in btf_check_kfunc_arg_match()
/kernel/bpf/preload/iterators/
Diterators.bpf.c22 struct bpf_iter_meta *meta; member
54 struct bpf_iter_meta *meta; member
79 struct seq_file *seq = ctx->meta->seq; in dump_bpf_map()
80 __u64 seq_num = ctx->meta->seq_num; in dump_bpf_map()
96 struct seq_file *seq = ctx->meta->seq; in dump_bpf_prog()
97 __u64 seq_num = ctx->meta->seq_num; in dump_bpf_prog()
/kernel/trace/
Dtrace_syscalls.c273 struct syscall_metadata *meta = call->data; in syscall_enter_define_fields() local
278 for (i = 0; i < meta->nb_args; i++) { in syscall_enter_define_fields()
279 ret = trace_define_field(call, meta->types[i], in syscall_enter_define_fields()
280 meta->args[i], offset, in syscall_enter_define_fields()
511 struct syscall_metadata *meta; in init_ftrace_syscalls() local
528 meta = find_syscall_meta(addr); in init_ftrace_syscalls()
529 if (!meta) in init_ftrace_syscalls()
532 meta->syscall_nr = i; in init_ftrace_syscalls()
535 syscalls_metadata[i] = meta; in init_ftrace_syscalls()
537 ret = xa_store(&syscalls_metadata_sparse, i, meta, in init_ftrace_syscalls()
Dbpf_trace.c718 u64 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, in bpf_event_output() argument
732 .data = meta, in bpf_event_output()
/kernel/
Dkallsyms.c874 __bpf_md_ptr(struct bpf_iter_meta *, meta);
881 struct bpf_iter_meta meta; in ksym_prog_seq_show() local
884 meta.seq = m; in ksym_prog_seq_show()
885 prog = bpf_iter_get_info(&meta, in_stop); in ksym_prog_seq_show()
889 ctx.meta = &meta; in ksym_prog_seq_show()
928 DEFINE_BPF_ITER_FUNC(ksym, struct bpf_iter_meta *meta, struct kallsym_iter *ksym)