Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 80) sorted by relevance

1234

/tools/libs/vchan/
A Dinit.c75 int pages_left = ctrl->read.order >= PAGE_SHIFT ? 1 << (ctrl->read.order - PAGE_SHIFT) : 0; in init_gnt_srv()
90 ctrl->read.shr = &ctrl->ring->left; in init_gnt_srv()
98 switch (ctrl->read.order) { in init_gnt_srv()
108 if (!ctrl->read.buffer) in init_gnt_srv()
154 ctrl->read.shr = &ctrl->ring->right; in init_gnt_cli()
157 if (ctrl->read.order < SMALL_RING_SHIFT || ctrl->read.order > MAX_RING_SHIFT) in init_gnt_cli()
159 if (ctrl->read.order == ctrl->write.order && ctrl->read.order < PAGE_SHIFT) in init_gnt_cli()
182 switch (ctrl->read.order) { in init_gnt_cli()
194 if (!ctrl->read.buffer) in init_gnt_cli()
352 ctrl->read.order = SMALL_RING_SHIFT; in libxenvchan_server_init()
[all …]
A Dio.c56 return ctrl->read.shr->prod; in rd_prod()
61 return &ctrl->read.shr->cons; in _rd_cons()
78 return ctrl->read.buffer; in rd_ring()
93 return (1 << ctrl->read.order); in rd_ring_size()
364 if (ctrl->read.order >= PAGE_SHIFT) in libxenvchan_close()
365 munmap(ctrl->read.buffer, 1 << ctrl->read.order); in libxenvchan_close()
/tools/python/xen/migration/
A Dverify.py20 def __init__(self, info, read): argument
23 self.read = read
27 _ = self.read(nr_bytes)
A Dlibxl.py74 def __init__(self, info, read): argument
75 VerifyBase.__init__(self, info, read)
157 VerifyLibxc(self.info, self.read).verify()
/tools/ocaml/xenstored/
A Dpoll.ml16 (* The [read], [write], [except] are fields mapped to the POLLIN/OUT/PRI
20 mutable read: bool; RecordField
29 which we can read from /proc/sys. *)
37 let init_event () = {read = false; write = false; except = false}
48 List.iter (add_event (fun x -> x.read <- true)) in_fds;
61 (if event.read then fd :: r else r),
A Doxenstored.conf.in49 # for xenstore entries that they would've been able to read.
52 # for xenstore entries that they cannot read. The watch event contains
/tools/xenstored/
A Dposix.c153 rc = read(fd, str, sizeof(str) - 1); in get_xenbus_evtchn()
223 while ((rc = read(conn->fd, data, len)) < 0) { in readfd()
266 .read = readfd,
388 if (read(reopen_log_pipe[0], &c, 1) != 1) in handle_special_fds()
/tools/ocaml/libs/xs/
A Dxst.ml20 read: string -> string; RecordField
33 read = (fun path -> Xsraw.read tid path xsh);
A Dxs.ml26 read: string -> string; RecordField
47 read = (fun path -> Xsraw.read 0 path con);
97 (* Returns true if a watch event read from the socket satisfied us *)
102 (* If data is available for reading then read it *)
A Dxsraw.ml159 (** Check paths are suitable for read/write/mkdir/rm/directory etc (NOT watches) *)
185 let read tid path con = function
187 sync (Queueop.read tid path) con
190 List.map (fun path -> validate_path path; read tid path con)
/tools/firmware/vgabios/
A Dvbe_display_api.txt128 Next, the parameter value can be read or written.
142 This parameter can be used to read/write the vbe display X resolution (in pixels).
150 This parameter can be used to read/write the vbe display Y resolution (in pixels).
158 This parameter can be used to read/write the vbe display BPP.
166 This parameter can be used to read/write the vbe ENABLED state.
174 This parameter can be used to read/write the current selected BANK (at 0xA0000).
179 This parameter can be used to read/write the current virtual width.
185 This parameter can be read in order to obtain the current virtual height.
/tools/hotplug/Linux/
A Dxen-hotplug-common.sh.in64 local v=$(xenstore-read "$@" || true)
65 [ "$v" != "" ] || fatal "xenstore-read $@ failed."
77 xenstore-read "$1" 2>/dev/null || echo "$2"
/tools/misc/
A Dxencov_split24 s = f.read(4)
31 content = f.read()
/tools/ocaml/libs/mmap/
A Dxenmmap.ml26 (* read: interface -> start -> length -> data *)
27 external read: mmap_interface -> int -> int -> string = "stub_mmap_read"
A Dxenmmap.mli24 external read : mmap_interface -> int -> int -> string = "stub_mmap_read"
/tools/xs-clients/
A D.gitignore7 /xenstore-read
/tools/libs/evtchn/
A Dminios.c198 file->read = true; in evtchn_handler()
344 file->read = false; in xenevtchn_pending()
357 file->read = true; in xenevtchn_pending()
A Dlinux.c129 if ( read(fd, &port, sizeof(port)) != sizeof(port) ) in xenevtchn_pending()
/tools/flask/policy/modules/
A Dnomigrate.te2 # once built, dom0 cannot read their memory.
/tools/debugger/gdbsx/gx/
A Dgx_comm.c168 bufcnt = read(remote_fd, buf, sizeof (buf)); in readchar()
311 cc = read(remote_fd, buf3, 1); in gx_putpkt()
/tools/xenpaging/
A Dfile_ops.c55 return file_op(fd, page, i, &read); in read_page()
/tools/include/
A Dlibxenvchan.h88 struct libxenvchan_ring read, write; member
/tools/flask/utils/
A Dloadpolicy.c83 ret = read(polFd, polMemCp, info.st_size); in main()
/tools/xl/
A Dxl_flask.c115 ret = read(polFd, polMemCp, info.st_size); in main_loadpolicy()
/tools/pygrub/src/
A Dpygrub200 buf = os.read(fd, read_size_roundup(fd, 0x8006))
220 buf = os.read(fd, 512)
239 buf = os.read(fd, 512)
245 buf = os.read(fd, read_size_roundup(fd, partsize))
271 buf = os.read(fd, 512)
599 buf = f.read(FS_READ_MAX)
896 data = datafile.read(FS_READ_MAX, dataoff)

Completed in 385 milliseconds

1234