Searched refs:rbi (Results 1 – 5 of 5) sorted by relevance
/drivers/hv/ |
D | ring_buffer.c | 52 struct hv_ring_buffer_info *rbi = &channel->outbound; in hv_signal_on_write() local 55 if (READ_ONCE(rbi->ring_buffer->interrupt_mask)) in hv_signal_on_write() 64 if (old_write == READ_ONCE(rbi->ring_buffer->read_index)) { in hv_signal_on_write() 140 hv_get_ringbuffer_availbytes(const struct hv_ring_buffer_info *rbi, in hv_get_ringbuffer_availbytes() argument 146 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_ringbuffer_availbytes() 147 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_ringbuffer_availbytes() 148 dsize = rbi->ring_datasize; in hv_get_ringbuffer_availbytes() 415 static u32 hv_pkt_iter_avail(const struct hv_ring_buffer_info *rbi) in hv_pkt_iter_avail() argument 417 u32 priv_read_loc = rbi->priv_read_index; in hv_pkt_iter_avail() 427 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index); in hv_pkt_iter_avail() [all …]
|
D | vmbus_drv.c | 1639 struct hv_ring_buffer_info *rbi = &channel->outbound; in out_mask_show() local 1642 mutex_lock(&rbi->ring_buffer_mutex); in out_mask_show() 1643 if (!rbi->ring_buffer) { in out_mask_show() 1644 mutex_unlock(&rbi->ring_buffer_mutex); in out_mask_show() 1648 ret = sprintf(buf, "%u\n", rbi->ring_buffer->interrupt_mask); in out_mask_show() 1649 mutex_unlock(&rbi->ring_buffer_mutex); in out_mask_show() 1656 struct hv_ring_buffer_info *rbi = &channel->inbound; in in_mask_show() local 1659 mutex_lock(&rbi->ring_buffer_mutex); in in_mask_show() 1660 if (!rbi->ring_buffer) { in in_mask_show() 1661 mutex_unlock(&rbi->ring_buffer_mutex); in in_mask_show() [all …]
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 575 struct vmxnet3_rx_buf_info *rbi; in vmxnet3_rq_alloc_rx_buf() local 578 rbi = rbi_base + ring->next2fill; in vmxnet3_rq_alloc_rx_buf() 581 if (rbi->buf_type == VMXNET3_RX_BUF_SKB) { in vmxnet3_rq_alloc_rx_buf() 582 if (rbi->skb == NULL) { in vmxnet3_rq_alloc_rx_buf() 583 rbi->skb = __netdev_alloc_skb_ip_align(adapter->netdev, in vmxnet3_rq_alloc_rx_buf() 584 rbi->len, in vmxnet3_rq_alloc_rx_buf() 586 if (unlikely(rbi->skb == NULL)) { in vmxnet3_rq_alloc_rx_buf() 591 rbi->dma_addr = dma_map_single( in vmxnet3_rq_alloc_rx_buf() 593 rbi->skb->data, rbi->len, in vmxnet3_rq_alloc_rx_buf() 596 rbi->dma_addr)) { in vmxnet3_rq_alloc_rx_buf() [all …]
|
/drivers/md/ |
D | raid5.c | 1074 struct bio *bi, *rbi; in ops_run_io() local 1097 rbi = &sh->dev[i].rreq; /* For writing to replacement */ in ops_run_io() 1240 bio_set_dev(rbi, rrdev->bdev); in ops_run_io() 1241 bio_set_op_attrs(rbi, op, op_flags); in ops_run_io() 1243 rbi->bi_end_io = raid5_end_write_request; in ops_run_io() 1244 rbi->bi_private = sh; in ops_run_io() 1249 rbi->bi_opf, i); in ops_run_io() 1254 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io() 1257 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io() 1262 rbi->bi_vcnt = 1; in ops_run_io() [all …]
|
/drivers/net/hyperv/ |
D | netvsc.c | 1500 struct hv_ring_buffer_info *rbi = &channel->inbound; in netvsc_channel_cb() local 1503 prefetch(hv_get_ring_buffer(rbi) + rbi->priv_read_index); in netvsc_channel_cb() 1507 hv_begin_read(rbi); in netvsc_channel_cb()
|