/kernel/bpf/ |
D | link_iter.c | 38 __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()
|
D | prog_iter.c | 38 __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()
|
D | task_iter.c | 190 __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 …]
|
D | map_iter.c | 38 __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,
|
D | cgroup_iter.c | 46 __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,
|
D | verifier.c | 3642 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 …]
|
D | bpf_iter.c | 672 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()
|
D | arraymap.c | 604 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()
|
D | hashtab.c | 2046 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()
|
D | core.c | 2660 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, in bpf_event_output() argument
|
D | btf.c | 6675 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/ |
D | iterators.bpf.c | 22 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/ |
D | trace_syscalls.c | 273 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()
|
D | bpf_trace.c | 718 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/ |
D | kallsyms.c | 874 __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)
|