Home
last modified time | relevance | path

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

/linux/kernel/bpf/
A Dbpf_struct_ops.c131 st_ops->name); in bpf_struct_ops_init()
148 st_ops->name); in bpf_struct_ops_init()
164 st_ops->name); in bpf_struct_ops_init()
170 mname, st_ops->name); in bpf_struct_ops_init()
182 mname, st_ops->name); in bpf_struct_ops_init()
190 st_ops->name); in bpf_struct_ops_init()
193 st_ops->type = t; in bpf_struct_ops_init()
336 const struct bpf_struct_ops *st_ops = st_map->st_ops; in bpf_struct_ops_map_update_elem() local
576 if (!st_ops) in bpf_struct_ops_map_alloc()
583 t = st_ops->type; in bpf_struct_ops_map_alloc()
[all …]
A Dverifier.c13498 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id() local
13510 st_ops = bpf_struct_ops_find(btf_id); in check_struct_ops_btf_id()
13511 if (!st_ops) { in check_struct_ops_btf_id()
13517 t = st_ops->type; in check_struct_ops_btf_id()
13521 member_idx, st_ops->name); in check_struct_ops_btf_id()
13531 mname, member_idx, st_ops->name); in check_struct_ops_btf_id()
13535 if (st_ops->check_member) { in check_struct_ops_btf_id()
13536 int err = st_ops->check_member(t, member); in check_struct_ops_btf_id()
13540 mname, st_ops->name); in check_struct_ops_btf_id()
13547 env->ops = st_ops->verifier_ops; in check_struct_ops_btf_id()
/linux/net/bpf/
A Dbpf_dummy_struct_ops.c78 const struct bpf_struct_ops *st_ops = &bpf_bpf_dummy_ops; in bpf_struct_ops_test_run() local
87 if (prog->aux->attach_btf_id != st_ops->type_id) in bpf_struct_ops_test_run()
110 &st_ops->func_models[op_idx], in bpf_struct_ops_test_run()
/linux/tools/lib/bpf/
A Dlibbpf.c915 st_ops = map->st_ops; in bpf_map__init_kern_struct_ops()
916 type = st_ops->type; in bpf_map__init_kern_struct_ops()
935 data = st_ops->data; in bpf_map__init_kern_struct_ops()
1116 map->st_ops = calloc(1, sizeof(*map->st_ops)); in bpf_object__init_struct_ops_maps()
1117 if (!map->st_ops) in bpf_object__init_struct_ops_maps()
1119 st_ops = map->st_ops; in bpf_object__init_struct_ops_maps()
1121 st_ops->progs = calloc(btf_vlen(type), sizeof(*st_ops->progs)); in bpf_object__init_struct_ops_maps()
1124 if (!st_ops->data || !st_ops->progs || !st_ops->kern_func_off) in bpf_object__init_struct_ops_maps()
8547 st_ops = map->st_ops; in bpf_object__collect_st_ops_relos()
10370 st_ops = map->st_ops; in bpf_map__attach_struct_ops()
[all …]
/linux/arch/s390/include/asm/
A Dpci.h72 u64 st_ops; member

Completed in 600 milliseconds