Searched refs:desired_size (Results 1 – 3 of 3) sorted by relevance
47 int desired_size) in mlx5_ft_pool_get_avail_sz() argument53 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()
17 int desired_size);
67 static int resize_to_fit(char **buf, size_t *size, size_t desired_size) in resize_to_fit() argument72 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()