Searched refs:ring_buffer (Results 1 – 6 of 6) sorted by relevance
/drivers/hv/ |
D | ring_buffer.c | 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() 74 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location() 84 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location() 92 ring_info->ring_buffer->read_index = next_read_location; in hv_set_next_read_location() 107 return (u64)ring_info->ring_buffer->write_index << 32; in hv_get_ring_bufferindices() 120 void *ring_buffer = hv_get_ring_buffer(ring_info); in hv_copyto_ringbuffer() local 123 memcpy(ring_buffer + start_write_offset, src, srclen); in hv_copyto_ringbuffer() 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() [all …]
|
D | Makefile | 11 channel_mgmt.o ring_buffer.o hv_trace.o
|
D | vmbus_drv.c | 1643 if (!rbi->ring_buffer) { in out_mask_show() 1648 ret = sprintf(buf, "%u\n", rbi->ring_buffer->interrupt_mask); in out_mask_show() 1660 if (!rbi->ring_buffer) { in in_mask_show() 1665 ret = sprintf(buf, "%u\n", rbi->ring_buffer->interrupt_mask); in in_mask_show() 1677 if (!rbi->ring_buffer) { in read_avail_show() 1694 if (!rbi->ring_buffer) { in write_avail_show()
|
/drivers/uio/ |
D | uio_hv_generic.c | 84 dev->channel->inbound.ring_buffer->interrupt_mask = !irq_state; in hv_uio_irqcontrol() 99 chan->inbound.ring_buffer->interrupt_mask = 1; in hv_uio_channel_cb() 132 void *ring_buffer = page_address(channel->ringbuffer_page); in hv_uio_ring_mmap() local 137 return vm_iomap_memory(vma, virt_to_phys(ring_buffer), in hv_uio_ring_mmap() 168 new_sc->inbound.ring_buffer->interrupt_mask = 1; in hv_uio_new_channel() 213 dev->channel->inbound.ring_buffer->interrupt_mask = 1; in hv_uio_open() 241 void *ring_buffer; in hv_uio_probe() local 272 ring_buffer = page_address(channel->ringbuffer_page); in hv_uio_probe() 274 = (uintptr_t)virt_to_phys(ring_buffer); in hv_uio_probe()
|
/drivers/usb/misc/ |
D | ldusb.c | 160 char *ring_buffer; member 210 kfree(dev->ring_buffer); in ld_usb_delete() 246 …actual_buffer = (size_t *)(dev->ring_buffer + dev->ring_head * (sizeof(size_t)+dev->interrupt_in_e… in ld_usb_interrupt_in_callback() 483 …actual_buffer = (size_t *)(dev->ring_buffer + dev->ring_tail * (sizeof(size_t)+dev->interrupt_in_e… in ld_usb_read() 699 dev->ring_buffer = kcalloc(ring_buffer_size, in ld_usb_probe() 702 if (!dev->ring_buffer) in ld_usb_probe()
|
/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
D | ia_css_debug.c | 140 static char ring_buffer[200]; variable 2604 if (strlen(ring_buffer) > 0) { in ia_css_debug_pipe_graph_dump_epilogue() 2605 dtrace_dot(ring_buffer); in ia_css_debug_pipe_graph_dump_epilogue() 2634 memset(ring_buffer, 0, sizeof(ring_buffer)); in ia_css_debug_pipe_graph_dump_epilogue() 2868 snprintf(ring_buffer, sizeof(ring_buffer), in ia_css_debug_pipe_graph_dump_sp_raw_copy() 2876 dtrace_dot(ring_buffer); in ia_css_debug_pipe_graph_dump_sp_raw_copy()
|