Searched refs:con (Results 1 – 15 of 15) sorted by relevance
24 con: t; RecordField66 con = con;78 let get_domain con = con.dom115 con117 let get_fd con = Xenbus.Xb.get_fd con.xb171 con.nb_watches <- con.nb_watches + 1;183 con.nb_watches <- con.nb_watches - 1;225 let con = get_domstr watch.con in282 let do_input con = Xenbus.Xb.input con.xb294 has_more_input con || not (has_old_output con) && has_new_output con[all …]
49 if (only_if con) then (70 let del_anonymous cons con =74 Connection.close con89 Connection.close con104 (fun _id con acc ->105 if Connection.has_more_work con then con :: acc else acc)137 let del_watches cons con =138 Connection.del_watches con;160 iter cons (fun con ->169 let aux con =[all …]
53 let split_one_path data con =172 if not (Connection.is_dom0 con)207 fct con t doms cons data;224 fct con t doms cons data566 Connection.do_input con569 Connection.reconnect con;575 Connection.mark_as_bad con;589 write_access_log ~ty ~tid ~con:(Connection.get_domstr con) ~data;590 Connection.incr_ops con;602 write_answer_log ~ty ~tid ~con:(Connection.get_domstr con) ~data;[all …]
16 con: Connection.t; (* connection that made a change *) RecordField51 let end_transaction txn con tid commit =52 let success = Connection.end_transaction con tid commit in57 let dom = x.con.Connection.dom in64 (* The "mem" call is an optimisation, to avoid calling f if we have picked con already. *)68 && not (hist_rec.con == ignore)69 && not (Hashtbl.mem acc hist_rec.con)71 then Hashtbl.replace acc hist_rec.con ();
212 let string_of_tid ~con tid =214 then sprintf "%-12s" con215 else sprintf "%-12s" (sprintf "%s.%i" con tid)289 let access_logging ~con ~tid ?(data="") ~level access_type =294 let tid = string_of_tid ~con tid in305 let read_coalesce ~tid ~con data =312 let xb_op ~tid ~con ~ty data =322 let start_transaction ~tid ~con =326 let end_transaction ~tid ~con =330 let xb_answer ~tid ~con ~ty data =[all …]
61 let con = Connections.find_domain cons (Domain.get_id domain) in62 Process.do_input store cons domains con;63 Process.do_output store cons domains con;193 let con = Connections.find_domain cons domid in194 ignore (Connections.add_watch cons con path token)213 Connections.iter_domains cons (fun con -> Connection.dump con chan);368 let con = Connections.find_domain cons (Domain.get_id dom) in369 if not (Connection.has_more_work con) then (370 Process.do_output store cons domains con;371 Process.do_input store cons domains con;[all …]
197 let commit ~con t =215 Logging.write_coalesce ~tid:(get_id t) ~con (Store.Path.to_string p);218 Logging.read_coalesce ~tid:(get_id t) ~con (Store.Path.to_string p)251 then Logging.conflict ~tid:(get_id t) ~con253 then Logging.commit ~tid:(get_id t) ~con;
305 con->buffer.size < con->buffer.max_capacity) in buffer_available()341 xenevtchn_notify(con->xce_handle, con->local_port); in buffer_append()718 if (ring_ref != con->ring_ref && con->ring_ref != -1) in console_create_ring()721 if (!con->interface && xgt_handle && con->use_gnttab) { in console_create_ring()788 con->log_fd = create_console_log(con); in console_create_ring()837 con->d = dom; in console_init()1047 xenevtchn_notify(con->xce_handle, con->local_port); in handle_tty_read()1062 len = write(con->master_fd, con->buffer.data + con->buffer.consumed, in handle_tty_write()1063 con->buffer.size - con->buffer.consumed); in handle_tty_write()1198 con->log_fd = create_console_log(con); in console_open_log()[all …]
70 let queue con pkt = Queue.push pkt con.pkt_out126 let input con =186 let is_mmap con = not (is_fd con)188 let output_len con = Queue.length con.pkt_out189 let has_new_output con = Queue.length con.pkt_out > 0190 let has_old_output con = String.length con.partial_out > 0192 let has_output con = has_new_output con || has_old_output con194 let peek_output con = Queue.peek con.pkt_out196 let input_len con = Queue.length con.pkt_in197 let has_in_packet con = Queue.length con.pkt_in > 0[all …]
24 let directory tid path con = queue_path Xb.Op.Directory tid path con25 let read tid path con = queue_path Xb.Op.Read tid path con27 let getperms tid path con = queue_path Xb.Op.Getperms tid path con29 let debug commands con =32 let watch path data con =36 let unwatch path data con =40 let transaction_start con =53 let release domid con =57 let resume domid con =69 let mkdir tid path con = queue_path Xb.Op.Mkdir tid path con[all …]
31 type con = { type36 let close con =37 Xb.close con.xb87 let pkt_send con =97 let pkt_recv con =126 let has_watchevents con = Queue.length con.watchevents > 0127 let get_watchevent con = Queue.pop con.watchevents153 let sync f con =155 f con.xb;159 pkt_send con;[all …]
21 val close : con -> unit22 val open_fd : Unix.file_descr -> con28 val pkt_send : con -> unit29 val pkt_recv : con -> Xenbus.Xb.Packet.t32 val has_watchevents : con -> bool41 val debug : string list -> con -> string47 val transaction_start : con -> int50 val release : int -> con -> unit51 val resume : int -> con -> unit52 val getdomainpath : int -> con -> string[all …]
18 type con = Xsraw.con type23 con: con; RecordField43 let get_operations con = {44 con = con;47 read = (fun path -> Xsraw.read 0 path con);52 rm = (fun path -> Xsraw.rm 0 path con);57 release = (fun id -> Xsraw.release id con);58 resume = (fun id -> Xsraw.resume id con);64 let transaction xsh = Xst.transaction xsh.con133 if Xsraw.has_watchevents xsh.con[all …]
30 type con type33 con : con; RecordField55 val get_operations : con -> xsh
29 val get_operations : int -> Xsraw.con -> ops30 val transaction : Xsraw.con -> (ops -> 'a) -> 'a
Completed in 22 milliseconds