Home
last modified time | relevance | path

Searched refs:inner_map (Results 1 – 3 of 3) sorted by relevance

/kernel/bpf/
Dmap_in_map.c12 struct bpf_map *inner_map, *inner_map_meta; in bpf_map_meta_alloc() local
17 inner_map = __bpf_map_get(f); in bpf_map_meta_alloc()
18 if (IS_ERR(inner_map)) in bpf_map_meta_alloc()
19 return inner_map; in bpf_map_meta_alloc()
22 if (inner_map->inner_map_meta) { in bpf_map_meta_alloc()
27 if (!inner_map->ops->map_meta_equal) { in bpf_map_meta_alloc()
32 if (map_value_has_spin_lock(inner_map)) { in bpf_map_meta_alloc()
39 if (inner_map->ops == &array_map_ops) in bpf_map_meta_alloc()
48 inner_map_meta->map_type = inner_map->map_type; in bpf_map_meta_alloc()
49 inner_map_meta->key_size = inner_map->key_size; in bpf_map_meta_alloc()
[all …]
Darraymap.c1300 struct bpf_map **inner_map = array_map_lookup_elem(map, key); in array_of_map_lookup_elem() local
1302 if (!inner_map) in array_of_map_lookup_elem()
1305 return READ_ONCE(*inner_map); in array_of_map_lookup_elem()
Dhashtab.c1798 struct bpf_map **inner_map = value; in __htab_map_lookup_and_delete_batch() local
1801 map_id = map->ops->map_fd_sys_lookup_elem(*inner_map); in __htab_map_lookup_and_delete_batch()
2494 struct bpf_map **inner_map = htab_map_lookup_elem(map, key); in htab_of_map_lookup_elem() local
2496 if (!inner_map) in htab_of_map_lookup_elem()
2499 return READ_ONCE(*inner_map); in htab_of_map_lookup_elem()