Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_kvdl.c74 struct mlxsw_sp1_kvdl_part *part, *min_part = NULL; in mlxsw_sp1_kvdl_alloc_size_part() local
80 (!min_part || in mlxsw_sp1_kvdl_alloc_size_part()
81 part->info.alloc_size <= min_part->info.alloc_size)) in mlxsw_sp1_kvdl_alloc_size_part()
82 min_part = part; in mlxsw_sp1_kvdl_alloc_size_part()
85 return min_part ?: ERR_PTR(-ENOBUFS); in mlxsw_sp1_kvdl_alloc_size_part()