Defined in 1 files as a function:
Referenced in 6 files:
- net/devlink/core.c
- net/devlink/dev.c
- net/devlink/netlink.c
- net/devlink/param.c, line 462
- net/devlink/rate.c, line 239
- net/devlink/trap.c
Smatch caller information:
net/devlink/core.c devlink_nested_in_get_lock() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->ops->supported_cross_device_rate_nodes | 1 |
| PARAM_VALUE | 0 | devlink->refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | devlink | r devlinks_xa_get |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/core.c devlink_pernet_pre_exit() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| DATA_SOURCE | 0 | devlink | r devlinks_xa_find_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/core.c devlink_rel_nested_in_notify_work() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | devlink | r devlinks_xa_get |
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/param.c devlink_param_notify() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/netlink.c devlink_get_from_attrs_lock() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/netlink.c devlink_nl_inst_iter_dumpit() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->ops->info_get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->sb_pool_get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->sb_port_pool_get | 0,5080524251109040128,5500329137182081024,8058848025358356480 |
| PARAM_VALUE | 0 | devlink->ops->sb_tc_pool_bind_get | 0,557608487823060992,7803434078078054400,8622157503094607872 |
| PARAM_VALUE | 0 | devlink->ops->selftest_check | 0,8032679069814992896 |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| DATA_SOURCE | 0 | devlink | r devlinks_xa_find_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct devlink)->lock | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/devlink/trap.c devlink_trap_group_notify() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_group_init | 0,4370573782860898304 |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/trap.c devlink_trap_notify() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_action_set | 0,262488898109276160,1231087875314417664,2819781707232804864,3957294255593287680,5660707409600446464 |
| PARAM_VALUE | 0 | devlink->ops->trap_fini | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_group_init | 0,4370573782860898304 |
| PARAM_VALUE | 0 | devlink->ops->trap_init | 0,621084343245131776,820864369514713088,1114326007562944512,8379681212193501184,8548560371378245632 |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/trap.c devlink_trap_policer_notify() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_policer_init | 0,2839869192359178240 |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/rate.c devlink_rate_notify() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/devlink/dev.c __devlink_flash_update_notify() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink->ops->flash_update | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->info_get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->supported_flash_update_params | 0-1 |
| BUF_SIZE | 0 | devlink | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | devlink | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | devlink | $0 |
| STR_LEN | 0 | devlink | (-1),7-18,22-23,31-33,41,45,49,58,63,106,127 |
| STR_LEN | 0 | devlink | (-1),7-18,22-23,31-33,41,45,49,58,63,106,127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/dev.c devlink_compat_flash_update() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | devlink | $0 |
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/dev.c devlink_compat_running_version() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->info_get | 4096-ptr_max |
| DATA_SOURCE | 0 | devlink | $0 |
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/dev.c devlink_notify() -> devl_is_registered()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &devlink->lock |