Home
last modified time | relevance | path

Searched refs:ring_size (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/include/xen/interface/io/
Dring.h365 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/
Devtchn.c67 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/
Dhswadsp.h163 __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/
Di810_drm.h117 unsigned int ring_size; member
137 unsigned int ring_size; member
Dr128_drm.h235 int ring_size; member
Dradeon_drm.h576 int ring_size; member
Di915_drm.h161 unsigned int ring_size; member
/linux-4.19.296/include/uapi/linux/
Dkfd_ioctl.h51 __u32 ring_size; /* to KFD */ member
74 __u32 ring_size; /* to KFD */ member
/linux-4.19.296/include/linux/
Dhyperv.h138 u32 ring_size; /* Include the shared header */ member