函数逻辑报告 |
Source Code:lib\iov_iter.c |
Create Date:2022-07-27 07:18:08 |
Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sanity
函数原型:static bool sanity(const struct iov_iter *i)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct iov_iter * | i |
331 | p_occupancy等于pipe_occupancy - Return number of slots used in the pipe*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer |
335 | 如果iov_offset则 |
337 | 如果此条件成立可能性小(为编译器优化)(p_occupancy == 0)则转到:Bad |
339 | 如果此条件成立可能性小(为编译器优化)(i_head != p_head - 1)则转到:Bad |
343 | 如果此条件成立可能性小(为编译器优化)(offset + len != iov_offset)则转到:Bad |
345 | 否则 |
349 | 返回:true |
350 | Bad : |
351 | printk(r conditions "idx = %d, offset = %zd\n", i_head, iov_offset) |
352 | printk(r conditions "head = %d, tail = %d, buffers = %d\n", p_head, p_tail, ring_size) |
360 | WARN_ON(1) |
361 | 返回:false |
名称 | 描述 |
---|---|
copy_page_to_iter_pipe | |
copy_pipe_to_iter | |
csum_and_copy_to_pipe_iter | |
pipe_zero | |
pipe_get_pages | |
pipe_get_pages_alloc | |
iov_iter_npages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |