Function report |
Source Code:mm\z3fold.c |
Create Date:2022-07-28 16:28:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__get_z3fold_header
Proto:static inline struct z3fold_header *__get_z3fold_header(unsigned long handle, bool lock)
Type:struct z3fold_header
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | handle | |
| bool | lock |
| 261 | locked = 0 |
| 263 | If Not (handle & 1 << PAGE_HEADLESS ) Then |
| 264 | slots = handle_to_slots(handle) |
| 265 | Do |
| 271 | If lock Then locked = Try to lock a z3fold page |
| 273 | read_unlock( & lock) |
| 274 | If locked Then Break |
| 276 | cpu_relax() |
| 278 | Else |
| 282 | Return zhdr |
| Name | Describe |
|---|---|
| handle_to_z3fold_header | Returns the z3fold page where a given handle is stored |
| get_z3fold_header | rn locked z3fold page if it's not headless |
| 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 |