Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c show_tcp_stats() -> t4_tp_get_tcp_stats()

Type Parameter Key Value
PARAM_VALUE 0 adap 4096-ptr_max
PARAM_VALUE 0 adap->stats_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 v4 1118615008953860096
PARAM_VALUE 2 v6 6877257232201551872
PARAM_VALUE 3 sleep_ok 0
BUF_SIZE 0 adap s32min-(-2),1-s32max
BUF_SIZE 0 adap s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 adap unit_array_size
LOCK2 &seq->lock
LOCK2 0 &adap->stats_lock
TYPE_LOCK (struct adapter)->stats_lock
TYPE_LOCK (struct seq_file)->lock

drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb4_get_tcp_stats() -> t4_tp_get_tcp_stats()

Type Parameter Key Value
PARAM_VALUE 0 adap 4096-ptr_max
PARAM_VALUE 0 adap->stats_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 v4 1345915393714446336
PARAM_VALUE 2 v6 6647909486989938688
PARAM_VALUE 3 sleep_ok 0
BUF_SIZE 0 adap s32min-(-2),1-s32max
BUF_SIZE 0 adap s32min-(-2),1-s32max
DATA_SOURCE 1 v4 $1
DATA_SOURCE 2 v6 $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 adap unit_byte
LOCK2 0 &adap->stats_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &stats->lock
TYPE_LOCK (struct adapter)->stats_lock