Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/fs.c _get_flow_table() -> mlx5_eswitch_get_encap_mode()

Type Parameter Key Value
UNITS 0 dev unit_byte
LOCK2 &dev->flow_db->lock
TYPE_LOCK (struct mlx5_ib_flow_db)->lock

drivers/infiniband/hw/mlx5/fs.c get_flow_table() -> mlx5_eswitch_get_encap_mode()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
UNITS 0 dev unit_byte
LOCK2 &dev->flow_db->lock
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct mlx5_ib_flow_db)->lock