Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c1166 int prog_idx, done, err; in run_multi_prog_lookup() local
1172 prog_idx = PROG1; in run_multi_prog_lookup()
1173 err = bpf_map_update_elem(map_fd, &prog_idx, &done, BPF_ANY); in run_multi_prog_lookup()
1176 prog_idx = PROG2; in run_multi_prog_lookup()
1177 err = bpf_map_update_elem(map_fd, &prog_idx, &done, BPF_ANY); in run_multi_prog_lookup()
1213 prog_idx = PROG1; in run_multi_prog_lookup()
1214 err = bpf_map_lookup_elem(map_fd, &prog_idx, &done); in run_multi_prog_lookup()
1219 prog_idx = PROG2; in run_multi_prog_lookup()
1220 err = bpf_map_lookup_elem(map_fd, &prog_idx, &done); in run_multi_prog_lookup()
/linux-6.12.1/tools/lib/bpf/
Dbpf_gen_internal.h65 struct bpf_prog_load_opts *load_attr, int prog_idx);
Dgen_loader.c937 struct bpf_prog_load_opts *load_attr, int prog_idx) in bpf_gen__prog_load() argument
945 prog_type, insn_cnt, prog_idx); in bpf_gen__prog_load()