Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/block/xen-blkback/xenbus.c, line 791
- drivers/gpu/drm/xen/xen_drm_front.c
- drivers/net/xen-netback/xenbus.c
- drivers/net/xen-netfront.c, line 2497
- drivers/xen/xenbus/xenbus_client.c, line 112
- drivers/xen/xenbus/xenbus_probe.c
- drivers/xen/xenbus/xenbus_probe_frontend.c
- sound/xen/xen_snd_front.c
Smatch caller information:
drivers/net/xen-netfront.c netback_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
sound/xen/xen_snd_front.c sndback_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
sound/xen/xen_snd_front.c sndback_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING | |||
| UNITS | 0 | state | unit_array_size |
| LOCK2 | global &xenwatch_mutex |
sound/xen/xen_snd_front.c xen_drv_remove() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r xenbus_read_unsigned |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->reclaim_sem | ||
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |
drivers/block/xen-blkback/xenbus.c frontend_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/net/xen-netback/xenbus.c backend_switch_state() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 2,4-6 |
| DATA_SOURCE | 0 | state | $1 |
| HARD_MAX | 0 | state | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/net/xen-netback/xenbus.c frontend_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/xen/xenbus/xenbus_probe.c state_show() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | state | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/xen/xenbus/xenbus_probe.c xenbus_otherend_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r xenbus_read_driver_state |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/xen/xenbus/xenbus_probe_frontend.c xenbus_check_frontend() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4,6 |
drivers/xen/xenbus/xenbus_probe_frontend.c xenbus_frontend_dev_shutdown() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 0-3,5-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | state | unit_array_size |
| LOCK2 | &_dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/xen/xenbus/xenbus_probe_frontend.c xenbus_reset_backend_state_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/xen/xenbus/xenbus_probe_frontend.c xenbus_reset_frontend() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $2 |
drivers/gpu/drm/xen/xen_drm_front.c displback_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/gpu/drm/xen/xen_drm_front.c displback_changed() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING | |||
| UNITS | 0 | state | unit_array_size |
| LOCK2 | global &xenwatch_mutex |
drivers/gpu/drm/xen/xen_drm_front.c xen_drv_remove() -> xenbus_strstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r xenbus_read_unsigned |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->reclaim_sem | ||
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |