Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/pipe.c alloc_pipe_info() -> account_pipe_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 0 |
| PARAM_VALUE | 2 | new | 0-1048575 |
| FUZZY_MAX | 2 | new | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | new | unit_page |
fs/pipe.c alloc_pipe_info() -> account_pipe_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 0-1048575 |
| PARAM_VALUE | 2 | new | 2 |
| FUZZY_MAX | 1 | old | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | old | unit_page |
fs/pipe.c alloc_pipe_info() -> account_pipe_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 0-1048575 |
| PARAM_VALUE | 2 | new | 0 |
| FUZZY_MAX | 1 | old | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | old |
fs/pipe.c free_pipe_info() -> account_pipe_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | new | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | old |
fs/pipe.c pipe_set_size() -> account_pipe_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | new | 1-1048575 |
| CAPPED_DATA | 2 | new | 1 |
| UNITS | 2 | new | unit_page |
| LOCK2 | &pipe->mutex | ||
| TYPE_LOCK | (struct pipe_inode_info)->mutex |
fs/pipe.c pipe_set_size() -> account_pipe_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 1-1048575 |
| CAPPED_DATA | 1 | old | 1 |
| NO_OVERFLOW_SIMPLE | 1 | old | |
| NO_OVERFLOW_SIMPLE | 2 | new | |
| UNITS | 1 | old | unit_page |
| LOCK2 | &pipe->mutex | ||
| TYPE_LOCK | (struct pipe_inode_info)->mutex |
kernel/watch_queue.c watch_queue_set_size() -> account_pipe_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | new | 1-16 |
| USER_DATA | 2 | new | 1-16[c] |
| LOCK2 | &pipe->mutex | ||
| TYPE_LOCK | (struct pipe_inode_info)->mutex |
kernel/watch_queue.c watch_queue_set_size() -> account_pipe_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 1-16 |
| CAPPED_DATA | 1 | old | 1 |
| NOSPEC | 2 | new | |
| USER_DATA | 1 | old | 1-16[c] |
| USER_DATA | 2 | new | 1-16[c] |
| NO_OVERFLOW_SIMPLE | 2 | new | |
| UNITS | 2 | new | unit_page |
| LOCK2 | &pipe->mutex | ||
| TYPE_LOCK | (struct pipe_inode_info)->mutex |