Function report |
Source Code:mm\z3fold.c |
Create Date:2022-07-28 16:30:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void z3fold_unmap(struct z3fold_pool *pool, unsigned long handle)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct z3fold_pool * | pool | |
| unsigned long | handle |
| 1543 | page = virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(zhdr) |
| 1545 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return |
| 1548 | buddy = (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. |
| 1549 | If buddy == MIDDLE Then lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers). |
| 1551 | mapped_count-- |
| 1552 | put_z3fold_header(zhdr) |
| Name | Describe |
|---|---|
| z3fold_zpool_unmap |
| 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 |