Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:28:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:huge_add_to_page_cache
Proto:int huge_add_to_page_cache(struct page *page, struct address_space *mapping, unsigned long idx)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
3783 | i_blocks += blocks_per_huge_page(h) |
3784 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
3785 | Return 0 |
Name | Describe |
---|---|
hugetlb_no_page | |
hugetlb_mcopy_atomic_pte | Used by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages. |
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 |