Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c2850 refcount_set(&mlxsw_sp->parsing.parsing_depth_ref, 0); in mlxsw_sp_parsing_init()
2859 WARN_ON_ONCE(refcount_read(&mlxsw_sp->parsing.parsing_depth_ref)); in mlxsw_sp_parsing_fini()
4031 if (refcount_inc_not_zero(&mlxsw_sp->parsing.parsing_depth_ref)) in mlxsw_sp_parsing_depth_inc()
4041 refcount_set(&mlxsw_sp->parsing.parsing_depth_ref, 1); in mlxsw_sp_parsing_depth_inc()
4054 if (!refcount_dec_and_test(&mlxsw_sp->parsing.parsing_depth_ref)) in mlxsw_sp_parsing_depth_dec()
H A Dspectrum.h151 refcount_t parsing_depth_ref; member