/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | tapdisk-ring.c | 48 memcpy(saddr.sun_path, ring->ctlfd_path, strlen(ring->ctlfd_path)); in tapdisk_uring_create_ctlfd() 68 ring->ctlfd = fd; in tapdisk_uring_create_ctlfd() 81 ring->ctlfd = 0; in tapdisk_uring_destroy_ctlfd() 115 ring->ctlfd = fd; in tapdisk_uring_connect_ctlfd() 126 if (ring->ctlfd) in tapdisk_uring_disconnect_ctlfd() 147 ring->shmem = mmap(NULL, ring->shmem_size, in tapdisk_uring_create_shmem() 166 munmap(ring->shmem, ring->shmem_size); in tapdisk_uring_destroy_shmem() 212 ring->shmem = mmap(NULL, ring->shmem_size, in tapdisk_uring_connect_shmem() 230 if (ring->shmem) in tapdisk_uring_disconnect_shmem() 231 munmap(ring->shmem, ring->shmem_size); in tapdisk_uring_disconnect_shmem() [all …]
|
A D | tapdisk-vbd.c | 606 td_ring_t *ring; in tapdisk_vbd_map_device() local 608 ring = &vbd->ring; in tapdisk_vbd_map_device() 626 ring->sring = (blkif_sring_t *)((unsigned long)ring->mem); in tapdisk_vbd_map_device() 627 BACK_RING_INIT(&ring->fe_ring, ring->sring, psize); in tapdisk_vbd_map_device() 629 ring->vstart = in tapdisk_vbd_map_device() 637 if (ring->mem && ring->mem != MAP_FAILED) in tapdisk_vbd_map_device() 641 ring->fd = -1; in tapdisk_vbd_map_device() 1018 ring = &vbd->ring; in tapdisk_vbd_kick() 1042 ring = &vbd->ring; in tapdisk_vbd_write_response_to_ring() 1368 ring = &vbd->ring; in tapdisk_vbd_issue_request() [all …]
|
A D | tapdisk-stream.c | 206 char *buf = (char *)MMAP_VADDR(s->vbd->ring.vstart, idx, 0); in tapdisk_stream_print_request() 378 free((void *)vbd->ring.vstart); in tapdisk_stream_close_image() 418 td_ring_t *ring; in tapdisk_stream_initialize_requests() local 421 ring = &s->vbd->ring; in tapdisk_stream_initialize_requests() 426 err = posix_memalign((void **)&ring->vstart, psize, size); in tapdisk_stream_initialize_requests() 429 ring->vstart = 0; in tapdisk_stream_initialize_requests()
|
A D | tapdisk-diff.c | 257 buf1 = (char *)MMAP_VADDR(stream1.vbd->ring.vstart, idx1, 0); in tapdisk_result_compare() 258 buf2 = (char *)MMAP_VADDR(stream2.vbd->ring.vstart, idx2, 0); in tapdisk_result_compare() 592 free((void *)vbd->ring.vstart); in tapdisk_stream_close_image() 603 td_ring_t *ring; in tapdisk_stream_initialize_requests() local 606 ring = &s->vbd->ring; in tapdisk_stream_initialize_requests() 611 err = posix_memalign((void **)&ring->vstart, psize, size); in tapdisk_stream_initialize_requests() 614 ring->vstart = 0; in tapdisk_stream_initialize_requests()
|
A D | block-remus.c | 214 static inline unsigned int ring_next(struct req_ring* ring, unsigned int pos) in ring_next() argument 222 static inline int ring_isempty(struct req_ring* ring) in ring_isempty() argument 224 return ring->head == ring->tail; in ring_isempty() 227 static inline int ring_isfull(struct req_ring* ring) in ring_isfull() argument 229 return ring_next(ring, ring->tail) == ring->head; in ring_isfull()
|
A D | tapdisk-vbd.h | 112 td_ring_t ring; member
|
/xen-4.10.0-shim-comet/tools/libvchan/ |
A D | init.c | 80 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() 311 ctrl->ring = NULL; in libxenvchan_server_init() [all …]
|
A D | io.c | 96 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 D | libxenvchan.h | 77 struct vchan_interface *ring; member
|
/xen-4.10.0-shim-comet/docs/misc/ |
A D | xenstore-ring.txt | 1 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 D | 9pfs.markdown | 88 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 D | pvcalls.markdown | 117 in the command ring. 119 ring-ref 221 to the backend. We shall refer to this ring as **commands ring** to 438 ring**. The data ring is used to send and receive data from the 510 - backend unmaps the data ring 645 Page and Data ring]. The **data ring** is used to send and receive data from 669 ring **in** and **out** arrays 851 ### Indexes Page and Data ring 975 #### Why ring.h is not needed argument 990 **out** ring. [all …]
|
A D | netif-staging-grants.pandoc | 76 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 …]
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xen-ringwatch | 98 yield ring 304 def kick(self, ring): 309 ring.poll() 313 ring.kick() 349 self.ring = ring 354 def new(cls, ring): 355 state = ring.read() 356 return cls(ring, state) 375 curr = self.ring.read() 407 key = ring.key() [all …]
|
/xen-4.10.0-shim-comet/xen/include/public/io/ |
A D | console.h | 32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) argument
|
A D | ring.h | 69 (__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 */ \ 228 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req)) 245 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
|
A D | tpmif.h | 63 struct tpmif_ring ring[TPMIF_TX_RING_SIZE]; member
|
/xen-4.10.0-shim-comet/xen/drivers/char/ |
A D | consoled.c | 32 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 D | console.c | 870 char *ring; in console_init_ring() local 879 while ( (ring = alloc_xenheap_pages(order, memflags)) == NULL ) in console_init_ring() 888 ring[i & (opt_conring_size - 1)] = conring[i & (conring_size - 1)]; in console_init_ring() 889 conring = ring; in console_init_ring()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | consoled.h | 8 void consoled_set_ring_addr(struct xencons_interface *ring);
|
/xen-4.10.0-shim-comet/tools/blktap2/control/ |
A D | tap-ctl-allocate.c | 187 err = tap_ctl_make_device(name, handle.ring, in tap_ctl_allocate_device() 217 handle.ring, handle.device, handle.minor); in tap_ctl_allocate_device()
|
/xen-4.10.0-shim-comet/tools/blktap2/include/ |
A D | blktap2.h | 56 unsigned int ring; member
|
/xen-4.10.0-shim-comet/xen/ |
A D | Kconfig.debug | 113 ELF images (dom0) will be logged in the Xen ring buffer. 120 logged in the Xen ring buffer.
|
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/ |
A D | oxenstored.conf.in | 71 # ring-scan-interval = 20
|
A D | domain.ml | 31 mutable io_credit: int; (* the rounds of ring process left to do, default is 0,
|