Searched refs:ring_size (Results 1 – 9 of 9) sorted by relevance
/linux-4.19.296/include/xen/interface/io/ |
D | ring.h | 365 static inline RING_IDX name##_mask(RING_IDX idx, RING_IDX ring_size) \ 367 return idx & (ring_size - 1); \ 372 RING_IDX ring_size) \ 374 return buf + name##_mask(idx, ring_size); \ 382 RING_IDX ring_size) \ 385 size <= ring_size - *masked_cons) { \ 388 memcpy(opaque, buf + *masked_cons, ring_size - *masked_cons); \ 389 memcpy((unsigned char *)opaque + ring_size - *masked_cons, buf, \ 390 size - (ring_size - *masked_cons)); \ 392 *masked_cons = name##_mask(*masked_cons + size, ring_size); \ [all …]
|
/linux-4.19.296/drivers/xen/ |
D | evtchn.c | 67 unsigned int ring_size; member 98 return idx & (u->ring_size - 1); in evtchn_ring_offset() 173 if ((u->ring_prod - u->ring_cons) < u->ring_size) { in evtchn_interrupt() 229 if (((c ^ p) & u->ring_size) != 0) { in evtchn_read() 230 bytes1 = (u->ring_size - evtchn_ring_offset(u, c)) * in evtchn_read() 316 if (u->nr_evtchns <= u->ring_size) in evtchn_resize_ring() 319 if (u->ring_size == 0) in evtchn_resize_ring() 322 new_size = 2 * u->ring_size; in evtchn_resize_ring() 348 memcpy(new_ring, old_ring, u->ring_size * sizeof(*u->ring)); in evtchn_resize_ring() 349 memcpy(new_ring + u->ring_size, old_ring, in evtchn_resize_ring() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | hswadsp.h | 163 __field( int, ring_size ) 172 __entry->ring_size = stream->request.ringinfo.ring_size; 179 (int)__entry->num_pages, (int)__entry->ring_size,
|
/linux-4.19.296/include/uapi/drm/ |
D | i810_drm.h | 117 unsigned int ring_size; member 137 unsigned int ring_size; member
|
D | r128_drm.h | 235 int ring_size; member
|
D | radeon_drm.h | 576 int ring_size; member
|
D | i915_drm.h | 161 unsigned int ring_size; member
|
/linux-4.19.296/include/uapi/linux/ |
D | kfd_ioctl.h | 51 __u32 ring_size; /* to KFD */ member 74 __u32 ring_size; /* to KFD */ member
|
/linux-4.19.296/include/linux/ |
D | hyperv.h | 138 u32 ring_size; /* Include the shared header */ member
|