Lines Matching refs:rbi
1526 struct hv_ring_buffer_info *rbi = &channel->outbound; in out_mask_show() local
1529 mutex_lock(&rbi->ring_buffer_mutex); in out_mask_show()
1530 if (!rbi->ring_buffer) { in out_mask_show()
1531 mutex_unlock(&rbi->ring_buffer_mutex); in out_mask_show()
1535 ret = sprintf(buf, "%u\n", rbi->ring_buffer->interrupt_mask); in out_mask_show()
1536 mutex_unlock(&rbi->ring_buffer_mutex); in out_mask_show()
1543 struct hv_ring_buffer_info *rbi = &channel->inbound; in in_mask_show() local
1546 mutex_lock(&rbi->ring_buffer_mutex); in in_mask_show()
1547 if (!rbi->ring_buffer) { in in_mask_show()
1548 mutex_unlock(&rbi->ring_buffer_mutex); in in_mask_show()
1552 ret = sprintf(buf, "%u\n", rbi->ring_buffer->interrupt_mask); in in_mask_show()
1553 mutex_unlock(&rbi->ring_buffer_mutex); in in_mask_show()
1560 struct hv_ring_buffer_info *rbi = &channel->inbound; in read_avail_show() local
1563 mutex_lock(&rbi->ring_buffer_mutex); in read_avail_show()
1564 if (!rbi->ring_buffer) { in read_avail_show()
1565 mutex_unlock(&rbi->ring_buffer_mutex); in read_avail_show()
1569 ret = sprintf(buf, "%u\n", hv_get_bytes_to_read(rbi)); in read_avail_show()
1570 mutex_unlock(&rbi->ring_buffer_mutex); in read_avail_show()
1577 struct hv_ring_buffer_info *rbi = &channel->outbound; in write_avail_show() local
1580 mutex_lock(&rbi->ring_buffer_mutex); in write_avail_show()
1581 if (!rbi->ring_buffer) { in write_avail_show()
1582 mutex_unlock(&rbi->ring_buffer_mutex); in write_avail_show()
1586 ret = sprintf(buf, "%u\n", hv_get_bytes_to_write(rbi)); in write_avail_show()
1587 mutex_unlock(&rbi->ring_buffer_mutex); in write_avail_show()