Home
last modified time | relevance | path

Searched refs:parsing_depth_ref (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c2940 refcount_set(&mlxsw_sp->parsing.parsing_depth_ref, 0); in mlxsw_sp_parsing_init()
2949 WARN_ON_ONCE(refcount_read(&mlxsw_sp->parsing.parsing_depth_ref)); in mlxsw_sp_parsing_fini()
4122 if (refcount_inc_not_zero(&mlxsw_sp->parsing.parsing_depth_ref)) in mlxsw_sp_parsing_depth_inc()
4132 refcount_set(&mlxsw_sp->parsing.parsing_depth_ref, 1); in mlxsw_sp_parsing_depth_inc()
4145 if (!refcount_dec_and_test(&mlxsw_sp->parsing.parsing_depth_ref)) in mlxsw_sp_parsing_depth_dec()
H A Dspectrum.h155 refcount_t parsing_depth_ref; member