Function report |
Source Code:mm\z3fold.c |
Create Date:2022-07-28 16:29:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:(handle & BUDDY_MASK) < zhdr->first_num is possible in encode_handle* but that doesn't matter. because the masking will result in the* correct buddy number.
Proto:static enum buddy handle_to_buddy(unsigned long handle)
Type:enum buddy
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | handle |
| 506 | slots = handle_to_slots(handle) |
| 510 | WARN_ON(handle & (1 << PAGE_HEADLESS)) |
| 512 | read_unlock( & lock) |
| 514 | Return addr - first_num & BUDDY_MASK |
| Name | Describe |
|---|---|
| z3fold_free | z3fold_free() - frees the allocation associated with the given handle*@pool: pool in which the allocation resided*@handle: handle associated with the allocation returned by z3fold_alloc()* In the case that the z3fold page in which the allocation resides |
| z3fold_map | z3fold_map() - maps the allocation associated with the given handle*@pool: pool in which the allocation resides*@handle: handle associated with the allocation to be mapped* Extracts the buddy number from handle and constructs the pointer to the |
| z3fold_unmap | z3fold_unmap() - unmaps the allocation associated with the given handle*@pool: pool in which the allocation resides*@handle: handle associated with the allocation to be unmapped |
| 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 |