Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/bpf/
A Dbpf_struct_ops.c132 st_ops->name); in bpf_struct_ops_init()
149 st_ops->name); in bpf_struct_ops_init()
165 st_ops->name); in bpf_struct_ops_init()
171 mname, st_ops->name); in bpf_struct_ops_init()
183 mname, st_ops->name); in bpf_struct_ops_init()
191 st_ops->name); in bpf_struct_ops_init()
194 st_ops->type = t; in bpf_struct_ops_init()
356 const struct bpf_struct_ops *st_ops = st_map->st_ops; in bpf_struct_ops_map_update_elem() local
605 if (!st_ops) in bpf_struct_ops_map_alloc()
612 t = st_ops->type; in bpf_struct_ops_map_alloc()
[all …]
A Dverifier.c17186 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id() local
17198 st_ops = bpf_struct_ops_find(btf_id); in check_struct_ops_btf_id()
17199 if (!st_ops) { in check_struct_ops_btf_id()
17205 t = st_ops->type; in check_struct_ops_btf_id()
17209 member_idx, st_ops->name); in check_struct_ops_btf_id()
17219 mname, member_idx, st_ops->name); in check_struct_ops_btf_id()
17223 if (st_ops->check_member) { in check_struct_ops_btf_id()
17224 int err = st_ops->check_member(t, member, prog); in check_struct_ops_btf_id()
17228 mname, st_ops->name); in check_struct_ops_btf_id()
17235 env->ops = st_ops->verifier_ops; in check_struct_ops_btf_id()
/linux-6.3-rc2/net/bpf/
A Dbpf_dummy_struct_ops.c80 const struct bpf_struct_ops *st_ops = &bpf_bpf_dummy_ops; in bpf_struct_ops_test_run() local
90 if (prog->aux->attach_btf_id != st_ops->type_id) in bpf_struct_ops_test_run()
122 &st_ops->func_models[op_idx], in bpf_struct_ops_test_run()
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf.c982 st_ops = map->st_ops; in bpf_map__init_kern_struct_ops()
983 type = st_ops->type; in bpf_map__init_kern_struct_ops()
1002 data = st_ops->data; in bpf_map__init_kern_struct_ops()
1183 map->st_ops = calloc(1, sizeof(*map->st_ops)); in bpf_object__init_struct_ops_maps()
1184 if (!map->st_ops) in bpf_object__init_struct_ops_maps()
1186 st_ops = map->st_ops; in bpf_object__init_struct_ops_maps()
1188 st_ops->progs = calloc(btf_vlen(type), sizeof(*st_ops->progs)); in bpf_object__init_struct_ops_maps()
1191 if (!st_ops->data || !st_ops->progs || !st_ops->kern_func_off) in bpf_object__init_struct_ops_maps()
8874 st_ops = map->st_ops; in bpf_object__collect_st_ops_relos()
11456 st_ops = map->st_ops; in bpf_map__attach_struct_ops()
[all …]
/linux-6.3-rc2/arch/s390/include/asm/
A Dpci.h72 u64 st_ops; member

Completed in 59 milliseconds