/linux-5.19.10/drivers/hv/ |
D | ring_buffer.c | 57 if (READ_ONCE(rbi->ring_buffer->interrupt_mask)) in hv_signal_on_write() 66 if (old_write == READ_ONCE(rbi->ring_buffer->read_index)) { in hv_signal_on_write() 76 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location() 86 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location() 100 return (u64)ring_info->ring_buffer->write_index << 32; in hv_get_ring_bufferindices() 113 void *ring_buffer = hv_get_ring_buffer(ring_info); in hv_copyto_ringbuffer() local 116 memcpy(ring_buffer + start_write_offset, src, srclen); in hv_copyto_ringbuffer() 139 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_ringbuffer_availbytes() 140 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_ringbuffer_availbytes() 157 if (!ring_info->ring_buffer) { in hv_ringbuffer_get_debuginfo() [all …]
|
D | Makefile | 11 channel_mgmt.o ring_buffer.o hv_trace.o
|
D | vmbus_drv.c | 1692 if (!rbi->ring_buffer) { in out_mask_show() 1697 ret = sprintf(buf, "%u\n", rbi->ring_buffer->interrupt_mask); in out_mask_show() 1709 if (!rbi->ring_buffer) { in in_mask_show() 1714 ret = sprintf(buf, "%u\n", rbi->ring_buffer->interrupt_mask); in in_mask_show() 1726 if (!rbi->ring_buffer) { in read_avail_show() 1743 if (!rbi->ring_buffer) { in write_avail_show()
|
/linux-5.19.10/tools/lib/bpf/ |
D | ringbuf.c | 34 struct ring_buffer { struct 42 static void ringbuf_unmap_ring(struct ring_buffer *rb, struct ring *r) in ringbuf_unmap_ring() argument 55 int ring_buffer__add(struct ring_buffer *rb, int map_fd, in ring_buffer__add() 143 void ring_buffer__free(struct ring_buffer *rb) in ring_buffer__free() 160 struct ring_buffer * 164 struct ring_buffer *rb; in ring_buffer__new() 253 int ring_buffer__consume(struct ring_buffer *rb) in ring_buffer__consume() 275 int ring_buffer__poll(struct ring_buffer *rb, int timeout_ms) in ring_buffer__poll() 299 int ring_buffer__epoll_fd(const struct ring_buffer *rb) in ring_buffer__epoll_fd()
|
D | libbpf.h | 1243 struct ring_buffer; 1253 LIBBPF_API struct ring_buffer * 1256 LIBBPF_API void ring_buffer__free(struct ring_buffer *rb); 1257 LIBBPF_API int ring_buffer__add(struct ring_buffer *rb, int map_fd, 1259 LIBBPF_API int ring_buffer__poll(struct ring_buffer *rb, int timeout_ms); 1260 LIBBPF_API int ring_buffer__consume(struct ring_buffer *rb); 1261 LIBBPF_API int ring_buffer__epoll_fd(const struct ring_buffer *rb);
|
/linux-5.19.10/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() 211 dev->channel->inbound.ring_buffer->interrupt_mask = 1; in hv_uio_open() 239 void *ring_buffer; in hv_uio_probe() local 270 ring_buffer = page_address(channel->ringbuffer_page); in hv_uio_probe() 272 = (uintptr_t)virt_to_phys(ring_buffer); in hv_uio_probe()
|
/linux-5.19.10/include/linux/ |
D | hyperv.h | 172 struct hv_ring_buffer *ring_buffer; member 196 read_loc = rbi->ring_buffer->read_index; in hv_get_bytes_to_read() 197 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_bytes_to_read() 210 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_bytes_to_write() 211 write_loc = rbi->ring_buffer->write_index; in hv_get_bytes_to_write() 1120 c->outbound.ring_buffer->pending_send_sz = size; in set_channel_pending_send_size() 1662 return ring_info->ring_buffer->buffer; in hv_get_ring_buffer() 1670 rbi->ring_buffer->interrupt_mask = 1; in hv_begin_read() 1682 rbi->ring_buffer->interrupt_mask = 0; in hv_end_read()
|
/linux-5.19.10/drivers/usb/misc/ |
D | ldusb.c | 159 char *ring_buffer; member 209 kfree(dev->ring_buffer); in ld_usb_delete() 245 …actual_buffer = (size_t *)(dev->ring_buffer + dev->ring_head * (sizeof(size_t)+dev->interrupt_in_e… in ld_usb_interrupt_in_callback() 482 …actual_buffer = (size_t *)(dev->ring_buffer + dev->ring_tail * (sizeof(size_t)+dev->interrupt_in_e… in ld_usb_read() 698 dev->ring_buffer = kcalloc(ring_buffer_size, in ld_usb_probe() 701 if (!dev->ring_buffer) in ld_usb_probe()
|
/linux-5.19.10/kernel/events/ |
D | Makefile | 2 obj-y := core.o ring_buffer.o callchain.o
|
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | ringbuf_multi.c | 44 struct ring_buffer *ringbuf = NULL; in test_ringbuf_multi()
|
D | test_ima.c | 68 struct ring_buffer *ringbuf = NULL; in test_test_ima()
|
D | ringbuf.c | 62 static struct ring_buffer *ringbuf;
|
D | unpriv_bpf_disabled.c | 63 struct ring_buffer *ringbuf = NULL; in test_unpriv_bpf_disabled_positive()
|
/linux-5.19.10/kernel/trace/ |
D | Makefile | 46 obj-$(CONFIG_RING_BUFFER) += ring_buffer.o
|
/linux-5.19.10/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()
|
/linux-5.19.10/tools/testing/selftests/bpf/benchs/ |
D | bench_ringbufs.c | 124 struct ring_buffer *ringbuf;
|
/linux-5.19.10/tools/memory-model/Documentation/ |
D | recipes.txt | 330 perf_output_put_handle() in kernel/events/ring_buffer.c: 383 perf_output_put_handle() in kernel/events/ring_buffer.c, showing a
|