Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_ft_pool.c47 int desired_size) in mlx5_ft_pool_get_avail_sz() argument
53 if (dev->priv.ft_pool->ft_left[i] && FT_POOLS[i] >= desired_size && in mlx5_ft_pool_get_avail_sz()
56 if (desired_size != POOL_NEXT_SIZE) in mlx5_ft_pool_get_avail_sz()
Dfs_ft_pool.h17 int desired_size);
/drivers/misc/habanalabs/common/
Dstate_dump.c67 static int resize_to_fit(char **buf, size_t *size, size_t desired_size) in resize_to_fit() argument
72 if (*size >= desired_size) in resize_to_fit()
76 new_size = max_t(size_t, PAGE_SIZE, round_up(desired_size, PAGE_SIZE)); in resize_to_fit()