Lines Matching refs:total
71 __u32 step, count, total, total_success; in test_lpm_trie_map_batch_ops() local
99 total = 0; in test_lpm_trie_map_batch_ops()
106 total ? &batch : NULL, &batch, in test_lpm_trie_map_batch_ops()
107 keys + total, values + total, &count, &opts); in test_lpm_trie_map_batch_ops()
112 total += count; in test_lpm_trie_map_batch_ops()
117 CHECK(total != max_entries, "lookup with steps", in test_lpm_trie_map_batch_ops()
118 "total = %u, max_entries = %u\n", total, max_entries); in test_lpm_trie_map_batch_ops()
122 total = 0; in test_lpm_trie_map_batch_ops()
124 while (total < max_entries) { in test_lpm_trie_map_batch_ops()
125 if (max_entries - total < step) in test_lpm_trie_map_batch_ops()
126 count = max_entries - total; in test_lpm_trie_map_batch_ops()
127 err = bpf_map_delete_batch(map_fd, keys + total, &count, in test_lpm_trie_map_batch_ops()
131 total += count; in test_lpm_trie_map_batch_ops()
135 CHECK(total != max_entries, "delete with steps", in test_lpm_trie_map_batch_ops()
136 "total = %u, max_entries = %u\n", total, max_entries); in test_lpm_trie_map_batch_ops()