Function report |
Source Code:kernel\power\swap.c |
Create Date:2022-07-28 10:02:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Deompression function that runs in its own thread.
Proto:static int lzo_decompress_threadfn(void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | data |
| 1123 | When 1 cycle |
| 1127 | hread = NULL |
| 1128 | urn code = -1 |
| 1129 | atomic_set( & ady to stop flag , 1) |
| 1130 | wake_up( & decompression done ) |
| 1131 | Break |
| 1133 | atomic_set( & ady to start flag , 0) |
| 1135 | uncompressed length = LZO_UNC_SIZE |
| 1136 | urn code = lzo1x_decompress_safe(cmp + We need to remember how much compressed data we need to read. , compressed length , unc, & uncompressed length ) |
| 1138 | If clean_pages_on_decompress Then flush_icache_range((unsignedlong)unc, (unsignedlong)unc + uncompressed length ) |
| 1142 | atomic_set( & ady to stop flag , 1) |
| 1143 | wake_up( & decompression done ) |
| 1145 | Return 0 |
| 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 |