Searched refs:rbi (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/staging/hv/ |
D | ring_buffer.c | 48 get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi, in get_ringbuffer_availbytes() argument 54 read_loc = rbi->ring_buffer->read_index; in get_ringbuffer_availbytes() 55 write_loc = rbi->ring_buffer->write_index; in get_ringbuffer_availbytes() 57 *write = BYTES_AVAIL_TO_WRITE(read_loc, write_loc, rbi->ring_datasize); in get_ringbuffer_availbytes() 58 *read = rbi->ring_datasize - *write; in get_ringbuffer_availbytes() 293 u32 get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *rbi) in get_ringbuffer_interrupt_mask() argument 295 return rbi->ring_buffer->interrupt_mask; in get_ringbuffer_interrupt_mask()
|
/linux-2.6.39/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 579 struct vmxnet3_rx_buf_info *rbi; in vmxnet3_rq_alloc_rx_buf() local 582 rbi = rbi_base + ring->next2fill; in vmxnet3_rq_alloc_rx_buf() 585 if (rbi->buf_type == VMXNET3_RX_BUF_SKB) { in vmxnet3_rq_alloc_rx_buf() 586 if (rbi->skb == NULL) { in vmxnet3_rq_alloc_rx_buf() 587 rbi->skb = dev_alloc_skb(rbi->len + in vmxnet3_rq_alloc_rx_buf() 589 if (unlikely(rbi->skb == NULL)) { in vmxnet3_rq_alloc_rx_buf() 593 rbi->skb->dev = adapter->netdev; in vmxnet3_rq_alloc_rx_buf() 595 skb_reserve(rbi->skb, NET_IP_ALIGN); in vmxnet3_rq_alloc_rx_buf() 596 rbi->dma_addr = pci_map_single(adapter->pdev, in vmxnet3_rq_alloc_rx_buf() 597 rbi->skb->data, rbi->len, in vmxnet3_rq_alloc_rx_buf() [all …]
|
/linux-2.6.39/kernel/ |
D | rcutorture.c | 742 struct rcu_boost_inflight rbi = { .inflight = 0 }; in rcu_torture_boost() local 771 if (!rbi.inflight) { in rcu_torture_boost() 773 rbi.inflight = 1; in rcu_torture_boost() 774 call_rcu(&rbi.rcu, rcu_torture_boost_cb); in rcu_torture_boost() 814 while (!kthread_should_stop() || rbi.inflight) in rcu_torture_boost()
|
/linux-2.6.39/drivers/md/ |
D | raid5.c | 645 struct bio *rbi, *rbi2; in ops_complete_biofill() local 648 rbi = dev->read; in ops_complete_biofill() 650 while (rbi && rbi->bi_sector < in ops_complete_biofill() 652 rbi2 = r5_next_bio(rbi, dev->sector); in ops_complete_biofill() 653 if (!raid5_dec_bi_phys_segments(rbi)) { in ops_complete_biofill() 654 rbi->bi_next = return_bi; in ops_complete_biofill() 655 return_bi = rbi; in ops_complete_biofill() 657 rbi = rbi2; in ops_complete_biofill() 683 struct bio *rbi; in ops_run_biofill() local 685 dev->read = rbi = dev->toread; in ops_run_biofill() [all …]
|