Lines Matching refs:map_flags
277 "err: %s, flags: 0x%x\n", strerror(errno), map_opts.map_flags); in helper_fill_hashmap()
333 old_flags = map_opts.map_flags; in test_hashmap_zero_seed()
334 map_opts.map_flags |= BPF_F_ZERO_SEED; in test_hashmap_zero_seed()
356 map_opts.map_flags = old_flags; in test_hashmap_zero_seed()
555 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { in test_queuemap()
611 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { in test_stackmap()
1528 old_flags = map_opts.map_flags; in test_map_rdonly()
1529 map_opts.map_flags |= BPF_F_RDONLY; in test_map_rdonly()
1532 map_opts.map_flags = old_flags; in test_map_rdonly()
1557 old_flags = map_opts.map_flags; in test_map_wronly_hash()
1558 map_opts.map_flags |= BPF_F_WRONLY; in test_map_wronly_hash()
1561 map_opts.map_flags = old_flags; in test_map_wronly_hash()
1588 old_flags = map_opts.map_flags; in test_map_wronly_stack_or_queue()
1589 map_opts.map_flags |= BPF_F_WRONLY; in test_map_wronly_stack_or_queue()
1591 map_opts.map_flags = old_flags; in test_map_wronly_stack_or_queue()
1593 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { in test_map_wronly_stack_or_queue()
1916 map_opts.map_flags = 0; in main()
1919 map_opts.map_flags = BPF_F_NO_PREALLOC; in main()