Home
last modified time | relevance | path

Searched refs:MAX_ENTRIES (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
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");
81 MAX_ENTRIES)); in check_default()
89 MAX_ENTRIES)); in check_default_noinline()
107 __uint(max_entries, MAX_ENTRIES);
120 VERIFY(hash->n_buckets == MAX_ENTRIES); in check_hash()
143 __uint(max_entries, MAX_ENTRIES);
167 VERIFY(n_lookups == MAX_ENTRIES); in check_array()
168 VERIFY(n_keys == MAX_ENTRIES); in check_array()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dlathist_kern.c13 #define MAX_ENTRIES 20 macro
68 __uint(max_entries, MAX_CPU * MAX_ENTRIES);
86 if (delta > MAX_ENTRIES - 1) in bpf_prog2()
87 delta = MAX_ENTRIES - 1; in bpf_prog2()
89 key = cpu * MAX_ENTRIES + delta; in bpf_prog2()
Dlathist_user.c12 #define MAX_ENTRIES 20 macro
17 long data[MAX_ENTRIES];
52 for (i = 1; i <= MAX_ENTRIES; i++) { in print_hist()
70 for (i = 0; i < MAX_ENTRIES; i++) { in get_data()
71 key = c * MAX_ENTRIES + i; in get_data()
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);
Dtracex5_user.c14 #define MAX_ENTRIES 6000 /* MIPS n64 syscalls start at 5000 */ macro
16 #define MAX_ENTRIES 1024 macro
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/
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),
Dvalue.c63 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES, 9),
Dsearch_pruning.c68 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
Dvalue_or_null.c139 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES-1, 1),
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst26 | **entries** *MAX_ENTRIES* **name** *NAME* [**flags** *FLAGS*] [**inner_map** *MAP*] \
71 …*type** *TYPE* **key** *KEY_SIZE* **value** *VALUE_SIZE* **entries** *MAX_ENTRIES* **name** *NAME…
/kernel/linux/linux-5.10/lib/
Dtest_rhashtable.c26 #define MAX_ENTRIES 1000000 macro
707 entries = min(parm_entries, MAX_ENTRIES); in test_rht_init()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_verifier.c124 #define MAX_ENTRIES 11 macro
128 int foo[MAX_ENTRIES];