Home
last modified time | relevance | path

Searched refs:st_ops (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dbpf_struct_ops.c35 const struct bpf_struct_ops *st_ops; member
117 struct bpf_struct_ops *st_ops; in bpf_struct_ops_init() local
136 st_ops = bpf_struct_ops[i]; in bpf_struct_ops_init()
138 if (strlen(st_ops->name) + VALUE_PREFIX_LEN >= in bpf_struct_ops_init()
141 st_ops->name); in bpf_struct_ops_init()
144 sprintf(value_name, "%s%s", VALUE_PREFIX, st_ops->name); in bpf_struct_ops_init()
154 type_id = btf_find_by_name_kind(btf, st_ops->name, in bpf_struct_ops_init()
158 st_ops->name); in bpf_struct_ops_init()
164 btf_type_vlen(t), st_ops->name); in bpf_struct_ops_init()
174 st_ops->name); in bpf_struct_ops_init()
[all …]
Dverifier.c19735 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id() local
19747 st_ops = bpf_struct_ops_find(btf_id); in check_struct_ops_btf_id()
19748 if (!st_ops) { in check_struct_ops_btf_id()
19754 t = st_ops->type; in check_struct_ops_btf_id()
19758 member_idx, st_ops->name); in check_struct_ops_btf_id()
19768 mname, member_idx, st_ops->name); in check_struct_ops_btf_id()
19772 if (st_ops->check_member) { in check_struct_ops_btf_id()
19773 int err = st_ops->check_member(t, member, prog); in check_struct_ops_btf_id()
19777 mname, st_ops->name); in check_struct_ops_btf_id()
19784 env->ops = st_ops->verifier_ops; in check_struct_ops_btf_id()