Lines Matching refs:update
133 struct app_key_update *update = &app_key_updates[i]; in app_key_update_find() local
135 if (!update->valid) { in app_key_update_find()
136 *free_slot = update; in app_key_update_find()
140 if (update->key_idx == key_idx) { in app_key_update_find()
141 match = update; in app_key_update_find()
150 struct app_key_update *update, *free_slot; in update_app_key_settings() local
155 update = app_key_update_find(app_idx, &free_slot); in update_app_key_settings()
156 if (update) { in update_app_key_settings()
157 update->clear = clear; in update_app_key_settings()
709 struct app_key_update *update = &app_key_updates[i]; in bt_mesh_app_key_pending_store() local
711 if (!update->valid) { in bt_mesh_app_key_pending_store()
715 update->valid = 0U; in bt_mesh_app_key_pending_store()
717 if (update->clear) { in bt_mesh_app_key_pending_store()
718 clear_app_key(update->key_idx); in bt_mesh_app_key_pending_store()
720 store_app_key(update->key_idx); in bt_mesh_app_key_pending_store()