Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/cavium/liquidio/lio_main.c liquidio_get_stats64() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 16
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/liquidio/lio_main.c liquidio_hwtstamp_get() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 1 state_flag 8
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/liquidio/lio_main.c octnet_poll_check_txq_status() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 1 state_flag 4
BUF_SIZE 0 lio 503,508,904,50264,50272,50280,50288,50296,50304,50312,50360,50368,50376,50776,50784,50792,50800,50808,50816,50824,50872,50880,50888
BUF_SIZE 0 lio 503,508,904,50264,50272,50280,50288,50296,50304,50312,50360,50368,50376,50776,50784,50792,50800,50808,50816,50824,50872,50880,50888
UNITS 0 lio unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cavium/liquidio/lio_main.c print_link_info() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 1 state_flag 16
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/liquidio/lio_main.c print_link_info() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 2
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/liquidio/lio_vf_main.c liquidio_get_stats64() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 16
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/liquidio/lio_vf_main.c liquidio_hwtstamp_get() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 1 state_flag 8
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/liquidio/lio_vf_main.c print_link_info() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 1 state_flag 16
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/liquidio/lio_vf_main.c print_link_info() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 2
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/liquidio/lio_ethtool.c lio_ethtool_get_ringparam() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 16
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/liquidio/lio_ethtool.c lio_get_ethtool_stats() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 16
DATA_SOURCE 0 lio r netdev_priv

drivers/net/ethernet/cavium/liquidio/lio_ethtool.c lio_vf_get_ethtool_stats() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 16
DATA_SOURCE 0 lio r netdev_priv

drivers/net/ethernet/cavium/liquidio/lio_core.c lio_fetch_stats() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 4
BUF_SIZE 0 lio 503,508,904,50264,50272,50280,50288,50296,50304,50312,50360,50368,50376,50776,50784,50792,50800,50808,50816,50824,50872,50880,50888
BUF_SIZE 0 lio 503,508,904,50264,50272,50280,50288,50296,50304,50312,50360,50368,50376,50776,50784,50792,50800,50808,50816,50824,50872,50880,50888
UNITS 0 lio unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cavium/liquidio/lio_core.c liquidio_push_packet() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 4
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/liquidio/lio_core.c liquidio_push_packet() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 8
DATA_SOURCE 0 lio r netdev_priv
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/liquidio/lio_core.c octnet_poll_check_rxq_oom_status() -> ifstate_check()

Type Parameter Key Value
PARAM_VALUE 0 lio 4096-ptr_max
PARAM_VALUE 1 state_flag 4
BUF_SIZE 0 lio 503,508,904,50264,50272,50280,50288,50296,50304,50312,50360,50368,50376,50776,50784,50792,50800,50808,50816,50824,50872,50880,50888
BUF_SIZE 0 lio 503,508,904,50264,50272,50280,50288,50296,50304,50312,50360,50368,50376,50776,50784,50792,50800,50808,50816,50824,50872,50880,50888
UNITS 0 lio unit_byte
HALF_LOCKED2 &pool->lock