Lines Matching refs:list_ctx
291 struct ifp_list_ctx *list_ctx;
293 list_ctx = talloc_zero(sbus_req, struct ifp_list_ctx);
294 if (list_ctx == NULL) {
298 list_ctx->sbus_req = sbus_req;
299 list_ctx->limit = ifp_list_limit(ctx, limit);
300 list_ctx->ctx = ctx;
301 list_ctx->dom = ctx->rctx->domains;
302 list_ctx->filter = filter;
303 list_ctx->paths = talloc_zero_array(list_ctx, const char *, limit);
304 if (list_ctx->paths == NULL) {
305 talloc_free(list_ctx);
309 return list_ctx;
312 size_t ifp_list_ctx_remaining_capacity(struct ifp_list_ctx *list_ctx,
315 size_t capacity = list_ctx->limit - list_ctx->path_count;
320 "returned %zu entries\n", list_ctx->limit, entries);