Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dflow_dissector_load.h18 int prog_array_fd; in bpf_flow_load() local
44 prog_array_fd = bpf_map__fd(prog_array); in bpf_flow_load()
45 if (prog_array_fd < 0) in bpf_flow_load()
65 bpf_map_update_elem(prog_array_fd, &i, &fd, BPF_ANY); in bpf_flow_load()
/kernel/linux/linux-5.10/samples/bpf/
Dbpf_load.c40 int prog_array_fd = -1; variable
49 err = bpf_map_update_elem(prog_array_fd, &ind, &prog_fd, BPF_ANY); in populate_prog_array()
311 prog_array_fd = map_fd[i]; in load_maps()