Function report |
Source Code:kernel\power\swap.c |
Create Date:2022-07-28 10:02:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Compression function that runs in its own thread.
Proto:static int lzo_compress_threadfn(void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | data |
| 639 | When 1 cycle |
| 643 | hread = NULL |
| 644 | urn code = -1 |
| 645 | atomic_set( & ady to stop flag , 1) |
| 646 | wake_up( & compression done ) |
| 647 | Break |
| 649 | atomic_set( & ady to start flag , 0) |
| 651 | urn code = lzo1x_1_compress(unc, uncompressed length , cmp + We need to remember how much compressed data we need to read. , & compressed length , wrk) |
| 654 | atomic_set( & ady to stop flag , 1) |
| 655 | wake_up( & compression done ) |
| 657 | 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 |