Lines Matching refs:map_flags
273 "err: %s, flags: 0x%x\n", strerror(errno), map_opts.map_flags); in helper_fill_hashmap()
329 old_flags = map_opts.map_flags; in test_hashmap_zero_seed()
330 map_opts.map_flags |= BPF_F_ZERO_SEED; in test_hashmap_zero_seed()
352 map_opts.map_flags = old_flags; in test_hashmap_zero_seed()
551 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { in test_queuemap()
607 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { in test_stackmap()
1402 (err == ENOMEM && map_opts.map_flags == BPF_F_NO_PREALLOC)); in can_retry()
1536 old_flags = map_opts.map_flags; in test_map_rdonly()
1537 map_opts.map_flags |= BPF_F_RDONLY; in test_map_rdonly()
1540 map_opts.map_flags = old_flags; in test_map_rdonly()
1565 old_flags = map_opts.map_flags; in test_map_wronly_hash()
1566 map_opts.map_flags |= BPF_F_WRONLY; in test_map_wronly_hash()
1569 map_opts.map_flags = old_flags; in test_map_wronly_hash()
1596 old_flags = map_opts.map_flags; in test_map_wronly_stack_or_queue()
1597 map_opts.map_flags |= BPF_F_WRONLY; in test_map_wronly_stack_or_queue()
1599 map_opts.map_flags = old_flags; in test_map_wronly_stack_or_queue()
1601 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { in test_map_wronly_stack_or_queue()
1924 map_opts.map_flags = 0; in main()
1927 map_opts.map_flags = BPF_F_NO_PREALLOC; in main()