函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:30:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:vwrite() - write vmalloc area in a safe way.*@buf: buffer for source data*@addr: vm address.*@count: number of bytes to be read.* This function checks that addr is a valid vmalloc'ed area, and* copy data from a buffer to the given addr
函数原型:long vwrite(char *buf, char *addr, unsigned long count)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | buf | |
char * | addr | |
unsigned long | count |
3000 | copied等于0 |
3007 | 加自旋锁 |
3012 | 如果非 in "busy" tree 则继续下一循环 |
3015 | vm等于 in "busy" tree |
3017 | 如果addr大于等于vaddr加Lowlevel-APIs (not for driver use!)则继续下一循环 |
3029 | 如果非flags按位与remap() and friends 的值则 |
3030 | aligned_vwrite(buf, addr, n) |
3031 | copied自加 |
3037 | finished : |
3038 | 自旋锁解锁 |
3039 | 如果非copied则返回:0 |
3041 | 返回:buflen |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |