函数逻辑报告 |
Source Code:include\linux\pipe_fs_i.h |
Create Date:2022-07-27 06:51:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pipe_space_for_user - Return number of slots available to userspace*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer*@pipe: The pipe info structure
函数原型:static inline unsigned int pipe_space_for_user(unsigned int head, unsigned int tail, struct pipe_inode_info *pipe)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | head | |
| unsigned int | tail | |
| struct pipe_inode_info * | pipe |
| 152 | p_occupancy等于pipe_occupancy - Return number of slots used in the pipe*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer |
| 153 | 如果p_occupancy大于等于max_usage则返回:0 |
| 155 | p_space等于ring_size减p_occupancy |
| 158 | 返回:p_space |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |