Lines Matching defs:cb_ctx
87 struct be_cb_ctx *cb_ctx = talloc_get_type(pvt, struct be_cb_ctx);
93 next_cb = cb_ctx->callback->next;
96 cb_ctx->callback->cb(cb_ctx->callback->pvt);
99 cb_ctx->callback = next_cb;
103 tev = tevent_add_timer(cb_ctx->be->ev, cb_ctx, soon,
105 cb_ctx);
116 * get freed with the cb_ctx
118 talloc_steal(cb_ctx->be, te);
119 talloc_free(cb_ctx);
126 struct be_cb_ctx *cb_ctx;
132 cb_ctx = talloc(be, struct be_cb_ctx);
133 if (!cb_ctx) {
138 cb_ctx->be = be;
139 cb_ctx->callback = cb_list;
143 te = tevent_add_timer(be->ev, cb_ctx, soon,
145 cb_ctx);
149 talloc_free(cb_ctx);