• Home
  • Raw
  • Download

Lines Matching refs:XenBusIo

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