Defined in 2 files as a function:
- net/ieee802154/nl-mac.c, line 534 (as a function)
- net/ieee802154/nl802154.c, line 1863 (as a function)
Referenced in 2 files:
Smatch caller information:
net/ieee802154/nl802154.c nl802154_add_llsec_devkey() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 2896782252000120848 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl802154.c nl802154_add_llsec_key() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 6277788008248836096 |
| PARAM_VALUE | 1 | desc->device_addr.extended_addr | 0 |
| PARAM_VALUE | 1 | desc->device_addr.mode | 0 |
| PARAM_VALUE | 1 | desc->device_addr.pan_id | 0 |
| PARAM_VALUE | 1 | desc->device_addr.short_addr | 0 |
| PARAM_VALUE | 1 | desc->extended_source | 0 |
| PARAM_VALUE | 1 | desc->id | 0 |
| PARAM_VALUE | 1 | desc->mode | 0 |
| PARAM_VALUE | 1 | desc->short_source | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl802154.c nl802154_add_llsec_key() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 6277788008248836096 |
| PARAM_VALUE | 1 | desc->device_addr.extended_addr | 0-u16max |
| PARAM_VALUE | 1 | desc->device_addr.mode | 0,2-3 |
| PARAM_VALUE | 1 | desc->extended_source | 0-u32max |
| PARAM_VALUE | 1 | desc->mode | 0-3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl802154.c nl802154_del_llsec_devkey() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 89492033873666064 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl802154.c nl802154_del_llsec_key() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 7604409477383041024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl802154.c nl802154_set_llsec_params() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| PARAM_VALUE | 1 | desc | 8821300968567353360 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl-mac.c ieee802154_llsec_setparams() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4201664097468477440 |
| PARAM_VALUE | 0 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 0 | info->family | 4096-ptr_max |
| PARAM_VALUE | 0 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 233913538062647312 |
| DATA_SOURCE | 0 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 0 | info->genlhdr | |
| USER_PTR | 0 | info->nlhdr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl-mac.c llsec_add_devkey() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4201664097468477440 |
| PARAM_VALUE | 0 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 0 | info->family | 4096-ptr_max |
| PARAM_VALUE | 0 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 3915475249133518864 |
| BUF_SIZE | 0 | info->attrs | (-1)-s32max |
| BUF_SIZE | 0 | info->nlhdr | 1-s32max |
| CAPPED_DATA | 0 | info->family->n_ops | 1 |
| CAPPED_DATA | 0 | info->family->n_small_ops | 1 |
| CAPPED_DATA | 0 | info->family->resv_start_op | 1 |
| CAPPED_DATA | 0 | info->nlhdr->nlmsg_len | 1 |
| DATA_SOURCE | 0 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 0 | info->genlhdr | |
| USER_PTR | 0 | info->nlhdr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl-mac.c llsec_add_key() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4201664097468477440 |
| PARAM_VALUE | 0 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 0 | info->family | 4096-ptr_max |
| PARAM_VALUE | 0 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 5158239576106635264 |
| BUF_SIZE | 0 | info->attrs | (-1)-s32max |
| BUF_SIZE | 0 | info->nlhdr | 1-s32max |
| CAPPED_DATA | 0 | info->family->n_ops | 1 |
| CAPPED_DATA | 0 | info->family->n_small_ops | 1 |
| CAPPED_DATA | 0 | info->family->resv_start_op | 1 |
| CAPPED_DATA | 0 | info->nlhdr->nlmsg_len | 1 |
| DATA_SOURCE | 0 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 0 | info->genlhdr | |
| USER_PTR | 0 | info->nlhdr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl-mac.c llsec_del_devkey() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4201664097468477440 |
| PARAM_VALUE | 0 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 0 | info->family | 4096-ptr_max |
| PARAM_VALUE | 0 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 7721541933224816656 |
| BUF_SIZE | 0 | info->attrs | (-1)-s32max |
| BUF_SIZE | 0 | info->nlhdr | 1-s32max |
| CAPPED_DATA | 0 | info->family->n_ops | 1 |
| CAPPED_DATA | 0 | info->family->n_small_ops | 1 |
| CAPPED_DATA | 0 | info->family->resv_start_op | 1 |
| CAPPED_DATA | 0 | info->nlhdr->nlmsg_len | 1 |
| DATA_SOURCE | 0 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 0 | info->genlhdr | |
| USER_PTR | 0 | info->nlhdr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ieee802154/nl-mac.c llsec_remove_key() -> ieee802154_llsec_parse_key_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4201664097468477440 |
| PARAM_VALUE | 0 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 0 | info->family | 4096-ptr_max |
| PARAM_VALUE | 0 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 7094853506436042752 |
| BUF_SIZE | 0 | info->attrs | (-1)-s32max |
| BUF_SIZE | 0 | info->nlhdr | 1-s32max |
| CAPPED_DATA | 0 | info->family->n_ops | 1 |
| CAPPED_DATA | 0 | info->family->n_small_ops | 1 |
| CAPPED_DATA | 0 | info->family->resv_start_op | 1 |
| CAPPED_DATA | 0 | info->nlhdr->nlmsg_len | 1 |
| DATA_SOURCE | 0 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 0 | info->genlhdr | |
| USER_PTR | 0 | info->nlhdr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |