Searched refs:sched_next_online (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_lru_map.c | 121 static int sched_next_online(int pid, int *next_to_try) in sched_next_online() function 157 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity0() 254 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity1() 331 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity2() 437 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity3() 496 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity4() 581 while (sched_next_online(0, &next_cpu) != -1) { in test_lru_sanity5() 622 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity6() 685 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity7() 776 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity8()
|
/linux-6.1.9/samples/bpf/ |
D | test_lru_dist.c | 223 static int sched_next_online(int pid, int next_to_try) in sched_next_online() function 250 next_sched_cpu = sched_next_online(0, next_sched_cpu); in run_parallel() 261 next_sched_cpu = sched_next_online(pid[i], next_sched_cpu); in run_parallel() 348 assert(sched_next_online(0, 0) != -1); in test_lru_loss0() 400 assert(sched_next_online(0, 0) != -1); in test_lru_loss1()
|