/external/android-clat/ |
tun.h | 24 #include "ring.h" 29 struct packet_ring ring; member in struct:tun_data
|
ring.c | 16 * ring.c - packet ring buffer functions 28 #include "ring.h" 50 struct packet_ring *ring = &tunnel->ring; local 51 ring->numblocks = TP_NUM_BLOCKS; 53 int total_frames = TP_FRAMES * ring->numblocks; 58 .tp_block_nr = ring->numblocks, // Number of blocks. 67 size_t buflen = TP_BLOCK_SIZE * ring->numblocks; 68 ring->base = mmap(NULL, buflen, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_LOCKED|MAP_POPULATE [all...] |
/external/libdrm/freedreno/ |
freedreno_ringbuffer.c | 42 struct fd_ringbuffer *ring; local 44 ring = pipe->funcs->ringbuffer_new(pipe, size); 45 if (!ring) 48 ring->size = size; 49 ring->pipe = pipe; 50 ring->start = ring->funcs->hostptr(ring); 51 ring->end = &(ring->start[size/4]) 144 struct fd_ringbuffer *ring = marker->ring; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_scene_queue.c | 53 struct util_ringbuffer *ring; member in struct:lp_scene_queue 66 queue->ring = util_ringbuffer_create( MAX_SCENE_QUEUE * 68 if (queue->ring == NULL) 83 util_ringbuffer_destroy(queue->ring); 97 ret = util_ringbuffer_dequeue(queue->ring, 118 util_ringbuffer_enqueue(queue->ring, &packet.header);
|
/prebuilts/go/darwin-x86/src/container/ring/ |
ring.go | 5 // Package ring implements operations on circular lists. 6 package ring package 8 // A Ring is an element of a circular list, or ring. 9 // Rings do not have a beginning or end; a pointer to any ring element 10 // serves as reference to the entire ring. Empty rings are represented 11 // as nil Ring pointers. The zero value for a Ring is a one-element 12 // ring with a nil Value. 14 type Ring struct [all...] |
ring_test.go | 5 package ring package 13 func dump(r *Ring) { 26 func verify(t *testing.T, r *Ring, N int, sum int) { 46 t.Errorf("forward ring sum = %d; expected %d", s, sum) 55 var p *Ring // previous element 99 r0 *Ring 100 r1 Ring 118 func makeN(n int) *Ring { 142 var r1b Ring 161 var r0 *Ring [all...] |
/prebuilts/go/linux-x86/src/container/ring/ |
ring.go | 5 // Package ring implements operations on circular lists. 6 package ring package 8 // A Ring is an element of a circular list, or ring. 9 // Rings do not have a beginning or end; a pointer to any ring element 10 // serves as reference to the entire ring. Empty rings are represented 11 // as nil Ring pointers. The zero value for a Ring is a one-element 12 // ring with a nil Value. 14 type Ring struct [all...] |
ring_test.go | 5 package ring package 13 func dump(r *Ring) { 26 func verify(t *testing.T, r *Ring, N int, sum int) { 46 t.Errorf("forward ring sum = %d; expected %d", s, sum) 55 var p *Ring // previous element 99 r0 *Ring 100 r1 Ring 118 func makeN(n int) *Ring { 142 var r1b Ring 161 var r0 *Ring [all...] |
/external/fio/ |
io_u_queue.h | 46 struct io_u **ring; member in struct:io_u_ring 49 int io_u_rinit(struct io_u_ring *ring, unsigned int nr); 50 void io_u_rexit(struct io_u_ring *ring); 55 r->ring[r->head] = io_u; 66 struct io_u *io_u = r->ring[r->tail]; 75 static inline int io_u_rempty(struct io_u_ring *ring) 77 return ring->head == ring->tail;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_ringbuffer.c | 26 struct util_ringbuffer *ring = CALLOC_STRUCT(util_ringbuffer); local 27 if (ring == NULL) 32 ring->buf = MALLOC( dwords * sizeof(unsigned) ); 33 if (ring->buf == NULL) 36 ring->mask = dwords - 1; 38 pipe_condvar_init(ring->change); 39 pipe_mutex_init(ring->mutex); 40 return ring; 43 FREE(ring->buf); 44 FREE(ring); [all...] |
/external/valgrind/memcheck/tests/x86-linux/ |
scalar.c | 1102 } ring = { 0, 0 }; local 1103 struct fake_aio_ring* ringptr = ˚ [all...] |
/development/ndk/platforms/android-21/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
virtio_ring.h | 32 /* Virtio ring descriptors: 16 bytes. These can chain together via "next". */ 47 __u16 ring[]; member in struct:vring_avail 61 struct vring_used_elem ring[]; member in struct:vring_used 74 /* The standard layout for the ring is a continuous chunk of memory which looks 82 * // A ring of available descriptor heads with free-running index. 90 * // A ring of used descriptor heads with free-running index. 102 vr->used = (void *)(((unsigned long)&vr->avail->ring[num] + align-1)
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-23/arch-mips/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-23/arch-mips64/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-23/arch-x86/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|
/prebuilts/ndk/current/platforms/android-23/arch-x86_64/usr/include/linux/ |
virtio_ring.h | 42 __u16 ring[]; member in struct:vring_avail 54 struct vring_used_elem ring[]; member in struct:vring_used 64 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 65 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
|