Lines Matching refs:messages_count
388 while (foreign->messages_count > FOREIGN_TIME_TRANSMITTER_THRESHOLD) { in foreign_clock_cleanup()
391 foreign->messages_count--; in foreign_clock_cleanup()
422 foreign->messages_count--; in foreign_clock_cleanup()
433 foreign->messages_count--; in port_clear_foreign_clock_records()
1314 if (!foreign->messages_count) { in ptp_port_best_foreign()
1320 if (foreign->messages_count < FOREIGN_TIME_TRANSMITTER_THRESHOLD) { in ptp_port_best_foreign()
1387 foreign->messages_count++; in ptp_port_add_foreign_tt()
1390 if (foreign->messages_count > 1) { in ptp_port_add_foreign_tt()
1395 return (foreign->messages_count == FOREIGN_TIME_TRANSMITTER_THRESHOLD ? 1 : 0) || diff; in ptp_port_add_foreign_tt()
1407 while (foreign->messages_count > FOREIGN_TIME_TRANSMITTER_THRESHOLD) { in ptp_port_free_foreign_tts()
1410 foreign->messages_count--; in ptp_port_free_foreign_tts()
1431 foreign->messages_count++; in ptp_port_update_current_time_transmitter()
1438 if (foreign->messages_count > 1) { in ptp_port_update_current_time_transmitter()