Lines Matching defs:tmp_ctx
79 TALLOC_CTX *tmp_ctx;
82 tmp_ctx = talloc_new(NULL);
83 if (tmp_ctx == NULL) {
88 msg = ldb_msg_new(tmp_ctx);
95 msg->dn = ldb_dn_new_fmt(tmp_ctx, sysdb->ldb,
135 el = talloc_zero(tmp_ctx, struct ldb_message_element);
195 talloc_zfree(tmp_ctx);
273 TALLOC_CTX *tmp_ctx = NULL;
289 tmp_ctx = talloc_new(NULL);
290 if (tmp_ctx == NULL) {
295 container_dn = ldb_dn_new(tmp_ctx, sysdb->ldb, SYSDB_TMPL_CERTMAP_BASE);
302 ret = ldb_search(sysdb->ldb, tmp_ctx, &res, container_dn, LDB_SCOPE_BASE,
312 ret = ldb_search(sysdb->ldb, tmp_ctx, &res,
327 maps = talloc_zero_array(tmp_ctx, struct certmap_info *, res->count + 1);
425 talloc_free(tmp_ctx);