Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:01:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pack_orig_pfns - Set bits corresponding to given PFNs in a memory bitmap.*@bm: Memory bitmap.*@buf: Area of memory containing the PFNs.* For each element of the array pointed to by @buf (1 page at a time), set the* corresponding bit in @bm.
Proto:static int unpack_orig_pfns(unsigned long *buf, struct memory_bitmap *bm)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long * | buf | |
| struct memory_bitmap * | bm |
| 2222 | If Value for the false possibility is greater at compile time(buf[j] == Data types related to memory bitmaps) Then Break |
| 2226 | page_key_memorize(buf + j) |
| 2230 | Else Return -EFAULT |
| 2234 | Return 0 |
| Name | Describe |
|---|---|
| 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 |
| 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 |