Function report |
Source Code:fs\dax.c |
Create Date:2022-07-28 20:23:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_user_dax
Proto:static int copy_user_dax(struct block_device *bdev, struct dax_device *dax_dev, sector_t sector, size_t size, struct page *to, unsigned long vaddr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev | |
struct dax_device * | dax_dev | |
sector_t | sector | |
size_t | size | |
struct page * | to | |
unsigned long | vaddr |
696 | id = dax_read_lock() |
698 | If rc < 0 Then |
699 | dax_read_unlock(id) |
700 | Return rc |
702 | vto = kmap_atomic(to) |
704 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(vto) |
705 | dax_read_unlock(id) |
706 | Return 0 |
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 |