函数逻辑报告 |
Source Code:mm\z3fold.c |
Create Date:2022-07-27 18:05:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void *z3fold_map(struct z3fold_pool *pool, unsigned long handle)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct z3fold_pool * | pool | |
unsigned long | handle |
1500 | page等于virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(zhdr) |
1502 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则转到:out |
1505 | 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. |
1508 | addr加等于ZHDR_SIZE_ALIGNED |
1509 | 退出 |
1516 | 退出 |
1517 | 默认 |
1524 | 如果addr则mapped_count自加 |
1526 | out : |
1527 | put_z3fold_header(zhdr) |
1528 | 返回:addr |
名称 | 描述 |
---|---|
z3fold_zpool_map |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |