Lines Matching defs:p1
237 static int compare_switches_by_index(IN const void *p1, IN const void *p2)
239 ftree_sw_t **pp_sw1 = (ftree_sw_t **) p1;
255 compare_port_groups_by_remote_switch_index(IN const void *p1, IN const void *p2)
257 ftree_port_group_t **pp_g1 = (ftree_port_group_t **) p1;
2069 static inline int port_group_compare_load_down(const ftree_port_group_t * p1,
2072 int temp = p1->counter_down - p2->counter_down;
2081 find_lowest_loaded_group_on_sw(p1->remote_hca_or_sw.p_sw);
2089 return compare_port_groups_by_remote_switch_index(&p1, &p2);
2092 static inline int port_group_compare_load_up(const ftree_port_group_t * p1,
2095 int temp = p1->counter_up - p2->counter_up;
2102 return compare_port_groups_by_remote_switch_index (&p1,&p2);