Lines Matching defs:new_ctp
351 ct_entry *dbenv_ctp, *new_ctp;
387 if ((new_ctp = __dbsrv_shareenv(dbenv_ctp, fullhome, shareflags))
393 printf("Sharing env ID %ld\n", new_ctp->ct_id);
394 replyp->envcl_id = new_ctp->ct_id;
1368 ct_entry *dbp_ctp, *new_ctp, *txnp_ctp;
1381 if ((new_ctp = __dbsrv_sharedb(dbp_ctp, name, subdb, type, flags))
1387 printf("Sharing db ID %ld\n", new_ctp->ct_id);
1388 replyp->dbcl_id = new_ctp->ct_id;
2311 ct_entry *dbc_ctp, *new_ctp;
2317 new_ctp = new_ct_ent(&replyp->status);
2318 if (new_ctp == NULL)
2322 new_ctp->ct_dbc = newdbc;
2323 new_ctp->ct_type = CT_CURSOR;
2324 new_ctp->ct_parent = dbc_ctp->ct_parent;
2325 new_ctp->ct_envparent = dbc_ctp->ct_envparent;
2330 new_ctp->ct_activep = dbc_ctp->ct_activep;
2331 __dbsrv_settimeout(new_ctp, dbc_ctp->ct_timeout);
2332 __dbsrv_active(new_ctp);
2333 replyp->dbcidcl_id = new_ctp->ct_id;
2335 __dbclear_ctp(new_ctp);