Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtest_lru_dist.c221 static int sched_next_online(int pid, int next_to_try) in sched_next_online() argument
225 if (next_to_try == nr_cpus) in sched_next_online()
228 while (next_to_try < nr_cpus) { in sched_next_online()
230 CPU_SET(next_to_try++, &cpuset); in sched_next_online()
235 return next_to_try; in sched_next_online()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_lru_map.c132 static int sched_next_online(int pid, int *next_to_try) in sched_next_online() argument
135 int next = *next_to_try; in sched_next_online()
147 *next_to_try = next; in sched_next_online()