Function report | 
Source Code:include\linux\pipe_fs_i.h | 
Create Date:2022-07-28 05:52:02 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:static inline unsigned int pipe_space_for_user(unsigned int head, unsigned int tail, struct pipe_inode_info *pipe)
Type:unsigned int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | If p_occupancy >= max_usage Then Return 0 | 
| 155 | p_space = ring_size - p_occupancy | 
| 158 | Return p_space | 
| Name | Describe | 
|---|---|
| pipe_get_pages | |
| pipe_get_pages_alloc | |
| iov_iter_npages | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |