Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/pipe.c pipe_set_size() -> pipe_resize_ring()

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->user 4096-ptr_max
PARAM_VALUE 0 pipe->watch_queue 0
PARAM_VALUE 1 nr_slots 1-1048575
BUF_SIZE 0 pipe s32min-(-2),1-s32max
BUF_SIZE 0 pipe s32min-(-2),1-s32max
CAPPED_DATA 0 pipe->max_usage 1
CAPPED_DATA 1 nr_slots 1
DATA_SOURCE 0 pipe $0
UNITS 1 nr_slots unit_page
LOCK2 0 &pipe->mutex
TYPE_LOCK (struct pipe_inode_info)->mutex

kernel/watch_queue.c watch_queue_set_size() -> pipe_resize_ring()

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->user 4096-ptr_max
PARAM_VALUE 0 pipe->watch_queue 4096-ptr_max
PARAM_VALUE 0 pipe->watch_queue->notes 0
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
LOCK2 0 &pipe->mutex
TYPE_LOCK (struct pipe_inode_info)->mutex