Lines Matching defs:ctx
164 struct files_id_ctx *ctx;
167 ctx = talloc_zero(mem_ctx, struct files_id_ctx);
168 if (ctx == NULL) {
172 ctx->be = be_ctx;
173 ctx->domain = be_ctx->domain;
175 ret = files_init_file_sources(ctx, be_ctx,
176 &ctx->passwd_files,
177 &ctx->group_files);
183 ctx->fctx = sf_init(ctx, be_ctx->ev,
184 ctx->passwd_files,
185 ctx->group_files,
186 ctx);
187 if (ctx->fctx == NULL) {
192 *_module_data = ctx;
196 talloc_free(ctx);
206 struct files_id_ctx *ctx;
208 ctx = talloc_get_type(module_data, struct files_id_ctx);
209 if (ctx == NULL) {
216 ctx, struct files_id_ctx,