Defined in 4 files as a function:
- drivers/media/pci/cx88/cx88.h, line 88 (as a function)
- drivers/media/usb/cx231xx/cx231xx.h, line 969 (as a function)
- drivers/media/usb/em28xx/em28xx-video.c, line 126 (as a function)
- drivers/media/usb/s2255/s2255drv.c, line 405 (as a function)
Referenced in 6 files:
- drivers/media/pci/cx88/cx88-blackbird.c, line 839
- drivers/media/pci/cx88/cx88-video.c, line 735
- drivers/media/usb/cx231xx/cx231xx-cards.c, line 1464
- drivers/media/usb/cx231xx/cx231xx-video.c
- drivers/media/usb/em28xx/em28xx-video.c
- drivers/media/usb/s2255/s2255drv.c, line 670
Smatch caller information:
drivers/media/usb/cx231xx/cx231xx-cards.c cx231xx_init_dev() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | norm | 4096-ptr_max |
| BUF_SIZE | 0 | norm | 24352 |
| DATA_SOURCE | 0 | norm | $0 |
| STR_LEN | 0 | norm->name | (-1) |
| MEM_ZERO | 0 | norm | |
| MEM_ZERO | 0 | &norm->v4l2_dev.prio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | norm->muxc->max_adapters |
drivers/media/pci/cx88/cx88-video.c vidioc_try_fmt_vid_cap() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/pci/cx88/cx88-blackbird.c vidioc_try_fmt_vid_cap() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/s2255/s2255drv.c buffer_prepare() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | norm | 4096-ptr_max |
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->req_queue_mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/usb/cx231xx/cx231xx-video.c cx231xx_register_analog_devices() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | norm | 4096-ptr_max |
| BUF_SIZE | 0 | norm | 24352 |
| DATA_SOURCE | 0 | norm | $0 |
| STR_LEN | 0 | norm->name | (-1) |
| MEM_ZERO | 0 | norm | |
| MEM_ZERO | 0 | &norm->devlist_count | |
| MEM_ZERO | 0 | &norm->v4l2_dev.prio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | norm->muxc->max_adapters | |
| NO_OVERFLOW_SIMPLE | 0 | norm->v4l_device.cdev->count |
drivers/media/usb/cx231xx/cx231xx-video.c vidioc_try_fmt_vid_cap() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | norm | r video_drvdata |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/em28xx/em28xx-video.c em28xx_resolution_set() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | norm | 4096-ptr_max |
| PARAM_VALUE | 0 | norm->v4l2 | 1-u64max |
| BUF_SIZE | 0 | norm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | norm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | norm->alt_max_pkt_size_isoc | (-1),4 |
| BUF_SIZE | 0 | norm->v4l2 | (-1),8736 |
| DATA_SOURCE | 0 | norm | $0 |
| STR_LEN | 0 | norm->name | (-1),27 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | norm->intf->num_altsetting | |
| NO_OVERFLOW_SIMPLE | 0 | norm->num_alt | |
| HALF_LOCKED2 | 0 | &norm->lock |
drivers/media/usb/em28xx/em28xx-video.c em28xx_v4l2_init() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | norm | 4096-ptr_max |
| PARAM_VALUE | 0 | norm->v4l2 | 4096-ptr_max |
| BUF_SIZE | 0 | norm->v4l2 | 8736 |
| CAPPED_DATA | 0 | &norm->lock | 1 |
| DATA_SOURCE | 0 | norm | $0 |
| LOCK2 | global &em28xx_devlist_mutex | ||
| LOCK2 | 0 | &norm->lock | |
| TYPE_LOCK | (struct em28xx)->lock |
drivers/media/usb/em28xx/em28xx-video.c scale_to_size() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | norm | 4096-ptr_max |
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | norm | $0 |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/em28xx/em28xx-video.c size_to_scale() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | norm | 4096-ptr_max |
| BUF_SIZE | 0 | norm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | norm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | norm->alt_max_pkt_size_isoc | (-1),4 |
| BUF_SIZE | 0 | norm->v4l2 | (-1),8736 |
| DATA_SOURCE | 0 | norm | $0 |
| STR_LEN | 0 | norm->name | (-1),27 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | norm->intf->num_altsetting | |
| NO_OVERFLOW_SIMPLE | 0 | norm->num_alt | |
| HALF_LOCKED2 | 0 | &norm->lock |
drivers/media/usb/em28xx/em28xx-video.c vidioc_enum_framesizes() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | norm | r video_drvdata |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/em28xx/em28xx-video.c vidioc_try_fmt_vid_cap() -> norm_maxw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | norm | 4096-ptr_max |
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | norm | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | norm | r video_drvdata |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |