Searched refs:MAX_ENTRIES (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/samples/bpf/ |
D | lathist_kern.c | 13 #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()
|
D | lathist_user.c | 13 #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()
|
D | map_perf_test_kern.c | 13 #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/ |
D | array_access.c | 49 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),
|
D | value.c | 63 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES, 9),
|
D | search_pruning.c | 68 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
|
D | value_or_null.c | 139 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES-1, 1),
|
/Linux-v5.4/tools/bpf/bpftool/Documentation/ |
D | bpftool-map.rst | 26 | **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/ |
D | test_rhashtable.c | 26 #define MAX_ENTRIES 1000000 macro 707 entries = min(parm_entries, MAX_ENTRIES); in test_rht_init()
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | test_verifier.c | 121 #define MAX_ENTRIES 11 macro 125 int foo[MAX_ENTRIES];
|