Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dlathist_kern.c13 #define MAX_ENTRIES 20 macro
68 .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.c13 #define MAX_ENTRIES 20 macro
18 long data[MAX_ENTRIES];
53 for (i = 1; i <= MAX_ENTRIES; i++) { in print_hist()
71 for (i = 0; i < MAX_ENTRIES; i++) { in get_data()
72 key = c * MAX_ENTRIES + i; in get_data()
Dmap_perf_test_kern.c13 #define MAX_ENTRIES 1000 macro
20 .max_entries = MAX_ENTRIES,
42 .max_entries = MAX_ENTRIES,
57 .max_entries = MAX_ENTRIES,
64 .max_entries = MAX_ENTRIES,
72 .max_entries = MAX_ENTRIES,
88 .max_entries = MAX_ENTRIES,
95 .max_entries = MAX_ENTRIES,
/Linux-v5.4/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),
/Linux-v5.4/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst26 | **entries** *MAX_ENTRIES* **name** *NAME* [**flags** *FLAGS*] [**dev** *NAME*]
64 …*type** *TYPE* **key** *KEY_SIZE* **value** *VALUE_SIZE* **entries** *MAX_ENTRIES* **name** *NAME…
/Linux-v5.4/lib/
Dtest_rhashtable.c26 #define MAX_ENTRIES 1000000 macro
707 entries = min(parm_entries, MAX_ENTRIES); in test_rht_init()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_verifier.c121 #define MAX_ENTRIES 11 macro
125 int foo[MAX_ENTRIES];