Function report |
Source Code:lib\ioremap.c |
Create Date:2022-07-28 06:15:50 |
| 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_pud
Proto:static int ioremap_try_huge_pud(pud_t *pud, unsigned long addr, unsigned long end, phys_addr_t phys_addr, pgprot_t prot)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| pud_t * | pud | |
| unsigned long | addr | |
| unsigned long | end | |
| phys_addr_t | phys_addr | |
| pgprot_t | prot |
| 128 | If Not ioremap_pud_enabled() Then Return 0 |
| 134 | If Not IS_ALIGNED(addr, PUD_SIZE) Then Return 0 |
| 137 | If Not IS_ALIGNED(phys_addr, PUD_SIZE) Then Return 0 |
| 140 | If pud_present( * pud) && Not pud_free_pmd_page(pud, addr) Then Return 0 |
| 143 | Return pud_set_huge(pud, phys_addr, prot) |
| Name | Describe |
|---|---|
| ioremap_pud_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 |