package mirage-block-xen

  1. Overview
  2. Docs

Module BlkbackSource

Sourceval src : Logs.src
Sourcemodule type ACTIVATIONS = sig ... end

Event channels handlers.

Sourcemodule Gntref = Xen_os.Xen.Gntref
Sourcetype ops = {
  1. read : int64 -> Cstruct.t list -> unit Lwt.t;
  2. write : int64 -> Cstruct.t list -> unit Lwt.t;
}
Sourcetype stats = {
  1. ring_utilisation : int array;
  2. segments_per_request : int array;
  3. mutable total_requests : int;
  4. mutable total_ok : int;
  5. mutable total_error : int;
}
Sourcetype ('a, 'b) t = {
  1. domid : int;
  2. xe : Xen_os.Eventchn.handle;
  3. evtchn : Xen_os.Eventchn.t;
  4. ring : ('a, 'b) Ring.Rpc.Back.t;
  5. ops : ops;
  6. parse_req : Cstruct.t -> Blkproto.Req.t;
}
Sourceval page_size : int
Sourcemodule Opt : sig ... end
Sourcemodule Request : sig ... end
Sourceval is_writable : Blkproto.Req.t -> bool
Sourcemodule Make (A : ACTIVATIONS) (X : Xs_client_lwt.S) (B : Mirage_block.S) : sig ... end
OCaml

Innovation. Community. Security.