Home
last modified time | relevance | path

Searched refs:sched_next_online (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lru_map.c121 static int sched_next_online(int pid, int *next_to_try) in sched_next_online() function
158 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity0()
255 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity1()
332 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity2()
438 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity3()
497 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity4()
582 while (sched_next_online(0, &next_cpu) != -1) { in test_lru_sanity5()
623 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity6()
686 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity7()
777 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity8()
/openbmc/linux/samples/bpf/
H A Dtest_lru_dist.c218 static int sched_next_online(int pid, int next_to_try) in sched_next_online() function
245 next_sched_cpu = sched_next_online(0, next_sched_cpu); in run_parallel()
256 next_sched_cpu = sched_next_online(pid[i], next_sched_cpu); in run_parallel()
343 assert(sched_next_online(0, 0) != -1); in test_lru_loss0()
395 assert(sched_next_online(0, 0) != -1); in test_lru_loss1()