Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/splice.c iter_file_splice_write() -> pipe_buf_confirm()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 1 buf->len 1-u32max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
DATA_SOURCE 0 pipe $0
DATA_SOURCE 1 buf r pipe_buf
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

fs/splice.c splice_from_pipe_feed() -> pipe_buf_confirm()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
DATA_SOURCE 0 pipe $0
DATA_SOURCE 1 buf r pipe_buf
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/splice.c splice_to_socket() -> pipe_buf_confirm()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 1 buf->len 1-u32max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
DATA_SOURCE 0 pipe $0
DATA_SOURCE 1 buf r pipe_buf
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

fs/pipe.c anon_pipe_read() -> pipe_buf_confirm()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->mutex.dep_map->name 0-255
PARAM_VALUE 0 pipe->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pipe->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 pipe->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 pipe->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 pipe->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 pipe->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 pipe->note_loss 0
PARAM_VALUE 1 buf 4096-ptr_max
BUF_SIZE 0 pipe s32min-(-2),1-s32max
BUF_SIZE 0 pipe s32min-(-2),1-s32max
CAPPED_DATA 0 &pipe->mutex 1
DATA_SOURCE 1 buf r pipe_buf
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &pipe->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pipe_inode_info)->mutex

fs/pipe.c anon_pipe_write() -> pipe_buf_confirm()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->prealloc.count 0-8
PARAM_VALUE 0 pipe->readers 1-u32max
PARAM_VALUE 0 pipe->watch_queue 0
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 1 buf->flags 16-u32max
BUF_SIZE 0 pipe s32min-(-2),1-s32max
BUF_SIZE 0 pipe s32min-(-2),1-s32max
DATA_SOURCE 1 buf r pipe_buf
BIT_INFO 1 buf->flags 0x10,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &pipe->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pipe_inode_info)->mutex

fs/fuse/dev.c fuse_copy_fill() -> pipe_buf_confirm()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
BUF_SIZE 1 buf (-1)-s32max
BUF_SIZE 1 buf (-1)-s32max
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/fuse/dev.c fuse_try_move_folio() -> pipe_buf_confirm()

Type Parameter Key Value
PARAM_VALUE 0 pipe 0,4096-ptr_max
PARAM_VALUE 1 buf 0,2-u64max
PARAM_VALUE 1 buf->offset 0
PARAM_VALUE 1 buf->page 4096-ptr_max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
BUF_SIZE 0 pipe s32min-(-1),1-s32max
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