Function report | 
Source Code:fs\dax.c | 
Create Date:2022-07-28 20:23:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:dax_iomap_pfn
Proto:static int dax_iomap_pfn(struct iomap *iomap, loff_t pos, size_t size, pfn_t *pfnp)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct iomap * | iomap | |
| loff_t | pos | |
| size_t | size | |
| pfn_t * | pfnp | 
| 994 | sector = dax_iomap_sector(iomap, pos) | 
| 999 | rc = bdev_dax_pgoff( block device for I/O , sector, size, & pgoff) | 
| 1002 | id = dax_read_lock() | 
| 1003 | length = dax_direct_access( dax_dev for dax operations , pgoff, PHYS_PFN(size), NULL, pfnp) | 
| 1005 | If length < 0 Then | 
| 1012 | If pfn_t_to_pfn( * pfnp) & PHYS_PFN(size) - 1 Then Go to out | 
| 1015 | If length > 1 && Not pfn_t_devmap( * pfnp) Then Go to out | 
| 1017 | rc = 0 | 
| 1018 | out : | 
| 1019 | dax_read_unlock(id) | 
| 1020 | Return rc | 
| Name | Describe | 
|---|---|
| dax_iomap_pte_fault | 
| 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  |