函数逻辑报告 |
Source Code:mm\memfd.c |
Create Date:2022-07-27 18:13:11 |
Last Modify:2022-05-20 10:27:46 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:memfd_tag_pins
函数原型:static void memfd_tag_pins(struct xa_state *xas)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xa_state * | xas |
34 | tagged等于0 |
36 | lru_add_drain() |
38 | xas_lock_irq(xas) |
42 | page等于find_subpage(page, xa_index) |
46 | 如果tagged先自加取模XA_CHECK_SCHED则继续下一循环 |
50 | xas_unlock_irq(xas) |
51 | cond_resched() |
52 | xas_lock_irq(xas) |
54 | xas_unlock_irq(xas) |
名称 | 描述 |
---|---|
memfd_wait_for_pins | Setting SEAL_WRITE requires us to verify there's no pending writer. However,* via get_user_pages(), drivers might have some pending I/O without any active* user-space mappings (eg., direct-IO, AIO). Therefore, we look at all pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |