Home
last modified time | relevance | path

Searched refs:masked_cons (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/include/xen/interface/io/
Dring.h381 RING_IDX *masked_cons, \
384 if (*masked_cons < masked_prod || \
385 size <= ring_size - *masked_cons) { \
386 memcpy(opaque, buf + *masked_cons, size); \
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); \
399 RING_IDX masked_cons, \
402 if (*masked_prod < masked_cons || \
/kernel/linux/linux-5.10/net/9p/
Dtrans_xen.c142 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_request() local
177 masked_cons = xen_9pfs_mask(cons, XEN_9PFS_RING_SIZE(ring)); in p9_xen_request()
180 &masked_prod, masked_cons, in p9_xen_request()
198 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_response() local
218 masked_cons = xen_9pfs_mask(cons, XEN_9PFS_RING_SIZE(ring)); in p9_xen_response()
222 masked_prod, &masked_cons, in p9_xen_response()
245 masked_cons = xen_9pfs_mask(cons, XEN_9PFS_RING_SIZE(ring)); in p9_xen_response()
248 masked_prod, &masked_cons, in p9_xen_response()
/kernel/linux/linux-5.10/drivers/xen/
Dpvcalls-front.c486 RING_IDX cons, prod, size, masked_prod, masked_cons; in __write_ring() local
507 masked_cons = pvcalls_mask(cons, array_size); in __write_ring()
509 if (masked_prod < masked_cons) { in __write_ring()
581 RING_IDX cons, prod, size, masked_prod, masked_cons; in __read_ring() local
593 masked_cons = pvcalls_mask(cons, array_size); in __read_ring()
601 if (masked_prod > masked_cons) { in __read_ring()
602 len = copy_to_iter(data->in + masked_cons, len, msg_iter); in __read_ring()
604 if (len > (array_size - masked_cons)) { in __read_ring()
605 int ret = copy_to_iter(data->in + masked_cons, in __read_ring()
606 array_size - masked_cons, msg_iter); in __read_ring()
[all …]
Dpvcalls-back.c96 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; in pvcalls_conn_back_read() local
126 masked_cons = pvcalls_mask(cons, array_size); in pvcalls_conn_back_read()
129 if (masked_prod < masked_cons) { in pvcalls_conn_back_read()