函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:00:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:memory_bm_rtree_next_pfn - Find the next set bit in a memory bitmap.*@bm: Memory bitmap.* Starting from the last returned position this function searches for the next* set bit in @bm and returns the PFN represented by it. If no more bits are
函数原型:static unsigned long memory_bm_next_pfn(struct memory_bitmap *bm)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct memory_bitmap * | bm |
887 | 循环 |
889 | bits等于两数取小(pages - node_pfn, BM_BITS_PER_BLOCK) |
890 | bit等于在内存区域中找到下一个设置位 |
名称 | 描述 |
---|---|
clear_free_pages | |
copy_data_pages | |
swsusp_free | swsusp_free - Free pages allocated for hibernation image.* Image pages are alocated before snapshot creation, so they need to be* released after resume. |
free_unnecessary_pages | _unnecessary_pages - Release preallocated pages not needed for the image. |
pack_pfns | pack_pfns - Prepare PFNs for saving.*@bm: Memory bitmap.*@buf: Memory buffer to store the PFNs in.* PFNs corresponding to set bits in @bm are stored in the area of memory* pointed to by @buf (1 page at a time). |
snapshot_read_next | snapshot_read_next - Get the address to read the next image page from.*@handle: Snapshot handle to be used for the reading.* On the first call, @handle should point to a zeroed snapshot_handle* structure |
duplicate_memory_bitmap | |
mark_unsafe_pages | mark_unsafe_pages - Mark pages that were used before hibernation.* Mark the pages that cannot be used for storing the image during restoration,* because they conflict with the pages that had been used before hibernation. |
get_buffer | get_buffer - Get the address to store the next image data page.* Get the address that snapshot_write_next() should return to its caller to* write to. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |