Lines Matching full:map
42 static inline int check_bpf_map_fields(struct bpf_map *map, __u32 key_size, in check_bpf_map_fields() argument
45 VERIFY(map->map_type == g_map_type); in check_bpf_map_fields()
46 VERIFY(map->key_size == key_size); in check_bpf_map_fields()
47 VERIFY(map->value_size == value_size); in check_bpf_map_fields()
48 VERIFY(map->max_entries == max_entries); in check_bpf_map_fields()
49 VERIFY(map->id > 0); in check_bpf_map_fields()
50 VERIFY(map->memory.pages > 0); in check_bpf_map_fields()
98 struct bpf_map map; member
115 struct bpf_map *map = (struct bpf_map *)&m_hash; in check_hash() local
118 VERIFY(check_default_noinline(&hash->map, map)); in check_hash()
137 struct bpf_map map; member
151 struct bpf_map *map = (struct bpf_map *)&m_array; in check_array() local
154 VERIFY(check_default(&array->map, map)); in check_array()
158 for (i = 0; i < array->map.max_entries && i < LOOP_BOUND; ++i) { in check_array()
183 struct bpf_map *map = (struct bpf_map *)&m_prog_array; in check_prog_array() local
185 VERIFY(check_default(&prog_array->map, map)); in check_prog_array()
200 struct bpf_map *map = (struct bpf_map *)&m_perf_event_array; in check_perf_event_array() local
202 VERIFY(check_default(&perf_event_array->map, map)); in check_perf_event_array()
217 struct bpf_map *map = (struct bpf_map *)&m_percpu_hash; in check_percpu_hash() local
219 VERIFY(check_default(&percpu_hash->map, map)); in check_percpu_hash()
234 struct bpf_map *map = (struct bpf_map *)&m_percpu_array; in check_percpu_array() local
236 VERIFY(check_default(&percpu_array->map, map)); in check_percpu_array()
242 struct bpf_map map; member
256 struct bpf_map *map = (struct bpf_map *)&m_stack_trace; in check_stack_trace() local
258 VERIFY(check(&stack_trace->map, map, sizeof(__u32), sizeof(__u64), in check_stack_trace()
274 struct bpf_map *map = (struct bpf_map *)&m_cgroup_array; in check_cgroup_array() local
276 VERIFY(check_default(&cgroup_array->map, map)); in check_cgroup_array()
291 struct bpf_map *map = (struct bpf_map *)&m_lru_hash; in check_lru_hash() local
293 VERIFY(check_default(&lru_hash->map, map)); in check_lru_hash()
308 struct bpf_map *map = (struct bpf_map *)&m_lru_percpu_hash; in check_lru_percpu_hash() local
310 VERIFY(check_default(&lru_percpu_hash->map, map)); in check_lru_percpu_hash()
316 struct bpf_map map; member
335 struct bpf_map *map = (struct bpf_map *)&m_lpm_trie; in check_lpm_trie() local
337 VERIFY(check(&lpm_trie->map, map, sizeof(struct lpm_key), sizeof(__u32), in check_lpm_trie()
368 struct bpf_map *map = (struct bpf_map *)&m_array_of_maps; in check_array_of_maps() local
370 VERIFY(check_default(&array_of_maps->map, map)); in check_array_of_maps()
390 struct bpf_map *map = (struct bpf_map *)&m_hash_of_maps; in check_hash_of_maps() local
392 VERIFY(check_default(&hash_of_maps->map, map)); in check_hash_of_maps()
398 struct bpf_map map; member
411 struct bpf_map *map = (struct bpf_map *)&m_devmap; in check_devmap() local
413 VERIFY(check_default(&devmap->map, map)); in check_devmap()
419 struct bpf_map map; member
432 struct bpf_map *map = (struct bpf_map *)&m_sockmap; in check_sockmap() local
434 VERIFY(check_default(&sockmap->map, map)); in check_sockmap()
440 struct bpf_map map; member
453 struct bpf_map *map = (struct bpf_map *)&m_cpumap; in check_cpumap() local
455 VERIFY(check_default(&cpumap->map, map)); in check_cpumap()
461 struct bpf_map map; member
474 struct bpf_map *map = (struct bpf_map *)&m_xskmap; in check_xskmap() local
476 VERIFY(check_default(&xskmap->map, map)); in check_xskmap()
482 struct bpf_map map; member
495 struct bpf_map *map = (struct bpf_map *)&m_sockhash; in check_sockhash() local
497 VERIFY(check_default(&sockhash->map, map)); in check_sockhash()
503 struct bpf_map map; member
516 struct bpf_map *map = (struct bpf_map *)&m_cgroup_storage; in check_cgroup_storage() local
518 VERIFY(check(&cgroup_storage->map, map, in check_cgroup_storage()
525 struct bpf_map map; member
539 struct bpf_map *map = (struct bpf_map *)&m_reuseport_sockarray; in check_reuseport_sockarray() local
541 VERIFY(check_default(&reuseport_sockarray->map, map)); in check_reuseport_sockarray()
556 struct bpf_map *map = (struct bpf_map *)&m_percpu_cgroup_storage; in check_percpu_cgroup_storage() local
558 VERIFY(check(&percpu_cgroup_storage->map, map, in check_percpu_cgroup_storage()
565 struct bpf_map map; member
577 struct bpf_map *map = (struct bpf_map *)&m_queue; in check_queue() local
579 VERIFY(check(&queue->map, map, 0, sizeof(__u32), MAX_ENTRIES)); in check_queue()
593 struct bpf_map *map = (struct bpf_map *)&m_stack; in check_stack() local
595 VERIFY(check(&stack->map, map, 0, sizeof(__u32), MAX_ENTRIES)); in check_stack()
601 struct bpf_map map; member
615 struct bpf_map *map = (struct bpf_map *)&m_sk_storage; in check_sk_storage() local
617 VERIFY(check(&sk_storage->map, map, sizeof(__u32), sizeof(__u32), 0)); in check_sk_storage()
632 struct bpf_map *map = (struct bpf_map *)&m_devmap_hash; in check_devmap_hash() local
634 VERIFY(check_default(&devmap_hash->map, map)); in check_devmap_hash()
640 struct bpf_map map; member
651 struct bpf_map *map = (struct bpf_map *)&m_ringbuf; in check_ringbuf() local
653 VERIFY(check(&ringbuf->map, map, 0, 0, 1 << 12)); in check_ringbuf()