masked_cons 95 drivers/xen/pvcalls-back.c RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; masked_cons 125 drivers/xen/pvcalls-back.c masked_cons = pvcalls_mask(cons, array_size); masked_cons 128 drivers/xen/pvcalls-back.c if (masked_prod < masked_cons) { masked_cons 485 drivers/xen/pvcalls-front.c RING_IDX cons, prod, size, masked_prod, masked_cons; masked_cons 506 drivers/xen/pvcalls-front.c masked_cons = pvcalls_mask(cons, array_size); masked_cons 508 drivers/xen/pvcalls-front.c if (masked_prod < masked_cons) { masked_cons 580 drivers/xen/pvcalls-front.c RING_IDX cons, prod, size, masked_prod, masked_cons; masked_cons 592 drivers/xen/pvcalls-front.c masked_cons = pvcalls_mask(cons, array_size); masked_cons 600 drivers/xen/pvcalls-front.c if (masked_prod > masked_cons) { masked_cons 601 drivers/xen/pvcalls-front.c len = copy_to_iter(data->in + masked_cons, len, msg_iter); masked_cons 603 drivers/xen/pvcalls-front.c if (len > (array_size - masked_cons)) { masked_cons 604 drivers/xen/pvcalls-front.c int ret = copy_to_iter(data->in + masked_cons, masked_cons 605 drivers/xen/pvcalls-front.c array_size - masked_cons, msg_iter); masked_cons 606 drivers/xen/pvcalls-front.c if (ret != array_size - masked_cons) { masked_cons 612 drivers/xen/pvcalls-front.c len = copy_to_iter(data->in + masked_cons, len, msg_iter); masked_cons 358 include/xen/interface/io/ring.h RING_IDX *masked_cons, \ masked_cons 361 include/xen/interface/io/ring.h if (*masked_cons < masked_prod || \ masked_cons 362 include/xen/interface/io/ring.h size <= ring_size - *masked_cons) { \ masked_cons 363 include/xen/interface/io/ring.h memcpy(opaque, buf + *masked_cons, size); \ masked_cons 365 include/xen/interface/io/ring.h memcpy(opaque, buf + *masked_cons, ring_size - *masked_cons); \ masked_cons 366 include/xen/interface/io/ring.h memcpy((unsigned char *)opaque + ring_size - *masked_cons, buf, \ masked_cons 367 include/xen/interface/io/ring.h size - (ring_size - *masked_cons)); \ masked_cons 369 include/xen/interface/io/ring.h *masked_cons = name##_mask(*masked_cons + size, ring_size); \ masked_cons 376 include/xen/interface/io/ring.h RING_IDX masked_cons, \ masked_cons 379 include/xen/interface/io/ring.h if (*masked_prod < masked_cons || \ masked_cons 142 net/9p/trans_xen.c RING_IDX cons, prod, masked_cons, masked_prod; masked_cons 177 net/9p/trans_xen.c masked_cons = xen_9pfs_mask(cons, XEN_9PFS_RING_SIZE); masked_cons 180 net/9p/trans_xen.c &masked_prod, masked_cons, XEN_9PFS_RING_SIZE); masked_cons 197 net/9p/trans_xen.c RING_IDX cons, prod, masked_cons, masked_prod; masked_cons 217 net/9p/trans_xen.c masked_cons = xen_9pfs_mask(cons, XEN_9PFS_RING_SIZE); masked_cons 221 net/9p/trans_xen.c masked_prod, &masked_cons, masked_cons 236 net/9p/trans_xen.c masked_cons = xen_9pfs_mask(cons, XEN_9PFS_RING_SIZE); masked_cons 239 net/9p/trans_xen.c masked_prod, &masked_cons,