Lines Matching refs:lifetime
119 uint32_t lifetime; member
650 static bool sm_update_lifetime(int srv_obj_inst, uint32_t *lifetime) in sm_update_lifetime() argument
665 if (new_lifetime != *lifetime) { in sm_update_lifetime()
666 *lifetime = new_lifetime; in sm_update_lifetime()
717 client.lifetime = 0U; in sm_do_init()
934 if (sm_update_lifetime(client.ctx->srv_obj_inst, &client.lifetime) || in sm_send_registration()
937 "lt=%d", client.lifetime); in sm_send_registration()
1071 sm_update_lifetime(srv, &client.lifetime); in sm_do_registration()
1091 client.ep_name, client.lifetime, client.ctx->srv_obj_inst); in sm_do_registration()
1120 period = client.lifetime; in next_update()
1122 if (early > client.lifetime) { in next_update()
1123 early = client.lifetime; in next_update()
1126 next = MIN(period, client.lifetime - early); in next_update()
1375 (k_uptime_get() - client.last_update) / MSEC_PER_SEC > client.lifetime) { in sm_do_network_error()
1683 (client.lifetime <= (k_uptime_get() - client.last_update) / MSEC_PER_SEC)) { in lwm2m_rd_client_resume()