Lines Matching defs:skel
7 #include "local_storage_bench.skel.h"
94 struct local_storage_bench *skel;
125 ctx.skel->rodata->num_maps = args.nr_maps;
126 ctx.skel->rodata->hashmap_num_keys = args.hashmap_nr_keys_used;
131 err = local_storage_bench__load(ctx.skel);
137 create_opts.btf_fd = bpf_object__btf_fd(ctx.skel->obj);
179 struct local_storage_bench *skel;
183 skel = local_storage_bench__open();
184 ctx.skel = skel;
185 ctx.array_of_maps = skel->maps.array_of_hash_maps;
186 skel->rodata->use_hashmap = 1;
187 skel->rodata->interleave = 0;
189 __setup(skel->progs.get_local, true);
194 struct local_storage_bench *skel;
198 skel = local_storage_bench__open();
199 ctx.skel = skel;
200 ctx.array_of_maps = skel->maps.array_of_local_storage_maps;
201 skel->rodata->use_hashmap = 0;
202 skel->rodata->interleave = 0;
204 __setup(skel->progs.get_local, false);
209 struct local_storage_bench *skel;
213 skel = local_storage_bench__open();
214 ctx.skel = skel;
215 ctx.array_of_maps = skel->maps.array_of_local_storage_maps;
216 skel->rodata->use_hashmap = 0;
217 skel->rodata->interleave = 1;
219 __setup(skel->progs.get_local, false);
224 res->hits = atomic_swap(&ctx.skel->bss->hits, 0);
225 res->important_hits = atomic_swap(&ctx.skel->bss->important_hits, 0);