Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c mvpp2_dbgfs_filter_show() -> mvpp2_prs_tcam_data_byte_get()

Type Parameter Key Value
PARAM_VALUE 0 pe 3404577814433529856
PARAM_VALUE 1 offs 0-5
PARAM_VALUE 2 byte 4096-ptr_max
PARAM_VALUE 3 enable 4096-ptr_max
MEM_ZERO 0 pe
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c mvpp2_dbgfs_port_vid_show() -> mvpp2_prs_tcam_data_byte_get()

Type Parameter Key Value
PARAM_VALUE 0 pe 7359986924394139648
PARAM_VALUE 1 offs 2
PARAM_VALUE 2 byte 671735914514173952
PARAM_VALUE 3 enable 8153431761406881792
BUF_SIZE 2 byte 2
BUF_SIZE 3 enable 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c mvpp2_dbgfs_port_vid_show() -> mvpp2_prs_tcam_data_byte_get()

Type Parameter Key Value
PARAM_VALUE 0 pe 7359986924394139648
PARAM_VALUE 1 offs 3
PARAM_VALUE 2 byte 671735914514173953
PARAM_VALUE 3 enable 8153431761406881793
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c mvpp2_dbgfs_prs_hdata_show() -> mvpp2_prs_tcam_data_byte_get()

Type Parameter Key Value
PARAM_VALUE 0 pe 3602134334304538624
PARAM_VALUE 1 offs 0-7
PARAM_VALUE 2 byte 4096-ptr_max
PARAM_VALUE 3 enable 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_mac_del_all() -> mvpp2_prs_tcam_data_byte_get()

Type Parameter Key Value
PARAM_VALUE 0 pe 5164561643033214976
PARAM_VALUE 1 offs 0-5
PARAM_VALUE 2 byte 4096-ptr_max
PARAM_VALUE 3 enable 4096-ptr_max
MEM_ZERO 0 pe
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->prs_spinlock
LOCK2 bh
HALF_LOCKED2 &dev->addr_list_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mvpp2)->prs_spinlock

drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_mac_range_equals() -> mvpp2_prs_tcam_data_byte_get()

Type Parameter Key Value
PARAM_VALUE 0 pe 5778497669275910144
PARAM_VALUE 1 offs 0-5
PARAM_VALUE 2 byte 4665057114464145408
PARAM_VALUE 3 enable 4267411310686515200
DATA_SOURCE 0 pe $0
MEM_ZERO 0 pe
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
HALF_LOCKED2 &port->priv->prs_spinlock
HALF_LOCKED2 &priv->prs_spinlock
TYPE_LOCK (struct mvpp2)->prs_spinlock

drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_vid_range_find() -> mvpp2_prs_tcam_data_byte_get()

Type Parameter Key Value
PARAM_VALUE 0 pe 157958046480334848
PARAM_VALUE 1 offs 2
PARAM_VALUE 2 byte 6487092862871138304
PARAM_VALUE 3 enable 3692144635226284032
BUF_SIZE 2 byte 2
BUF_SIZE 3 enable 2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->prs_spinlock
LOCK2 bh
TYPE_LOCK (struct mvpp2)->prs_spinlock

drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_vid_range_find() -> mvpp2_prs_tcam_data_byte_get()

Type Parameter Key Value
PARAM_VALUE 0 pe 157958046480334848
PARAM_VALUE 1 offs 3
PARAM_VALUE 2 byte 6487092862871138305
PARAM_VALUE 3 enable 3692144635226284033
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->prs_spinlock
LOCK2 bh
TYPE_LOCK (struct mvpp2)->prs_spinlock