Searched refs:MAX_ENTRIES (Results 1 - 13 of 13) sorted by relevance

/linux-master/samples/bpf/
H A Dlathist_kern.c13 #define MAX_ENTRIES 20 macro
68 __uint(max_entries, MAX_CPU * MAX_ENTRIES);
86 if (delta > MAX_ENTRIES - 1)
87 delta = MAX_ENTRIES - 1;
89 key = cpu * MAX_ENTRIES + delta;
H A Dlathist_user.c12 #define MAX_ENTRIES 20 macro
17 long data[MAX_ENTRIES];
52 for (i = 1; i <= MAX_ENTRIES; i++) {
70 for (i = 0; i < MAX_ENTRIES; i++) {
71 key = c * MAX_ENTRIES + i;
H A Dmap_perf_test_kern.c16 #define MAX_ENTRIES 1000 macro
23 __uint(max_entries, MAX_ENTRIES);
45 __uint(max_entries, MAX_ENTRIES);
64 __uint(max_entries, MAX_ENTRIES);
71 __uint(max_entries, MAX_ENTRIES);
79 __uint(max_entries, MAX_ENTRIES);
95 __uint(max_entries, MAX_ENTRIES);
102 __uint(max_entries, MAX_ENTRIES);
H A Doffwaketime_kern.c23 #define MAX_ENTRIES 10000 macro
36 __uint(max_entries, MAX_ENTRIES);
43 __uint(max_entries, MAX_ENTRIES);
55 __uint(max_entries, MAX_ENTRIES);
62 __uint(max_entries, MAX_ENTRIES);
H A Dtracex5_user.c14 #define MAX_ENTRIES 6000 /* MIPS n64 syscalls start at 5000 */ macro
16 #define MAX_ENTRIES 1024 macro
/linux-master/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c8 #define MAX_ENTRIES 8 macro
9 #define HALF_ENTRIES (MAX_ENTRIES >> 1)
11 _Static_assert(MAX_ENTRIES < LOOP_BOUND, "MAX_ENTRIES must be < LOOP_BOUND");
75 MAX_ENTRIES));
83 MAX_ENTRIES));
101 __uint(max_entries, MAX_ENTRIES);
114 VERIFY(hash->n_buckets == MAX_ENTRIES);
137 __uint(max_entries, MAX_ENTRIES);
161 VERIFY(n_lookups == MAX_ENTRIES);
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlookup_and_delete.c8 #define MAX_ENTRIES 2 macro
18 for (key = 1; key < MAX_ENTRIES + 1; key++) {
35 for (key = 1; key < MAX_ENTRIES + 1; key++) {
58 err = bpf_map__set_max_entries(skel->maps.hash_map, MAX_ENTRIES);
/linux-master/tools/testing/selftests/bpf/verifier/
H A Darray_access.c49 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES, 3),
73 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
96 BPF_ST_MEM(BPF_DW, BPF_REG_0, (MAX_ENTRIES + 1) << 2,
113 BPF_MOV64_IMM(BPF_REG_1, MAX_ENTRIES + 1),
154 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
179 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES + 1),
H A Dvalue.c63 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES, 9),
H A Dvalue_or_null.c139 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES-1, 1),
H A Dsearch_pruning.c68 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
/linux-master/lib/
H A Dtest_rhashtable.c26 #define MAX_ENTRIES 1000000 macro
708 entries = min(parm_entries, MAX_ENTRIES);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_verifier.c142 #define MAX_ENTRIES 11 macro
146 int foo[MAX_ENTRIES];

Completed in 130 milliseconds