Lines Matching refs:last_seen
61 if (dev->last_seen.sec + P2P_PEER_EXPIRATION_AGE >= now.sec) in p2p_expire_peers()
80 os_get_reltime(&dev->last_seen); in p2p_expire_peers()
94 os_get_reltime(&dev->last_seen); in p2p_expire_peers()
427 os_reltime_before(&dev->last_seen, &oldest->last_seen)) in p2p_create_device()
532 os_memcpy(&dev->last_seen, rx_time, sizeof(struct os_reltime)); in p2p_add_group_clients()
759 if (dev->last_seen.sec > 0 && in p2p_add_device()
760 os_reltime_before(rx_time, &dev->last_seen) && in p2p_add_device()
762 os_reltime_expired(&dev->last_seen, rx_time, in p2p_add_device()
768 (unsigned int) dev->last_seen.sec, in p2p_add_device()
769 (unsigned int) dev->last_seen.usec, in p2p_add_device()
775 os_memcpy(&dev->last_seen, rx_time, sizeof(struct os_reltime)); in p2p_add_device()
1702 os_get_reltime(&dev->last_seen); in p2p_add_dev_info()
2055 os_get_reltime(&dev->last_seen); in p2p_add_dev_from_probe_req()
2066 os_get_reltime(&dev->last_seen); in p2p_add_dev_from_probe_req()
2100 os_get_reltime(&dev->last_seen); in p2p_add_dev_from_go_neg_req()
4258 (int) (now.sec - dev->last_seen.sec), in p2p_get_peer_info_txt()
5346 os_get_reltime(&dev->last_seen); in p2p_process_nfc_connection_handover()