Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/exit.c do_exit() -> free_pipe_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &system_transition_mutex |
fs/pipe.c create_pipe_files() -> free_pipe_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->bufs | 16,4096-ptr_max |
| PARAM_VALUE | 0 | pipe->max_usage | 2,16 |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pipe->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pipe->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | pipe->nr_accounted | 2,16 |
| PARAM_VALUE | 0 | pipe->r_counter | 1 |
| PARAM_VALUE | 0 | pipe->rd_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->rd_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->ring_size | 2,16 |
| PARAM_VALUE | 0 | pipe->user | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->w_counter | 1 |
| PARAM_VALUE | 0 | pipe->wr_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->wr_wait.head.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size |
fs/pipe.c create_pipe_files() -> free_pipe_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->bufs | 16,4096-ptr_max |
| PARAM_VALUE | 0 | pipe->max_usage | 2,16 |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pipe->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pipe->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | pipe->nr_accounted | 2,16 |
| PARAM_VALUE | 0 | pipe->r_counter | 1 |
| PARAM_VALUE | 0 | pipe->rd_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->rd_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->ring_size | 2,16 |
| PARAM_VALUE | 0 | pipe->user | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->w_counter | 1 |
| PARAM_VALUE | 0 | pipe->wr_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->wr_wait.head.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size |
fs/pipe.c fifo_open() -> free_pipe_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->bufs | 16,4096-ptr_max |
| PARAM_VALUE | 0 | pipe->files | 1 |
| PARAM_VALUE | 0 | pipe->max_usage | 2,16 |
| PARAM_VALUE | 0 | pipe->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pipe->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pipe->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | pipe->nr_accounted | 2,16 |
| PARAM_VALUE | 0 | pipe->r_counter | 1 |
| PARAM_VALUE | 0 | pipe->rd_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->rd_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->rd_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->rd_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->rd_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->ring_size | 2,16 |
| PARAM_VALUE | 0 | pipe->user | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->w_counter | 1 |
| PARAM_VALUE | 0 | pipe->wr_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->wr_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->wr_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->wr_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->wr_wait.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | 488 |
| DATA_SOURCE | 0 | pipe | r alloc_pipe_info |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size |
fs/pipe.c put_pipe_info() -> free_pipe_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->files | 0 |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | pipe->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| BUF_SIZE | 0 | pipe | (-1),26,488 |
| BUF_SIZE | 0 | pipe | (-1),26,488 |
| DATA_SOURCE | 0 | pipe | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size |