Home
last modified time | relevance | path

Searched refs:arg_info (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/bpf/
H A Dbpf_struct_ops.c175 struct bpf_struct_ops_arg_info *arg_info) in prepare_arg_info() argument
283 arg_info->info = info_buf; in prepare_arg_info()
284 arg_info->cnt = info_cnt; in prepare_arg_info()
300 struct bpf_struct_ops_arg_info *arg_info; in bpf_struct_ops_desc_release() local
303 arg_info = st_ops_desc->arg_info; in bpf_struct_ops_desc_release()
305 kfree(arg_info[i].info); in bpf_struct_ops_desc_release()
307 kfree(arg_info); in bpf_struct_ops_desc_release()
336 struct bpf_struct_ops_arg_info *arg_info; in bpf_struct_ops_desc_init() local
381 arg_info = kcalloc(btf_type_vlen(t), sizeof(*arg_info), in bpf_struct_ops_desc_init()
383 if (!arg_info) in bpf_struct_ops_desc_init()
[all …]
H A Dverifier.c23464 for (i = 0; i < st_ops_desc->arg_info[member_idx].cnt; i++) { in check_struct_ops_btf_id()
23465 if (st_ops_desc->arg_info[member_idx].info->refcounted) { in check_struct_ops_btf_id()
23488 return bpf_prog_ctx_arg_info_init(prog, st_ops_desc->arg_info[member_idx].info, in check_struct_ops_btf_id()
23489 st_ops_desc->arg_info[member_idx].cnt); in check_struct_ops_btf_id()
/linux/include/linux/
H A Dbpf.h1956 struct bpf_struct_ops_arg_info *arg_info; member