Lines Matching defs:mem_ctx
1079 TALLOC_CTX *mem_ctx;
1090 if ((mem_ctx = talloc_init("set_sd")) == NULL) {
1095 prs_init(&pd, 0, mem_ctx, UNMARSHALL);
1113 talloc_destroy(mem_ctx);
1133 talloc_destroy(mem_ctx);
1137 talloc_destroy(mem_ctx);
2079 static size_t get_null_nt_acl(TALLOC_CTX *mem_ctx, SEC_DESC **ppsd)
2083 *ppsd = make_standard_sec_desc( mem_ctx, &global_sid_World, &global_sid_World, NULL, &sd_size);
2107 TALLOC_CTX *mem_ctx;
2129 if ((mem_ctx = talloc_init("call_nt_transact_query_security_desc")) == NULL) {
2139 sd_size = get_null_nt_acl(mem_ctx, &psd);
2145 talloc_destroy(mem_ctx);
2157 talloc_destroy(mem_ctx);
2167 talloc_destroy(mem_ctx);
2175 prs_init(&pd, 0, mem_ctx, MARSHALL);
2194 talloc_destroy(mem_ctx);
2202 talloc_destroy(mem_ctx);
2375 shadow_data->mem_ctx = shadow_mem_ctx;
2381 talloc_destroy(shadow_data->mem_ctx);
2404 talloc_destroy(shadow_data->mem_ctx);
2410 talloc_destroy(shadow_data->mem_ctx);
2439 talloc_destroy(shadow_data->mem_ctx);
3039 if ((state = TALLOC_P(conn->mem_ctx, struct trans_state)) == NULL) {