Lines Matching defs:ctx
210 drv->status = drv->ops->init(&drv->ctx);
356 creation_context_t ctx = {
361 devhost_set_creation_context(&ctx);
362 r = drv->ops->create(drv->ctx, &parent, "proxy", args, hin[2]);
369 if ((newios->dev = ctx.child) == nullptr) {
407 creation_context_t ctx = {
412 devhost_set_creation_context(&ctx);
413 r = drv->ops->bind(drv->ctx, ios->dev);
416 if ((r == ZX_OK) && (ctx.child == nullptr)) {
439 ios->dev->ops->rxrpc(ios->dev->ctx, ZX_HANDLE_INVALID);
564 r = ios->dev->ops->rxrpc(ios->dev->ctx, ph->handle);
636 }* ctx = nullptr;
638 if (ctx == nullptr) {
639 if ((ctx = static_cast<decltype(ctx)>(calloc(1, sizeof(*ctx)))) == nullptr) {
642 new (ctx) Context;
643 ctx->handle = devhost_log_handle;
652 if (ctx->next) {
654 zx_debuglog_write(ctx->handle, flags, ctx->data, ctx->next);
655 ctx->next = 0;
662 ctx->data[ctx->next++] = c;
663 if (ctx->next == LOGBUF_MAX) {