函数逻辑报告 |
Source Code:mm\z3fold.c |
Create Date:2022-07-27 18:04:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:(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.
函数原型:static enum buddy handle_to_buddy(unsigned long handle)
返回类型:enum buddy
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | handle |
506 | slots等于handle_to_slots(handle) |
510 | WARN_ON(handle & (1 << PAGE_HEADLESS)) |
512 | read_unlock( & lock) |
514 | 返回:addr减first_num按位与BUDDY_MASK |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |