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_zero_page_range
Proto:int __dax_zero_page_range(struct block_device *bdev, struct dax_device *dax_dev, sector_t sector, unsigned int offset, unsigned int size)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev | |
struct dax_device * | dax_dev | |
sector_t | sector | |
unsigned int | offset | |
unsigned int | size |
1064 | If dax_range_is_aligned(bdev, offset, size) Then |
1065 | start_sector = sector + (offset >> 9) |
1067 | Return blkdev_issue_zeroout(bdev, start_sector, size >> 9, GFP_NOFS, 0) |
1069 | Else |
1078 | id = dax_read_lock() |
1079 | rc = dax_direct_access(dax_dev, pgoff, 1, & kaddr, NULL) |
1080 | If rc < 0 Then |
1081 | dax_read_unlock(id) |
1082 | Return rc |
1086 | dax_read_unlock(id) |
1088 | Return 0 |
Name | Describe |
---|---|
iomap_dax_zero |
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 |