Searched refs:masked_prod (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/include/xen/interface/io/ |
D | ring.h | 380 RING_IDX masked_prod, \ 384 if (*masked_cons < masked_prod || \ 398 RING_IDX *masked_prod, \ 402 if (*masked_prod < masked_cons || \ 403 size <= ring_size - *masked_prod) { \ 404 memcpy(buf + *masked_prod, opaque, size); \ 406 memcpy(buf + *masked_prod, opaque, ring_size - *masked_prod); \ 407 memcpy(buf, (unsigned char *)opaque + (ring_size - *masked_prod), \ 408 size - (ring_size - *masked_prod)); \ 410 *masked_prod = name##_mask(*masked_prod + size, ring_size); \
|
/linux-4.19.296/drivers/xen/ |
D | pvcalls-front.c | 494 RING_IDX cons, prod, size, masked_prod, masked_cons; in __write_ring() local 514 masked_prod = pvcalls_mask(prod, array_size); in __write_ring() 517 if (masked_prod < masked_cons) { in __write_ring() 518 len = copy_from_iter(data->out + masked_prod, len, msg_iter); in __write_ring() 520 if (len > array_size - masked_prod) { in __write_ring() 521 int ret = copy_from_iter(data->out + masked_prod, in __write_ring() 522 array_size - masked_prod, msg_iter); in __write_ring() 523 if (ret != array_size - masked_prod) { in __write_ring() 529 len = copy_from_iter(data->out + masked_prod, len, msg_iter); in __write_ring() 589 RING_IDX cons, prod, size, masked_prod, masked_cons; in __read_ring() local [all …]
|
D | pvcalls-back.c | 105 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; in pvcalls_conn_back_read() local 134 masked_prod = pvcalls_mask(prod, array_size); in pvcalls_conn_back_read() 138 if (masked_prod < masked_cons) { in pvcalls_conn_back_read() 139 vec[0].iov_base = data->in + masked_prod; in pvcalls_conn_back_read() 143 vec[0].iov_base = data->in + masked_prod; in pvcalls_conn_back_read() 144 vec[0].iov_len = array_size - masked_prod; in pvcalls_conn_back_read()
|