Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:55:37 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:g_buffer_free_read_page - free an allocated read page*@buffer: the buffer the page was allocate for*@cpu: the cpu buffer the page came from*@data: the page to free* Free a page allocated from ring_buffer_alloc_read_page.
Proto:void ring_buffer_free_read_page(struct ring_buffer *buffer, int cpu, void *data)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer * | buffer | |
int | cpu | |
void * | data |
4642 | cpu_buffer = buffers[cpu] |
4644 | page = virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(bpage) |
4648 | If page_ref_count(page) > 1 Then Go to out |
4651 | local_irq_save(flags) |
4652 | r sched/core.c and kernel_lock.c: ( & lock) |
4654 | If Not free_page Then |
4659 | arch_spin_unlock( & lock) |
4660 | local_irq_restore(flags) |
4662 | out : |
Name | Describe |
---|---|
read_page | |
tracing_buffers_release | |
buffer_ref_release | |
tracing_buffers_splice_read |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |