Home
last modified time | relevance | path

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

/external/iproute2/include/
Dbpf_scm.h24 struct bpf_elf_map ent[BPF_SCM_MAX_FDS];
69 sizeof(struct bpf_elf_map) * num; in bpf_map_set_init_single()
Dbpf_elf.h30 struct bpf_elf_map { struct
Dbpf_api.h100 struct bpf_elf_map __section_maps NAME = { \
/external/iproute2/examples/bpf/
Dbpf_prog.c189 struct bpf_elf_map __section("maps") map_proto = {
197 struct bpf_elf_map __section("maps") map_queue = {
205 struct bpf_elf_map __section("maps") map_drops = {
/external/iproute2/tc/
Dtc_bpf.c214 static int bpf_map_selfcheck_pinned(int fd, const struct bpf_elf_map *map, in bpf_map_selfcheck_pinned()
218 struct bpf_elf_map tmp, zero; in bpf_map_selfcheck_pinned()
627 const struct bpf_elf_map test = { in bpf_graft_map()
662 offsetof(struct bpf_elf_map, max_elem)); in bpf_graft_map()
699 struct bpf_elf_map maps[ELF_MAX_MAPS];
721 struct bpf_elf_map *ent;
1055 static int bpf_map_attach(const char *name, const struct bpf_elf_map *map, in bpf_map_attach()
1063 offsetof(struct bpf_elf_map, in bpf_map_attach()
1123 sym.st_value / sizeof(struct bpf_elf_map) != which) in bpf_map_fetch_name()
1188 if (data->sec_data->d_size % sizeof(struct bpf_elf_map) != 0) in bpf_fetch_maps()
[all …]