Home
last modified time | relevance | path

Searched refs:max_elem (Results 1 – 8 of 8) sorted by relevance

/external/iproute2/examples/bpf/
Dbpf_tailcall.c35 .max_elem = MAX_JMP_SIZE,
44 .max_elem = 1,
52 .max_elem = 1,
Dbpf_map_in_map.c12 .max_elem = 1,
21 .max_elem = 1,
Dbpf_graft.c41 .max_elem = 1,
Dbpf_cyclic.c15 .max_elem = 1,
Dbpf_shared.c26 .max_elem = 1,
/external/iproute2/include/
Dbpf_elf.h35 __u32 max_elem; member
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c378 uint32_t size_value, uint32_t max_elem, in __create_map() argument
383 fd = bpf_create_map(type, size_key, size_value, max_elem, in __create_map()
396 uint32_t size_value, uint32_t max_elem) in create_map() argument
398 return __create_map(type, size_key, size_value, max_elem, 0); in create_map()
438 static int create_prog_array(enum bpf_prog_type prog_type, uint32_t max_elem, in create_prog_array() argument
444 sizeof(int), max_elem, 0); in create_prog_array()
/external/iproute2/lib/
Dbpf.c369 if (obj->max_elem != pin->max_elem) in bpf_map_pin_report()
371 obj->max_elem, pin->max_elem); in bpf_map_pin_report()
412 map->max_elem = val; in bpf_derive_elf_map_from_fdinfo()
1012 offsetof(struct bpf_elf_map, max_elem), in bpf_graft_map()
1179 uint32_t size_value, uint32_t max_elem, in bpf_map_create() argument
1187 attr.max_entries = max_elem; in bpf_map_create()
1514 fprintf(stderr, " - Max elems: %u\n", map->max_elem); in bpf_map_report()
1543 if (idx >= outer_map.max_elem && in bpf_report_map_in_map()
1546 outer_map.max_elem, idx); in bpf_report_map_in_map()
1603 map->max_elem, map->flags, map_inner_fd); in bpf_map_attach()
[all …]