Home | History | Annotate | Download | only in XenPvBlkDxe

Lines Matching defs:XenBusIo

90   XENBUS_PROTOCOL *XenBusIo = Dev->XenBusIo;

93 XenBusIo->GrantEndAccess (XenBusIo, Dev->RingRef);
99 XenBusIo->EventChannelClose (XenBusIo, Dev->EventChannel);
122 XENBUS_PROTOCOL *XenBusIo = Dev->XenBusIo;
128 Status = XenBusReadUint64 (XenBusIo, "state", TRUE, &Value);
148 XenBusIo->WaitForWatch (XenBusIo, Dev->StateWatchToken);
160 IN XENBUS_PROTOCOL *XenBusIo,
179 Dev->XenBusIo = XenBusIo;
180 Dev->DeviceId = XenBusIo->DeviceId;
182 XenBusIo->XsRead (XenBusIo, XST_NIL, "device-type", (VOID**)&DeviceType);
191 Status = XenBusIo->XsBackendRead (XenBusIo, XST_NIL, "params", (VOID**)&Params);
204 Status = XenBusReadUint64 (XenBusIo, "backend-id", FALSE, &Value);
211 XenBusIo->EventChannelAllocate (XenBusIo, Dev->DomainId, &Dev->EventChannel);
216 XenBusIo->GrantAccess (XenBusIo,
223 Status = XenBusIo->XsTransactionStart (XenBusIo, &Transaction);
229 Status = XenBusIo->XsPrintf (XenBusIo, &Transaction, NodeName, "ring-ref", "%d",
235 Status = XenBusIo->XsPrintf (XenBusIo, &Transaction, NodeName,
241 Status = XenBusIo->XsPrintf (XenBusIo, &Transaction, NodeName,
248 Status = XenBusIo->SetState (XenBusIo, &Transaction, XenbusStateConnected);
254 Status = XenBusIo->XsTransactionEnd (XenBusIo, &Transaction, FALSE);
259 XenBusIo->RegisterWatchBackend (XenBusIo, "state", &Dev->StateWatchToken);
268 XenBusIo->Type, XenBusIo->DeviceId, Status, State));
272 Status = XenBusReadUint64 (XenBusIo, "info", TRUE, &Value);
283 Status = XenBusReadUint64 (XenBusIo, "sectors", TRUE, &Dev->MediaInfo.Sectors);
288 Status = XenBusReadUint64 (XenBusIo, "sector-size", TRUE, &Value);
304 XenBusReadUint64 (XenBusIo, "feature-barrier", TRUE, &Value);
313 XenBusReadUint64 (XenBusIo, "feature-flush-cache", TRUE, &Value);
327 XenBusIo->UnregisterWatch (XenBusIo, Dev->StateWatchToken);
328 XenBusIo->XsRemove (XenBusIo, XST_NIL, "ring-ref");
329 XenBusIo->XsRemove (XenBusIo, XST_NIL, "event-channel");
330 XenBusIo->XsRemove (XenBusIo, XST_NIL, "protocol");
333 XenBusIo->XsTransactionEnd (XenBusIo, &Transaction, TRUE);
344 XENBUS_PROTOCOL *XenBusIo = Dev->XenBusIo;
350 Status = XenBusIo->SetState (XenBusIo, XST_NIL, XenbusStateClosing);
366 Status = XenBusIo->SetState (XenBusIo, XST_NIL, XenbusStateClosed);
382 Status = XenBusIo->SetState (XenBusIo, XST_NIL, XenbusStateInitialising);
391 Status = XenBusReadUint64 (XenBusIo, "state", TRUE, &Value);
404 XenBusIo->WaitForWatch (XenBusIo, Dev->StateWatchToken);
408 XenBusIo->UnregisterWatch (XenBusIo, Dev->StateWatchToken);
409 XenBusIo->XsRemove (XenBusIo, XST_NIL, "ring-ref");
410 XenBusIo->XsRemove (XenBusIo, XST_NIL, "event-channel");
411 XenBusIo->XsRemove (XenBusIo, XST_NIL, "protocol");
441 XENBUS_PROTOCOL *XenBusIo = Dev->XenBusIo;
480 XenBusIo->GrantAccess (XenBusIo, Dev->DomainId,
493 ReturnCode = XenBusIo->EventChannelNotify (XenBusIo, Dev->EventChannel);
546 XENBUS_PROTOCOL *XenBusIo = Dev->XenBusIo;
548 ReturnCode = XenBusIo->EventChannelNotify (XenBusIo, Dev->EventChannel);
622 Dev->XenBusIo->GrantEndAccess (Dev->XenBusIo, IoData->GrantRef[Index]);