Searched refs:nhct (Results 1 – 1 of 1) sorted by relevance
3173 nhct = kzalloc(sizeof(*nhct), GFP_KERNEL); in mlxsw_sp_nexthop_counter_alloc()3174 if (!nhct) in mlxsw_sp_nexthop_counter_alloc()3182 return nhct; in mlxsw_sp_nexthop_counter_alloc()3185 kfree(nhct); in mlxsw_sp_nexthop_counter_alloc()3194 kfree(nhct); in mlxsw_sp_nexthop_counter_free()3206 if (nhct) { in mlxsw_sp_nexthop_sh_counter_get()3208 return nhct; in mlxsw_sp_nexthop_sh_counter_get()3212 if (IS_ERR(nhct)) in mlxsw_sp_nexthop_sh_counter_get()3213 return nhct; in mlxsw_sp_nexthop_sh_counter_get()3220 return nhct; in mlxsw_sp_nexthop_sh_counter_get()[all …]