Lines Matching full:challenger
1616 struct gptp_priority_vector *best_vector, *challenger; in compute_best_vector() local
1645 challenger = &GPTP_PORT_BMCA_DATA(port)->port_priority; in compute_best_vector()
1655 if (memcmp(challenger->src_port_id.clk_id, default_ds->clk_id, in compute_best_vector()
1657 /* Discard this challenger. */ in compute_best_vector()
1662 tmp = memcmp(&challenger->root_system_id, in compute_best_vector()
1666 best_vector = challenger; in compute_best_vector()
1672 tmp = (int)challenger->steps_removed - in compute_best_vector()
1675 best_vector = challenger; in compute_best_vector()
1681 tmp = memcmp(&challenger->src_port_id, in compute_best_vector()
1685 best_vector = challenger; in compute_best_vector()
1691 if (ntohs(challenger->port_number) < in compute_best_vector()
1693 best_vector = challenger; in compute_best_vector()
1701 if (memcmp(challenger, best_vector, in compute_best_vector()
1703 best_vector = challenger; in compute_best_vector()