Lines Matching refs:sub
295 struct bt_mesh_subnet *sub; in bt_mesh_app_key_update() local
308 sub = bt_mesh_subnet_get(app->net_idx); in bt_mesh_app_key_update()
309 if (!sub) { in bt_mesh_app_key_update()
318 if (sub->kr_phase != BT_MESH_KR_PHASE_1) { in bt_mesh_app_key_update()
473 struct bt_mesh_subnet **sub, in bt_mesh_keys_resolve() argument
482 *sub = bt_mesh_subnet_get(ctx->net_idx); in bt_mesh_keys_resolve()
483 if (!*sub) { in bt_mesh_keys_resolve()
518 *sub = bt_mesh_subnet_get(app->net_idx); in bt_mesh_keys_resolve()
519 if (!*sub) { in bt_mesh_keys_resolve()
524 if ((*sub)->kr_phase == BT_MESH_KR_PHASE_2 && app->updated) { in bt_mesh_keys_resolve()
594 if (app->net_idx != rx->sub->net_idx) { in bt_mesh_app_key_find()
619 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt() argument
632 if (app->net_idx != sub->net_idx) { in subnet_evt()