Home
last modified time | relevance | path

Searched refs:elem_flags (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dpercpu_alloc.c227 batch_opts.elem_flags = (u64)nr_cpus << 32 | BPF_F_CPU; in test_percpu_map_op_cpu_flag()
237 batch_opts.elem_flags = BPF_F_ALL_CPUS; in test_percpu_map_op_cpu_flag()
249 batch_opts.elem_flags = (u64)cpu << 32 | BPF_F_CPU; in test_percpu_map_op_cpu_flag()
274 batch_opts.elem_flags = 0; in test_percpu_map_op_cpu_flag()
605 batch_opts.elem_flags = BPF_F_ALL_CPUS;
613 batch_opts.elem_flags = BPF_F_CPU;
/linux/tools/testing/selftests/bpf/map_tests/
H A Darray_map_batch_ops.c21 .elem_flags = 0, in map_batch_update()
79 .elem_flags = 0, in __test_map_lookup_and_update_batch()
H A Dlpm_trie_map_batch_ops.c29 .elem_flags = 0, in map_batch_update()
76 .elem_flags = 0, in test_lpm_trie_map_batch_ops()
H A Dhtab_map_batch_ops.c21 .elem_flags = 0, in map_batch_update()
88 .elem_flags = 0, in __test_map_lookup_and_delete_batch()
/linux/kernel/bpf/
H A Dsyscall.c2037 if (attr->batch.elem_flags & ~BPF_F_LOCK) in generic_map_delete_batch()
2040 if ((attr->batch.elem_flags & BPF_F_LOCK) && in generic_map_delete_batch()
2094 err = bpf_map_check_op_flags(map, attr->batch.elem_flags, in generic_map_update_batch()
2099 value_size = bpf_map_value_size(map, attr->batch.elem_flags); in generic_map_update_batch()
2126 attr->batch.elem_flags); in generic_map_lookup_batch()
2154 err = bpf_map_check_op_flags(map, attr->batch.elem_flags, BPF_F_LOCK | BPF_F_CPU); in generic_map_lookup_batch()
2158 value_size = bpf_map_value_size(map, attr->batch.elem_flags); in generic_map_lookup_batch()
2193 attr->batch.elem_flags); in generic_map_lookup_batch()
H A Dhashtab.c2020 elem_map_flags = attr->batch.elem_flags; in __htab_map_lookup_and_delete_batch()
3477 elem_map_flags = attr->batch.elem_flags; in __bpf_rhash_map_seq_show()
/linux/tools/include/uapi/linux/
H A Dbpf.h679 * The *elem_flags* argument may be specified as one of the
734 * The *elem_flags* argument should be specified as one of the
783 * The *elem_flags* argument may be specified as one of the
1656 __u64 elem_flags;
1604 __u64 elem_flags; global() member
/linux/include/uapi/linux/
H A Dbpf.h679 * The *elem_flags* argument may be specified as one of the
734 * The *elem_flags* argument should be specified as one of the
783 * The *elem_flags* argument may be specified as one of the
1656 __u64 elem_flags;
1604 __u64 elem_flags; global() member