函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:01:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static void *get_buffer(struct memory_bitmap *bm, struct chain_allocator *ca)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct memory_bitmap * | bm | |
struct chain_allocator * | ca |
2544 | 如果pfn恒等于Data types related to memory bitmaps则返回:错误号 |
2547 | page等于pfn_to_page(pfn) |
2548 | 如果PageHighMem(page)则返回:get_highmem_page_buffer(page, ca) |
2551 | 如果swsusp_page_is_forbidden(page)且swsusp_page_is_free(page)则返回:page_address(page) |
2562 | pbe等于chain_alloc(ca, pbe的长度) |
2563 | 如果非pbe则 |
2565 | 返回:错误号 |
2568 | address of the copy 等于List of "safe" pages (ie. pages that were not used by the image kernel* before hibernation) that may be used as temporary storage for image kernel* memory contents. |
2569 | List of "safe" pages (ie. pages that were not used by the image kernel* before hibernation) that may be used as temporary storage for image kernel* memory contents.等于next |
2572 | 返回:address of the copy |
名称 | 描述 |
---|---|
snapshot_write_next | snapshot_write_next - Get the address to store the next image page.*@handle: Snapshot handle structure to guide the writing.* On the first call, @handle should point to a zeroed snapshot_handle* structure |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |