函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 17:00:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:huge_add_to_page_cache
函数原型:int huge_add_to_page_cache(struct page *page, struct address_space *mapping, unsigned long idx)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct address_space * | mapping | |
unsigned long | idx |
3769 | h等于hstate_inode(inode) |
3770 | err等于Like add_to_page_cache_locked, but used to add newly allocated pages:* the page is new, so we can just run __SetPageLocked() against it. |
3780 | Dirty a page |
3782 | 加自旋锁 |
3783 | i_blocks加等于blocks_per_huge_page(h) |
3784 | 自旋锁解锁 |
3785 | 返回:0 |
名称 | 描述 |
---|---|
hugetlb_no_page | |
hugetlb_mcopy_atomic_pte | Used by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |