Lines Matching refs:update
131 struct net_key_update *update = &net_key_updates[i]; in net_key_update_find() local
133 if (!update->valid) { in net_key_update_find()
134 *free_slot = update; in net_key_update_find()
138 if (update->key_idx == key_idx) { in net_key_update_find()
139 match = update; in net_key_update_find()
163 struct net_key_update *update, *free_slot; in update_subnet_settings() local
168 update = net_key_update_find(net_idx, &free_slot); in update_subnet_settings()
169 if (update) { in update_subnet_settings()
170 update->clear = clear; in update_subnet_settings()
1005 struct net_key_update *update = &net_key_updates[i]; in bt_mesh_subnet_pending_store() local
1007 if (!update->valid) { in bt_mesh_subnet_pending_store()
1011 update->valid = 0U; in bt_mesh_subnet_pending_store()
1013 if (update->clear) { in bt_mesh_subnet_pending_store()
1014 clear_net_key(update->key_idx); in bt_mesh_subnet_pending_store()
1016 store_subnet(update->key_idx); in bt_mesh_subnet_pending_store()