Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/hw/mlx4/mcg.c acquire_group() -> add_sysfs_port_mcg_attr()

Type Parameter Key Value
PARAM_VALUE 2 attr 4096-ptr_max
PARAM_VALUE 2 attr->mode 256
NOCHECK_CALL
LOCK2 &ctx->mcg_table_lock
LOCK2 &pool->lock
TYPE_LOCK (struct mlx4_ib_demux_ctx)->mcg_table_lock

drivers/infiniband/hw/mlx4/mcg.c search_relocate_mgid0_group() -> add_sysfs_port_mcg_attr()

Type Parameter Key Value
PARAM_VALUE 2 attr 4096-ptr_max
NOCHECK_CALL
LOCK2 &ctx->mcg_table_lock
LOCK2 &group->lock
LOCK2 &pool->lock
TYPE_LOCK (struct mcast_group)->lock
TYPE_LOCK (struct mlx4_ib_demux_ctx)->mcg_table_lock