Searched refs:cpua (Results 1 – 2 of 2) sorted by relevance
202 cpua=$(($RANDOM % nr_cpus))203 range=$((nr_cpus - cpua))205 cpubb=$((cpua + cpub))206 if [ $cpua -eq $cpubb ]; then207 expected_range="$cpua"209 expected_range="$cpua-$cpubb"
829 static inline bool same_node(unsigned int cpua, unsigned int cpub) in same_node() argument831 return cpu_to_node(cpua) == cpu_to_node(cpub); in same_node()834 static inline bool same_socket(unsigned int cpua, unsigned int cpub) in same_socket() argument836 return cpu_to_socket(cpua) == cpu_to_socket(cpub); in same_socket()839 static inline bool same_core(unsigned int cpua, unsigned int cpub) in same_core() argument841 return same_socket(cpua, cpub) && in same_core()842 cpu_to_core(cpua) == cpu_to_core(cpub); in same_core()
Completed in 9 milliseconds