Function report |
Source Code:lib\ioremap.c |
Create Date:2022-07-28 06:15:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ioremap_try_huge_pmd
Proto:static int ioremap_try_huge_pmd(pmd_t *pmd, unsigned long addr, unsigned long end, phys_addr_t phys_addr, pgprot_t prot)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
pmd_t * | pmd | |
unsigned long | addr | |
unsigned long | end | |
phys_addr_t | phys_addr | |
pgprot_t | prot |
85 | If Not ioremap_pmd_enabled() Then Return 0 |
91 | If Not IS_ALIGNED(addr, PMD_SIZE) Then Return 0 |
94 | If Not IS_ALIGNED(phys_addr, PMD_SIZE) Then Return 0 |
97 | If pmd_present( * pmd) && Not pmd_free_pte_page(pmd, addr) Then Return 0 |
100 | Return pmd_set_huge(pmd, phys_addr, prot) |
Name | Describe |
---|---|
ioremap_pmd_range |
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 |