Function report |
Source Code:fs\pipe.c |
Create Date:2022-07-28 20:04:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pipe_fcntl
Proto:long pipe_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
unsigned int | cmd | |
unsigned long | arg |
1277 | pipe = After the inode slimming patch, i_pipe/i_bdev/i_cdev share the same* location, so checking ->i_pipe is not enough to verify that this is a* pipe. |
1281 | __pipe_lock(pipe) |
1284 | Case cmd == Set and get of pipe page size array |
1285 | ret = Allocate a new array of pipe buffers and copy the info over. Returns the* pipe size if successful, or return -ERROR on error. |
1286 | Break |
1287 | Case cmd == F_GETPIPE_SZ |
1290 | Default |
1295 | __pipe_unlock(pipe) |
1296 | Return ret |
Name | Describe |
---|---|
do_fcntl |
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 |