Function report |
Source Code:fs\iomap\swapfile.c |
Create Date:2022-07-28 20:32:27 |
Last Modify:2020-03-18 11:03:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Iterate a swap file's iomaps to construct physical extents that can be* passed to the swapfile subsystem.
Proto:int iomap_swapfile_activate(struct swap_info_struct *sis, struct file *swap_file, sector_t *pagespan, const struct iomap_ops *ops)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct swap_info_struct * | sis | |
struct file * | swap_file | |
sector_t * | pagespan | |
const struct iomap_ops * | ops |
139 | struct iomap_swapfile_info isi = {sis = sis, lowest physical addr seen (pages) = (sector_t) - 1ULL, } |
145 | pos = 0 |
167 | If length of mapping, bytes Then |
177 | Return xtent count |
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 |