Searched refs:cur_rank (Results 1 – 2 of 2) sorted by relevance
84 static dnup_switch_dir_t dnup_get_dir(unsigned cur_rank, unsigned rem_rank) in dnup_get_dir() argument90 if (!cur_rank && !rem_rank) in dnup_get_dir()93 if (cur_rank < rem_rank) in dnup_get_dir()95 else if (cur_rank > rem_rank) in dnup_get_dir()
84 static updn_switch_dir_t updn_get_dir(unsigned cur_rank, unsigned rem_rank, in updn_get_dir() argument91 if (!cur_rank && !rem_rank) in updn_get_dir()94 if (cur_rank < rem_rank) in updn_get_dir()96 else if (cur_rank > rem_rank) in updn_get_dir()