Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c, line 767
- drivers/net/ethernet/intel/ice/ice_dcb_nl.c, line 702
- drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
- drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c, line 267
- drivers/net/ethernet/microchip/lan966x/lan966x_dcb.c
- drivers/net/ethernet/microchip/sparx5/sparx5_dcb.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c, line 939
- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c, line 1757
- drivers/scsi/fcoe/fcoe.c
- drivers/target/iscsi/cxgbit/cxgbit_cm.c, line 889
- net/dcb/dcbnl.c
Smatch caller information:
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_copy_dcb_cfg() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | app | 677544921947828224 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->protocol | 35078 |
| PARAM_VALUE | 1 | app->selector | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcbnl_getapp() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getapp | 794501388497436672,965795980405088256,2894959814339502080,2984322260489670656,5223760794104979456,5557345874052702208,8353156663670288384 |
| PARAM_VALUE | 1 | app | 7948433138900946944 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->selector | 0-1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcbnl_set_all() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->setall | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->setdcbx | 0,4096-ptr_max |
| PARAM_VALUE | 1 | app | 2196790329286660096 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->protocol | 35078 |
| PARAM_VALUE | 1 | app->selector | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c get_iscsi_dcb_priority() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getstate | 4096-ptr_max |
| PARAM_VALUE | 1 | app | 6628036013252706304 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->protocol | 3260 |
| PARAM_VALUE | 1 | app->selector | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/fcoe/fcoe.c fcoe_dcb_create() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getdcbx | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 1024-u32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | app | 3207247201073254400 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->protocol | 35078 |
| PARAM_VALUE | 1 | app->selector | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &fcoe_config_mutex | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/scsi/fcoe/fcoe.c fcoe_dcb_create() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getdcbx | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 1024-u32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | app | 3207247201073254400 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->protocol | 35092 |
| PARAM_VALUE | 1 | app->selector | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &fcoe_config_mutex | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/net/ethernet/microchip/lan966x/lan966x_dcb.c lan966x_dcb_app_update() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->dcbnl_setapptrust | 0,2456015536599937024,3043935435457818624,8201981444526960640 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->dcbnl_setbuffer | 0,4672171610127327232,8940630752267579392 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setets | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setmaxrate | 0,1792026045275332608,1946975763762614272,3784777009920974848,5049440110205194240 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setpfc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setqcn | 0,7762740193630216192 |
| PARAM_VALUE | 1 | app | 3822976220437229568 |
| PARAM_VALUE | 1 | app->protocol | 0-15 |
| PARAM_VALUE | 1 | app->selector | 255 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/microchip/lan966x/lan966x_dcb.c lan966x_dcb_app_update() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->dcbnl_setapptrust | 0,2456015536599937024,3043935435457818624,8201981444526960640 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->dcbnl_setbuffer | 0,4672171610127327232,8940630752267579392 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setets | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setmaxrate | 0,1792026045275332608,1946975763762614272,3784777009920974848,5049440110205194240 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setpfc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setqcn | 0,7762740193630216192 |
| PARAM_VALUE | 1 | app | 3822976220437229568 |
| PARAM_VALUE | 1 | app->protocol | 0-63 |
| PARAM_VALUE | 1 | app->selector | 5 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/microchip/lan966x/lan966x_dcb.c lan966x_dcb_ieee_setapp() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | app | 4096-ptr_max |
| PARAM_VALUE | 1 | app->priority | 0-7 |
| PARAM_VALUE | 1 | app->protocol | 0-63 |
| PARAM_VALUE | 1 | app->selector | 1,5,255 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | app | $1 |
| HARD_MAX | 1 | app->priority | 7 |
drivers/net/ethernet/microchip/sparx5/sparx5_dcb.c sparx5_dcb_app_update() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->dcbnl_setapptrust | 0,2456015536599937024,3043935435457818624,8201981444526960640 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->dcbnl_setbuffer | 0,4672171610127327232,8940630752267579392 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setets | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setmaxrate | 0,1792026045275332608,1946975763762614272,3784777009920974848,5049440110205194240 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setpfc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setqcn | 0,7762740193630216192 |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | app | 5901251938815545344 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->protocol | 0-63 |
| PARAM_VALUE | 1 | app->selector | 5 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/microchip/sparx5/sparx5_dcb.c sparx5_dcb_app_update() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->dcbnl_setapptrust | 0,2456015536599937024,3043935435457818624,8201981444526960640 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->dcbnl_setbuffer | 0,4672171610127327232,8940630752267579392 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setets | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setmaxrate | 0,1792026045275332608,1946975763762614272,3784777009920974848,5049440110205194240 |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setpfc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->ieee_setqcn | 0,7762740193630216192 |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | app | 5901251938815545344 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->protocol | 0-15 |
| PARAM_VALUE | 1 | app->selector | 255 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/microchip/sparx5/sparx5_dcb.c sparx5_dcb_ieee_setapp() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | app | 4096-ptr_max |
| PARAM_VALUE | 1 | app->priority | 0-7 |
| PARAM_VALUE | 1 | app->protocol | 0-63 |
| PARAM_VALUE | 1 | app->selector | 1,5,255 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | app | $1 |
| HARD_MAX | 1 | app->priority | 7 |
net/dcb/dcbnl.c dcbnl_getapp() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getapp | 0 |
| PARAM_VALUE | 1 | app | 7929079987453255680 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->selector | 0-1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_getapp() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getapp | 794501388497436672,965795980405088256,2894959814339502080,2984322260489670656,5223760794104979456,5557345874052702208,8353156663670288384 |
| PARAM_VALUE | 1 | app | 4014288703840583680 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->selector | 0-1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgbit_get_iscsi_dcb_priority() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getstate | 4096-ptr_max |
| PARAM_VALUE | 1 | app | 262027357988687872 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->selector | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | app->protocol | 0-u16max[u] |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c mlx4_en_dcbnl_getapp() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getapp | 794501388497436672,965795980405088256,2894959814339502080,2984322260489670656,5223760794104979456,5557345874052702208,8353156663670288384 |
| PARAM_VALUE | 0 | dev->priv->dcbx_cap | 4-255 |
| PARAM_VALUE | 1 | app | 2371608316162785280 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->selector | 0-1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c qlcnic_dcb_get_app() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getapp | 794501388497436672,965795980405088256,2894959814339502080,2984322260489670656,5223760794104979456,5557345874052702208,8353156663670288384 |
| PARAM_VALUE | 0 | dev->priv->dcb | 4096-ptr_max |
| PARAM_VALUE | 1 | app | 2618344404730675200 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->selector | 0-1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c i40e_dcbnl_getapp() -> dcb_getapp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dcbnl_ops->getapp | 794501388497436672,965795980405088256,2894959814339502080,2984322260489670656,5223760794104979456,5557345874052702208,8353156663670288384 |
| PARAM_VALUE | 1 | app | 6861842706910896128 |
| PARAM_VALUE | 1 | app->priority | 0 |
| PARAM_VALUE | 1 | app->selector | 0-1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |