Defined in 2 files as a function:
- drivers/net/can/dev/dev.c, line 191 (as a function)
- drivers/platform/x86/intel/ifs/runtest.c, line 127 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/can/dev/dev.c can_restart_now() -> can_restart()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 1-u32max |
| PARAM_VALUE | 0 | dev->priv->restart_ms | 0 |
| PARAM_VALUE | 0 | dev->priv->restart_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv->state | 3 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| CAPPED_DATA | 0 | dev->rtnl_link_ops | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->flags | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/can/dev/dev.c can_restart_work() -> can_restart()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/intel/ifs/runtest.c ifs_test_core() -> can_restart()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &ifs_sem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |