Lines Matching refs:map_flags
35 static int map_flags; variable
43 2, map_flags); in test_hashmap()
141 2, map_flags); in test_hashmap_sizes()
163 sizeof(bpf_percpu(value, 0)), 2, map_flags); in test_hashmap_percpu()
275 max_entries, map_flags); in helper_fill_hashmap()
278 "err: %s, flags: 0x%x\n", strerror(errno), map_flags); in helper_fill_hashmap()
334 old_flags = map_flags; in test_hashmap_zero_seed()
335 map_flags |= BPF_F_ZERO_SEED; in test_hashmap_zero_seed()
357 map_flags = old_flags; in test_hashmap_zero_seed()
555 map_flags); in test_queuemap()
559 map_flags); in test_queuemap()
561 if (map_flags & BPF_F_NO_PREALLOC) { in test_queuemap()
613 map_flags); in test_stackmap()
617 map_flags); in test_stackmap()
619 if (map_flags & BPF_F_NO_PREALLOC) { in test_stackmap()
1318 MAP_SIZE, map_flags); in test_map_large()
1472 MAP_SIZE, map_flags); in test_map_parallel()
1522 MAP_SIZE, map_flags | BPF_F_RDONLY); in test_map_rdonly()
1547 MAP_SIZE, map_flags | BPF_F_WRONLY); in test_map_wronly_hash()
1573 map_flags | BPF_F_WRONLY); in test_map_wronly_stack_or_queue()
1575 if (map_flags & BPF_F_NO_PREALLOC) { in test_map_wronly_stack_or_queue()
1898 map_flags = 0; in main()
1901 map_flags = BPF_F_NO_PREALLOC; in main()