Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

drivers/net/ethernet/broadcom/tg3.c __tg3_set_rx_mode() -> calc_crc()

Type Parameter Key Value
PARAM_VALUE 1 len 6
BUF_SIZE 0 buf 32
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tp->lock
LOCK2 bh
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_test_nvram() -> calc_crc()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 len 16
BUF_SIZE 0 buf 20,24,28,32,36,80,256
BUF_SIZE 0 buf 20,24,28,32,36,80,256
DATA_SOURCE 0 buf r _kmalloc_noprof
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/broadcom/tg3.c tg3_test_nvram() -> calc_crc()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 len 136
HALF_LOCKED2 global &rtnl_mutex