Home
last modified time | relevance | path

Searched refs:ring (Results 1 – 25 of 26) sorted by relevance

12

/xen/tools/libvchan/
A Dinit.c80 void *ring; in init_gnt_srv() local
86 if (!ring) in init_gnt_srv()
89 memset(ring, 0, PAGE_SIZE); in init_gnt_srv()
91 ctrl->ring = ring; in init_gnt_srv()
96 ctrl->ring->cli_live = 2; in init_gnt_srv()
97 ctrl->ring->srv_live = 1; in init_gnt_srv()
136 ctrl->ring = NULL; in init_gnt_srv()
150 if (!ctrl->ring) in init_gnt_cli()
210 ctrl->ring = 0; in init_gnt_cli()
322 ctrl->ring = NULL; in libxenvchan_server_init()
[all …]
A Dio.c96 uint8_t *notify = ctrl->is_server ? &ctrl->ring->cli_notify : &ctrl->ring->srv_notify; in request_notify()
105 notify = ctrl->is_server ? &ctrl->ring->srv_notify : &ctrl->ring->cli_notify; in send_notify()
348 return ctrl->server_persist ? 1 : ctrl->ring->cli_live; in libxenvchan_is_open()
350 return ctrl->ring->srv_live; in libxenvchan_is_open()
366 if (ctrl->ring) { in libxenvchan_close()
368 ctrl->ring->srv_live = 0; in libxenvchan_close()
369 xengntshr_unshare(ctrl->gntshr, ctrl->ring, 1); in libxenvchan_close()
371 ctrl->ring->cli_live = 0; in libxenvchan_close()
372 xengnttab_unmap(ctrl->gnttab, ctrl->ring, 1); in libxenvchan_close()
376 if (ctrl->ring) in libxenvchan_close()
A Dlibxenvchan.h77 struct vchan_interface *ring; member
/xen/docs/misc/
A Dxenstore-ring.txt1 The xenstore ring is a datastructure stored within a single 4KiB page
2 shared between the xenstore server and the guest. The ring contains
7 The xenstore ring datastructure
10 The following table describes the ring structure where
51 ring structure is updated the event channel must be signalled. The
52 guest and server are free to inspect the contents of the ring at any
68 1 Ring reconnection (see the ring reconnection feature below)
78 1 Ring close and reconnect is in progress (see the "ring
81 The ring reconnection feature
84 The ring reconnection feature allows the guest to ask the server to
[all …]
A D9pfs.pandoc88 max-ring-page-order
134 in the ring buffer. One for each ring.
136 ring-ref<num> (ring-ref0, ring-ref1, etc)
141 ring.
179 ring, which are used to setup the rings, and an event channel per ring,
230 /* not actually C compliant (ring_order changes from ring to ring) */
287 ## Why ring.h is not needed
291 actually comes with two rings: the **in** ring and the **out** ring.
302 **out** ring.
313 what [ring.h] does.
[all …]
A Dpvcalls.pandoc117 in the command ring.
119 ring-ref
221 to the backend. We shall refer to this ring as **commands ring** to
430 ring**. The data ring is used to send and receive data from the
502 - backend unmaps the data ring
637 Page and Data ring]. The **data ring** is used to send and receive data from
661 ring **in** and **out** arrays
843 ### Indexes Page and Data ring
967 #### Why ring.h is not needed
982 **out** ring.
[all …]
A Dnetif-staging-grants.pandoc76 in the grant table - 0 .. N) in their command ring.
82 The view of the shared transmit ring is the following:
155 14) Backend consume a request from the ring
211 [optional, if backend is polling the ring and never sleeps]
277 The view of the shared receive ring is the following:
333 6) Gets a response from the ring for this data slot.
335 7) Prefill expected response ring with the request `id` and slot size.
339 9) Gets a request from the ring for the first extra info [optional]
359 17) Consumes a response from the ring (first response for a packet)
390 [optional, if frontend is polling the ring and never sleeps]
[all …]
A Dxenstore-paths.pandoc336 communication ring.
338 #### ~/store/ring-ref = GNTREF [DEPRECATED]
340 The grant reference of the domain's XenStore ring.
/xen/xen/common/
A Dargo.c652 ring->rx_ptr = rx_ptr; in get_sanitized_ring()
660 xen_argo_ring_t ring; in ringbuf_payload_space() local
674 ring.tx_ptr, ring.rx_ptr); in ringbuf_payload_space()
684 ret = ring.rx_ptr - ring.tx_ptr; in ringbuf_payload_space()
771 xen_argo_ring_t ring; in ringbuf_insert() local
800 ring.tx_ptr, ring.rx_ptr, ring_info->len, ring_info->tx_ptr); in ringbuf_insert()
802 if ( ring.rx_ptr == ring.tx_ptr ) in ringbuf_insert()
806 sp = ring.rx_ptr - ring.tx_ptr; in ringbuf_insert()
854 ring.tx_ptr = 0; in ringbuf_insert()
963 ring.tx_ptr = ROUNDUP_MESSAGE(ring.tx_ptr); in ringbuf_insert()
[all …]
/xen/xen/include/public/io/
A Dconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) argument
A Dring.h69 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \
70 sizeof(((struct _s##_sring *)0)->ring[0])))
75 (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
131 union __name##_sring_entry ring[1]; /* variable-length */ \
232 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
249 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
A Dtpmif.h63 struct tpmif_ring ring[TPMIF_TX_RING_SIZE]; member
/xen/docs/designs/
A Dargo.pandoc36 available for incoming data by the ring indexes.
74 ring-registering domain has authorized to send data via the ring. The complete
81 * Per-ring: `L3_lock`
97 other domains that are waiting for ring space availability.
120 the ring is torn down, or when the awaiting domain is destroyed.
123 triggered by the ring owner domain, rather than the domain waiting for
139 per-ring data structures.
140 * There is a lock per ring (`L3`) to protect the per-ring data structure,
243 * The domain that registered the ring.
272 is insufficient ring space available at the time.
[all …]
A Dxenstore-migration.md168 | `conn-type` | 0x0000: shared ring |
199 For `shared ring` connections it is as follows:
A Dnon-cooperative-migration.md189 *mailbox* to notify each other when a shared ring has been updated with new
219 directly into the request structures passed via a shared ring.
/xen/xen/include/public/
A Dargo.h85 uint8_t ring[XEN_FLEX_ARRAY_DIM]; member
124 struct xen_argo_addr ring; member
/xen/xen/drivers/char/
A Dconsoled.c32 void consoled_set_ring_addr(struct xencons_interface *ring) in consoled_set_ring_addr() argument
34 cons_ring = ring; in consoled_set_ring_addr()
A Dconsole.c1025 char *ring; in console_init_ring() local
1034 while ( (ring = alloc_xenheap_pages(order, memflags)) == NULL ) in console_init_ring()
1043 ring[i & (opt_conring_size - 1)] = conring[i & (conring_size - 1)]; in console_init_ring()
1044 conring = ring; in console_init_ring()
/xen/xen/include/xen/
A Dconsoled.h8 void consoled_set_ring_addr(struct xencons_interface *ring);
/xen/xen/
A DKconfig.debug90 ELF images (dom0) will be logged in the Xen ring buffer.
97 logged in the Xen ring buffer.
/xen/tools/ocaml/libs/xc/
A Dxenctrl_stubs.c638 CAMLlocal1(ring); in stub_xc_readconsolering()
682 ring = caml_alloc_string(count); in stub_xc_readconsolering()
683 memcpy((char *) String_val(ring), str, count); in stub_xc_readconsolering()
686 CAMLreturn(ring); in stub_xc_readconsolering()
/xen/tools/ocaml/xenstored/
A Ddomain.ml31 mutable io_credit: int; (* the rounds of ring process left to do, default is 0,
A Doxenstored.conf.in82 # ring-scan-interval = 20
A Dxenstored.ml122 ("ring-scan-interval", Config.Set_int ring_scan_interval);
/xen/xen/xsm/flask/policy/
A Daccess_vectors536 # Domain requesting registration of a communication ring
539 # Domain requesting registration of a communication ring

Completed in 31 milliseconds

12