Searched refs:max_entries (Results 1 - 25 of 317) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dlpm_trie_map_batch_ops.c21 static void map_batch_update(int map_fd, __u32 max_entries, argument
32 for (i = 0; i < max_entries; i++) {
39 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts);
43 static void map_batch_verify(int *visited, __u32 max_entries, argument
50 memset(visited, 0, max_entries * sizeof(*visited));
51 for (i = 0; i < max_entries; i++) {
59 for (i = 0; i < max_entries; i++) {
71 const __u32 max_entries = 10; local
81 max_entries, &create_opts);
85 keys = malloc(max_entries * sizeo
[all...]
H A Dhtab_map_batch_ops.c13 static void map_batch_update(int map_fd, __u32 max_entries, int *keys, argument
27 for (i = 0; i < max_entries; i++) {
36 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts);
40 static void map_batch_verify(int *visited, __u32 max_entries, argument
50 memset(visited, 0, max_entries * sizeof(*visited));
51 for (i = 0; i < max_entries; i++) {
70 for (i = 0; i < max_entries; i++) {
81 const __u32 max_entries = 10; local
82 value pcpu_values[max_entries];
92 "hash_map", sizeof(int), sizeof(int), max_entries, NUL
[all...]
H A Darray_map_batch_ops.c14 static void map_batch_update(int map_fd, __u32 max_entries, int *keys, argument
24 for (i = 0; i < max_entries; i++) {
35 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts);
39 static void map_batch_verify(int *visited, __u32 max_entries, int *keys, argument
45 memset(visited, 0, max_entries * sizeof(*visited));
46 for (i = 0; i < max_entries; i++) {
63 for (i = 0; i < max_entries; i++) {
73 const __u32 max_entries = 10; local
83 "array_map", sizeof(int), sizeof(__s64), max_entries, NULL);
91 keys = calloc(max_entries, sizeo
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_btf_map_in_map.c8 __uint(max_entries, 1);
16 __uint(max_entries, 2);
23 __uint(max_entries, 3);
29 /* changing max_entries to 2 will fail during load
31 __uint(max_entries, 1);
47 __uint(max_entries, 3);
56 __uint(max_entries, 5);
63 __uint(max_entries, 3);
69 __uint(max_entries, 1);
83 __uint(max_entries,
[all...]
H A Dtest_map_in_map_invalid.c10 __uint(max_entries, 4);
15 __uint(max_entries, 0); /* This will make map creation to fail */
H A Dtest_pinning.c8 __uint(max_entries, 1);
16 __uint(max_entries, 1);
23 __uint(max_entries, 1);
H A Dtest_unpriv_bpf_disabled.c17 __uint(max_entries, 1);
24 __uint(max_entries, 1);
31 __uint(max_entries, 1);
38 __uint(max_entries, 1);
51 __uint(max_entries, 1 << 12);
56 __uint(max_entries, 1);
H A Dtest_sockmap_update.c8 __uint(max_entries, 1);
15 __uint(max_entries, 1);
22 __uint(max_entries, 1);
H A Drecursion.c12 __uint(max_entries, 1);
19 __uint(max_entries, 1);
H A Dtest_pe_preserve_elems.c9 __uint(max_entries, 1);
16 __uint(max_entries, 1);
H A Dtest_pinning_invalid.c8 __uint(max_entries, 1);
H A Dsample_map_ret0.c9 __uint(max_entries, 2);
16 __uint(max_entries, 2);
H A Dtest_obj_id.c10 __uint(max_entries, 1);
H A Dtest_sockmap_invalid_update.c8 __uint(max_entries, 1);
H A Dsockmap_verdict_prog.c7 __uint(max_entries, 20);
14 __uint(max_entries, 20);
21 __uint(max_entries, 20);
28 __uint(max_entries, 20);
H A Dtest_sockmap_skb_verdict_attach.c7 __uint(max_entries, 2);
H A Dtest_stacktrace_map.c13 __uint(max_entries, 1);
20 __uint(max_entries, 16384);
29 __uint(max_entries, 16384);
36 __uint(max_entries, 16384);
H A Dtest_xdp_with_cpumap_frags_helpers.c12 __uint(max_entries, 4);
H A Dtest_xdp_with_devmap_frags_helpers.c9 __uint(max_entries, 4);
H A Dtest_sockmap_progs_query.c7 __uint(max_entries, 1);
H A Dtest_subskeleton_lib2.c13 __uint(max_entries, 16);
H A Dtest_stacktrace_build_id.c13 __uint(max_entries, 1);
20 __uint(max_entries, 16384);
29 __uint(max_entries, 128);
37 __uint(max_entries, 128);
H A Dlsm.c14 __uint(max_entries, 1);
21 __uint(max_entries, 1);
28 __uint(max_entries, 1);
35 __uint(max_entries, 1);
42 __uint(max_entries, 1);
49 __uint(max_entries, 1);
56 __uint(max_entries, 1);
63 __uint(max_entries, 1);
73 __uint(max_entries, 1);
/linux-master/tools/perf/tests/
H A Dbpf-script-test-relocation.c24 unsigned int max_entries; member in struct:bpf_map_def
32 .max_entries = 1,
/linux-master/tools/perf/include/bpf/
H A Dstdio.h9 .max_entries = __NR_CPUS__,

Completed in 120 milliseconds

1234567891011>>