Home
last modified time | relevance | path

Searched refs:map_attr (Results 1 – 6 of 6) sorted by relevance

/linux/tools/lib/bpf/
A Dbpf.c150 map_attr.name = name; in bpf_create_map_node()
151 map_attr.map_type = map_type; in bpf_create_map_node()
152 map_attr.map_flags = map_flags; in bpf_create_map_node()
153 map_attr.key_size = key_size; in bpf_create_map_node()
157 map_attr.numa_node = node; in bpf_create_map_node()
169 map_attr.map_type = map_type; in bpf_create_map()
170 map_attr.map_flags = map_flags; in bpf_create_map()
171 map_attr.key_size = key_size; in bpf_create_map()
184 map_attr.name = name; in bpf_create_map_name()
185 map_attr.map_type = map_type; in bpf_create_map_name()
[all …]
A Dgen_loader.c456 attr.map_type = map_attr->map_type; in bpf_gen__map_create()
457 attr.key_size = map_attr->key_size; in bpf_gen__map_create()
458 attr.value_size = map_attr->value_size; in bpf_gen__map_create()
459 attr.map_flags = map_attr->map_flags; in bpf_gen__map_create()
460 attr.map_extra = map_attr->map_extra; in bpf_gen__map_create()
461 memcpy(attr.map_name, map_attr->name, in bpf_gen__map_create()
463 attr.numa_node = map_attr->numa_node; in bpf_gen__map_create()
464 attr.map_ifindex = map_attr->map_ifindex; in bpf_gen__map_create()
465 attr.max_entries = map_attr->max_entries; in bpf_gen__map_create()
483 attr.btf_key_type_id = map_attr->btf_key_type_id; in bpf_gen__map_create()
[all …]
A Dxsk.c368 struct bpf_create_map_attr map_attr; in get_xsk_prog() local
380 memset(&map_attr, 0, sizeof(map_attr)); in get_xsk_prog()
381 map_attr.map_type = BPF_MAP_TYPE_XSKMAP; in get_xsk_prog()
382 map_attr.key_size = sizeof(int); in get_xsk_prog()
383 map_attr.value_size = sizeof(int); in get_xsk_prog()
384 map_attr.max_entries = 1; in get_xsk_prog()
386 map_fd = bpf_create_map_xattr(&map_attr); in get_xsk_prog()
A Dbpf_gen_internal.h52 void bpf_gen__map_create(struct bpf_gen *gen, struct bpf_create_map_params *map_attr, int map_idx);
A Dlibbpf.c4337 struct bpf_create_map_attr map_attr; in probe_kern_global_data() local
4347 memset(&map_attr, 0, sizeof(map_attr)); in probe_kern_global_data()
4349 map_attr.key_size = sizeof(int); in probe_kern_global_data()
4350 map_attr.value_size = 32; in probe_kern_global_data()
4351 map_attr.max_entries = 1; in probe_kern_global_data()
4353 map = bpf_create_map_xattr(&map_attr); in probe_kern_global_data()
4531 struct bpf_create_map_attr map_attr; in probe_prog_bind_map() local
4539 memset(&map_attr, 0, sizeof(map_attr)); in probe_prog_bind_map()
4541 map_attr.key_size = sizeof(int); in probe_prog_bind_map()
4542 map_attr.value_size = 32; in probe_prog_bind_map()
[all …]
/linux/drivers/firmware/efi/
A Druntime-map.c60 struct map_attribute *map_attr = to_map_attr(attr); in map_attr_show() local
62 return map_attr->show(entry, buf); in map_attr_show()

Completed in 33 milliseconds