Lines Matching refs:BT_MESH_KEY_UNUSED
64 .app_idx = BT_MESH_KEY_UNUSED,
65 .net_idx = BT_MESH_KEY_UNUSED,
196 if (!app && apps[i].app_idx == BT_MESH_KEY_UNUSED) { in app_key_alloc()
214 app->net_idx = BT_MESH_KEY_UNUSED; in app_key_del()
215 app->app_idx = BT_MESH_KEY_UNUSED; in app_key_del()
304 if (net_idx != BT_MESH_KEY_UNUSED && app->net_idx != net_idx) { in bt_mesh_app_key_update()
358 if (net_idx != BT_MESH_KEY_UNUSED && !bt_mesh_subnet_get(net_idx)) { in bt_mesh_app_key_del()
370 if (net_idx != BT_MESH_KEY_UNUSED && net_idx != app->net_idx) { in bt_mesh_app_key_del()
449 if (app->app_idx == BT_MESH_KEY_UNUSED) { in bt_mesh_app_keys_get()
583 return BT_MESH_KEY_UNUSED; in bt_mesh_app_key_find()
590 if (app->app_idx == BT_MESH_KEY_UNUSED) { in bt_mesh_app_key_find()
616 return BT_MESH_KEY_UNUSED; in bt_mesh_app_key_find()
628 if (app->app_idx == BT_MESH_KEY_UNUSED) { in subnet_evt()
655 if (app->app_idx != BT_MESH_KEY_UNUSED) { in bt_mesh_app_keys_reset()