Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/usb/pvrusb2/pvrusb2-dvb.c pvr2_dvb_stream_do_start() -> pvr2_stream_set_buffer_count()

Type Parameter Key Value
PARAM_VALUE 1 cnt 32
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adap->lock
HALF_LOCKED2 &demux->mutex
HALF_LOCKED2 &dvbdmx->mutex
TYPE_LOCK (struct pvr2_dvb_adapter)->lock

drivers/media/usb/pvrusb2/pvrusb2-dvb.c pvr2_dvb_stream_end() -> pvr2_stream_set_buffer_count()

Type Parameter Key Value
PARAM_VALUE 0 sp 4096-ptr_max
PARAM_VALUE 0 sp->buffer_slot_count 0-4294967295
PARAM_VALUE 0 sp->buffer_total_count 0-4294967295
PARAM_VALUE 0 sp->callback_data 0
PARAM_VALUE 0 sp->callback_func 0
PARAM_VALUE 0 sp->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cnt 0
CAPPED_DATA 0 sp->buffer_target_count 1
CAPPED_DATA 0 sp->queued_list.next 1
PARAM_COMPARE 0 &sp->queued_list == $0->queued_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &adap->lock

drivers/media/usb/pvrusb2/pvrusb2-ioread.c pvr2_ioread_setup() -> pvr2_stream_set_buffer_count()

Type Parameter Key Value
PARAM_VALUE 0 sp 4096-ptr_max
PARAM_VALUE 0 sp->buffer_slot_count 0-4294967295
PARAM_VALUE 0 sp->buffer_total_count 0-4294967295
PARAM_VALUE 1 cnt 0
CAPPED_DATA 0 sp->buffer_target_count 1
CAPPED_DATA 0 sp->queued_list.next 1
PARAM_COMPARE 0 &sp->queued_list == $0->queued_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cp->mutex
HALF_LOCKED2 &vdev->v4l2_dev->mdev->req_queue_mutex
TYPE_LOCK (struct pvr2_ioread)->mutex

drivers/media/usb/pvrusb2/pvrusb2-ioread.c pvr2_ioread_setup() -> pvr2_stream_set_buffer_count()

Type Parameter Key Value
PARAM_VALUE 0 sp 4096-ptr_max
PARAM_VALUE 0 sp->buffer_slot_count 0-4294967295
PARAM_VALUE 0 sp->buffer_total_count 0-4294967295
PARAM_VALUE 1 cnt 32
CAPPED_DATA 0 sp->buffer_target_count 1
CAPPED_DATA 0 sp->queued_list.next 1
DATA_SOURCE 0 sp $1
PARAM_COMPARE 0 &sp->queued_list == $0->queued_list.next
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cp->mutex
TYPE_LOCK (struct pvr2_ioread)->mutex