Home
last modified time | relevance | path

Searched refs:tgt_free (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_lru_map.c242 /* Size of the LRU map is 1.5*tgt_free
243 * Insert 1 to tgt_free (+tgt_free keys)
244 * Lookup 1 to tgt_free/2
245 * Insert 1+tgt_free to 2*tgt_free (+tgt_free keys)
246 * => 1+tgt_free/2 to LOCALFREE_TARGET will be removed by LRU
248 static void test_lru_sanity1(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity1() argument
265 batch_size = tgt_free / in test_lru_sanity1()
324 test_lru_sanity2(int map_type, int map_flags, unsigned int tgt_free) test_lru_sanity2() argument
432 test_lru_sanity3(int map_type, int map_flags, unsigned int tgt_free) test_lru_sanity3() argument
496 test_lru_sanity4(int map_type, int map_flags, unsigned int tgt_free) test_lru_sanity4() argument
620 test_lru_sanity6(int map_type, int map_flags, int tgt_free) test_lru_sanity6() argument
884 unsigned int tgt_free = (map_flags[f] & BPF_F_NO_COMMON_LRU) ? main() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_lru_map.c233 /* Size of the LRU map is 1.5*tgt_free
234 * Insert 1 to tgt_free (+tgt_free keys)
235 * Lookup 1 to tgt_free/2
236 * Insert 1+tgt_free to 2*tgt_free (+tgt_free keys)
237 * => 1+tgt_free/2 to LOCALFREE_TARGET will be removed by LRU
239 static void test_lru_sanity1(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity1() argument
256 batch_size = tgt_free / in test_lru_sanity1()
315 test_lru_sanity2(int map_type, int map_flags, unsigned int tgt_free) test_lru_sanity2() argument
422 test_lru_sanity3(int map_type, int map_flags, unsigned int tgt_free) test_lru_sanity3() argument
486 test_lru_sanity4(int map_type, int map_flags, unsigned int tgt_free) test_lru_sanity4() argument
609 test_lru_sanity6(int map_type, int map_flags, int tgt_free) test_lru_sanity6() argument
866 unsigned int tgt_free = (map_flags[f] & BPF_F_NO_COMMON_LRU) ? main() local
[all...]

Completed in 2 milliseconds