Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/media/cec/core/cec-api.c cec_open() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->adap | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->events | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fh->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | fh->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | fh->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | fh->mode_initiator | 1 |
| PARAM_VALUE | 0 | fh->msgs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_ev | 4946230262706184192 |
| PARAM_VALUE | 1 | new_ev->event | 1 |
| PARAM_VALUE | 1 | new_ev->flags | 1 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.have_conn_info | 0-1 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| PARAM_VALUE | 2 | ts | 0 |
| BUF_SIZE | 0 | fh | 464 |
| DATA_SOURCE | 0 | fh | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/cec/core/cec-api.c cec_open() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->adap | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->events | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fh->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fh->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fh->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fh->mode_initiator | 1 |
| PARAM_VALUE | 0 | fh->msgs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_ev | 4946230262706184192 |
| PARAM_VALUE | 1 | new_ev->event | 5-6 |
| PARAM_VALUE | 1 | new_ev->flags | 1 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.have_conn_info | 0-1 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| PARAM_VALUE | 2 | ts | 0 |
| BUF_SIZE | 0 | fh | 464 |
| DATA_SOURCE | 0 | fh | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/cec/core/cec-api.c cec_open() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->adap | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->events | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fh->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fh->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fh->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fh->mode_initiator | 1 |
| PARAM_VALUE | 0 | fh->msgs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->msgs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->xfer_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_ev | 4946230262706184192 |
| PARAM_VALUE | 1 | new_ev->event | 7-8 |
| PARAM_VALUE | 1 | new_ev->flags | 1 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.have_conn_info | 0-1 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| PARAM_VALUE | 2 | ts | 0 |
| BUF_SIZE | 0 | fh | 464 |
| DATA_SOURCE | 0 | fh | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/cec/core/cec-api.c cec_s_mode() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->adap | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->adap->devnode.registered | 1 |
| PARAM_VALUE | 1 | new_ev | 62741096239185920 |
| PARAM_VALUE | 1 | new_ev->event | 3-4 |
| PARAM_VALUE | 1 | new_ev->flags | 1 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.phys_addr | 0 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| PARAM_VALUE | 2 | ts | 0 |
| BUF_SIZE | 0 | fh | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fh | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | fh | 1 |
| DATA_SOURCE | 0 | fh | $1 |
| CAPABLE | 0 | 12 | |
| NOCHECK_CALL | |||
| LOCK2 | &adap->lock | ||
| TYPE_LOCK | (struct cec_adapter)->lock |
drivers/media/cec/core/cec-adap.c cec_queue_event() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | new_ev | 805504842559127552 |
| PARAM_VALUE | 1 | new_ev->event | 1 |
| PARAM_VALUE | 1 | new_ev->flags | 0 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.have_conn_info | 0-1 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| DATA_SOURCE | 1 | new_ev | $1 |
| DATA_SOURCE | 2 | ts | r ktime_get_ns |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | new_ev->state_change.phys_addr | 0-65534 |
| LOCK2 | &adap->devnode.lock_fhs | ||
| HALF_LOCKED2 | &adap->lock | ||
| TYPE_LOCK | (struct cec_devnode)->lock_fhs |
drivers/media/cec/core/cec-adap.c cec_queue_msg_fh() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fh->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fh->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fh->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fh->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | fh->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fh->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | fh->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | fh->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fh->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | new_ev | 3506294002092376064 |
| PARAM_VALUE | 1 | new_ev->event | 2 |
| PARAM_VALUE | 1 | new_ev->flags | 0 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.phys_addr | 0 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| BUF_SIZE | 0 | fh | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fh | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &fh->lock | 1 |
| DATA_SOURCE | 0 | fh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fh | unit_byte |
| HALF_LOCKED2 | &adap->devnode.lock_fhs | ||
| HALF_LOCKED2 | &adap->lock |
drivers/media/cec/core/cec-adap.c cec_queue_pin_5v_event() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | new_ev | 6502580988613128192 |
| PARAM_VALUE | 1 | new_ev->event | 7-8 |
| PARAM_VALUE | 1 | new_ev->flags | 0 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.phys_addr | 0 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adap->devnode.lock_fhs | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cec_devnode)->lock_fhs |
drivers/media/cec/core/cec-adap.c cec_queue_pin_cec_event() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 4096-ptr_max |
| PARAM_VALUE | 0 | fh->mode_follower | 208 |
| PARAM_VALUE | 1 | new_ev | 6513961217084485632 |
| PARAM_VALUE | 1 | new_ev->event | 3-4 |
| PARAM_VALUE | 1 | new_ev->flags | 0,2 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.phys_addr | 0 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adap->devnode.lock_fhs | ||
| TYPE_LOCK | (struct cec_devnode)->lock_fhs |
drivers/media/cec/core/cec-adap.c cec_queue_pin_hpd_event() -> cec_queue_event_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | new_ev | 8572483469861740544 |
| PARAM_VALUE | 1 | new_ev->event | 5-6 |
| PARAM_VALUE | 1 | new_ev->flags | 0 |
| PARAM_VALUE | 1 | new_ev->lost_msgs.lost_msgs | 0 |
| PARAM_VALUE | 1 | new_ev->state_change.phys_addr | 0 |
| PARAM_VALUE | 1 | new_ev->ts | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adap->devnode.lock_fhs | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cec_devnode)->lock_fhs |