Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/splice.c opipe_prep() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 1-u64max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pipe | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/splice.c opipe_prep() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | pipe->max_usage | 1 |
| DATA_SOURCE | 0 | pipe | $0 |
| CONSTRAINT | 0 | pipe->max_usage | <=4132 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/splice.c opipe_prep() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | pipe->max_usage | 1 |
| DATA_SOURCE | 0 | pipe | $0 |
| CONSTRAINT | 0 | pipe->max_usage | <=4132 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/splice.c wait_for_space() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pipe | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/shmem.c shmem_file_splice_read() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pipe | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size |
mm/shmem.c splice_zeropage_into_pipe() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pipe | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size |
fs/pipe.c anon_pipe_write() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &pipe->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pipe_inode_info)->mutex |
mm/filemap.c filemap_splice_read() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pipe | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
mm/filemap.c splice_folio_into_pipe() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pipe | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size |
mm/filemap.c splice_folio_into_pipe() -> pipe_is_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->max_usage | 1-u32max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | pipe->max_usage | 1 |
| DATA_SOURCE | 0 | pipe | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->max_usage | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->nr_accounted | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->ring_size |