Defined in 2 files as a function:
- drivers/gpu/drm/xen/xen_drm_front.c, line 102 (as a function)
- sound/xen/xen_snd_front.c, line 39 (as a function)
Referenced in 2 files:
Smatch caller information:
sound/xen/xen_snd_front.c xen_snd_front_stream_close() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| DATA_SOURCE | 0 | evtchnl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/xen/xen_snd_front.c xen_snd_front_stream_prepare() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| DATA_SOURCE | 0 | evtchnl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
sound/xen/xen_snd_front.c xen_snd_front_stream_query_hw_param() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| DATA_SOURCE | 0 | evtchnl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/xen/xen_snd_front.c xen_snd_front_stream_read() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| DATA_SOURCE | 0 | evtchnl | $0 |
| LOCK2 | _T->lock |
sound/xen/xen_snd_front.c xen_snd_front_stream_trigger() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| DATA_SOURCE | 0 | evtchnl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/xen/xen_snd_front.c xen_snd_front_stream_write() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| DATA_SOURCE | 0 | evtchnl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/xen/xen_drm_front.c xen_drm_front_dbuf_create() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->op.dbuf_create.bpp | 0-4294967287 |
| PARAM_VALUE | 1 | req->op.dbuf_create.dbuf_cookie | 4096-18446744073709547520 |
| PARAM_VALUE | 1 | req->operation | 16 |
| BUF_SIZE | 0 | evtchnl | 320 |
| BUF_SIZE | 1 | req | 64 |
| CAPPED_DATA | 0 | &evtchnl->u.req.req_io_lock | 1 |
| CAPPED_DATA | 1 | req->op.dbuf_create.height | 1 |
| DATA_SOURCE | 1 | req | r be_prepare_req |
| NOSPEC | 1 | req->op.dbuf_create.height | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | req->op.dbuf_create.bpp | 1-4294967287[u] |
| USER_DATA | 1 | req->op.dbuf_create.height | 1-s32max[c] |
| USER_DATA | 1 | req->op.dbuf_create.width | 1-u32max[u] |
| NO_OVERFLOW_SIMPLE | 1 | req->op.dbuf_create.height | |
| NO_OVERFLOW_SIMPLE | 1 | req->op.dbuf_create.width | |
| LOCK2 | &front_info->io_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &evtchnl->u.req.req_io_lock | |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock | ||
| TYPE_LOCK | (struct xen_drm_front_info)->io_lock |
drivers/gpu/drm/xen/xen_drm_front.c xen_drm_front_dbuf_destroy() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->op.dbuf_destroy.dbuf_cookie | 4096-18446744073709547520 |
| PARAM_VALUE | 1 | req->operation | 17 |
| BUF_SIZE | 0 | evtchnl | 320 |
| BUF_SIZE | 1 | req | 64 |
| CAPPED_DATA | 0 | &evtchnl->u.req.req_io_lock | 1 |
| CAPPED_DATA | 1 | req->op.dbuf_destroy.dbuf_cookie | 1 |
| DATA_SOURCE | 1 | req | r be_prepare_req |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &front_info->io_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &evtchnl->u.req.req_io_lock | |
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct xen_drm_front_info)->io_lock |
drivers/gpu/drm/xen/xen_drm_front.c xen_drm_front_fb_attach() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->op.fb_attach.fb_cookie | 4096-18446744073709547520 |
| PARAM_VALUE | 1 | req->op.fb_attach.height | 1-u32max |
| PARAM_VALUE | 1 | req->op.fb_attach.width | 1-u32max |
| PARAM_VALUE | 1 | req->operation | 18 |
| BUF_SIZE | 0 | evtchnl | 320 |
| BUF_SIZE | 1 | req | 64 |
| CAPPED_DATA | 0 | &evtchnl->u.req.req_io_lock | 1 |
| CAPPED_DATA | 1 | req->op.fb_attach.dbuf_cookie | 1 |
| CAPPED_DATA | 1 | req->op.fb_attach.height | 1 |
| CAPPED_DATA | 1 | req->op.fb_attach.width | 1 |
| DATA_SOURCE | 1 | req | r be_prepare_req |
| NOSPEC | 1 | req->op.fb_attach.height | |
| NOSPEC | 1 | req->op.fb_attach.width | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | req->op.fb_attach.height | 1-s32max[c] |
| USER_DATA | 1 | req->op.fb_attach.width | 1-s32max[c] |
| LOCK2 | &front_info->io_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &evtchnl->u.req.req_io_lock | |
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex | ||
| TYPE_LOCK | (struct xen_drm_front_info)->io_lock |
drivers/gpu/drm/xen/xen_drm_front.c xen_drm_front_fb_detach() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->op.fb_detach.fb_cookie | 4096-18446744073709547520 |
| PARAM_VALUE | 1 | req->operation | 19 |
| BUF_SIZE | 0 | evtchnl | 320 |
| BUF_SIZE | 1 | req | 64 |
| CAPPED_DATA | 0 | &evtchnl->u.req.req_io_lock | 1 |
| DATA_SOURCE | 1 | req | r be_prepare_req |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &front_info->io_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| LOCK2 | 0 | &evtchnl->u.req.req_io_lock | |
| TYPE_LOCK | (struct xen_drm_front_info)->io_lock |
drivers/gpu/drm/xen/xen_drm_front.c xen_drm_front_mode_set() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->op.set_config.bpp | 0-32,64 |
| PARAM_VALUE | 1 | req->op.set_config.fb_cookie | 0,4096-18446744073709547520 |
| PARAM_VALUE | 1 | req->operation | 20 |
| BUF_SIZE | 0 | evtchnl | 320 |
| BUF_SIZE | 1 | req | 64 |
| CAPPED_DATA | 0 | &evtchnl->u.req.req_io_lock | 1 |
| DATA_SOURCE | 1 | req | r be_prepare_req |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &front_info->io_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| LOCK2 | 0 | &evtchnl->u.req.req_io_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex | ||
| TYPE_LOCK | (struct xen_drm_front_info)->io_lock |
drivers/gpu/drm/xen/xen_drm_front.c xen_drm_front_page_flip() -> be_stream_do_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evtchnl | 4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | evtchnl->u.req.req_io_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->op.pg_flip.fb_cookie | 1-u64max |
| PARAM_VALUE | 1 | req->operation | 21 |
| BUF_SIZE | 0 | evtchnl | 320 |
| BUF_SIZE | 1 | req | 64 |
| CAPPED_DATA | 0 | &evtchnl->u.req.req_io_lock | 1 |
| DATA_SOURCE | 1 | req | r be_prepare_req |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &front_info->io_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| LOCK2 | 0 | &evtchnl->u.req.req_io_lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct xen_drm_front_info)->io_lock |