Searched refs:map_idx (Results 1 - 3 of 3) sorted by relevance
/third_party/libbpf/src/ |
H A D | bpf_gen_internal.h | 61 struct bpf_map_create_opts *map_attr, int map_idx); 66 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size); 67 void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx);
|
H A D | gen_loader.c | 452 struct bpf_map_create_opts *map_attr, int map_idx) in bpf_gen__map_create() 474 attr.map_name, map_idx, map_type, attr.btf_value_type_id); in bpf_gen__map_create() 492 if (map_idx >= 0) in bpf_gen__map_create() 495 sizeof(struct bpf_map_desc) * map_idx + in bpf_gen__map_create() 501 attr.map_name, map_idx, map_type, value_size, in bpf_gen__map_create() 505 if (map_idx < 0) { in bpf_gen__map_create() 506 /* This bpf_gen__map_create() function is called with map_idx >= 0 in bpf_gen__map_create() 512 } else if (map_idx != gen->nr_maps) { in bpf_gen__map_create() 1034 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *pvalue, in bpf_gen__map_update_elem() argument 1043 pr_debug("gen: map_update_elem: idx %d\n", map_idx); in bpf_gen__map_update_elem() 448 bpf_gen__map_create(struct bpf_gen *gen, enum bpf_map_type map_type, const char *map_name, __u32 key_size, __u32 value_size, __u32 max_entries, struct bpf_map_create_opts *map_attr, int map_idx) bpf_gen__map_create() argument 1108 bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx) bpf_gen__map_freeze() argument [all...] |
H A D | libbpf.c | 354 int map_idx; member 4438 size_t map_idx, nr_maps = prog->obj->nr_maps; local 4541 for (map_idx = 0; map_idx < nr_maps; map_idx++) { 4542 map = &obj->maps[map_idx]; 4548 prog->name, map_idx, map->name, map->sec_idx, 4552 if (map_idx >= nr_maps) { 4559 reloc_desc->map_idx = map_idx; 6310 poison_map_ldimm64(struct bpf_program *prog, int relo_idx, int insn_idx, struct bpf_insn *insn, int map_idx, const struct bpf_map *map) global() argument 7600 int insn_idx, map_idx; global() local [all...] |
Completed in 14 milliseconds