函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:01:10 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:void ring_buffer_free_read_page(struct ring_buffer *buffer, int cpu, void *data)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果page_ref_count(page)大于1则转到:out |
4651 | local_irq_save(flags) |
4652 | r sched/core.c and kernel_lock.c: ( & lock) |
4654 | 如果非free_page则 |
4659 | arch_spin_unlock( & lock) |
4660 | local_irq_restore(flags) |
4662 | out : |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |