Home
last modified time | relevance | path

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

/linux/samples/bpf/
H A Dtest_lru_dist.c218 static int sched_next_online(int pid, int next_to_try) in sched_next_online() argument
222 if (next_to_try == nr_cpus) in sched_next_online()
225 while (next_to_try < nr_cpus) { in sched_next_online()
227 CPU_SET(next_to_try++, &cpuset); in sched_next_online()
232 return next_to_try; in sched_next_online()
/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() argument
124 int next = *next_to_try; in sched_next_online()
137 *next_to_try = next; in sched_next_online()