Chao Gao 44335487ba swiotlb: consolidate rounding up default_nslabs
default_nslabs are rounded up in two cases with exactly same comments.
Add a simple wrapper to reduce duplicate code/comments. It is preparatory
to adding more logics into the round-up.

No functional change intended.

Signed-off-by: Chao Gao <chao.gao@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2022-07-18 06:49:58 +02:00
..
2022-05-26 17:13:43 -07:00
2022-06-05 10:40:31 -07:00
2022-05-25 16:18:27 -07:00
2021-12-02 17:25:21 +09:00
2022-05-25 11:32:53 -07:00
2022-06-02 08:55:01 -07:00
2022-05-27 21:24:19 -07:00
2022-05-26 16:57:20 -07:00
2022-01-11 13:08:21 -08:00
2022-06-15 19:28:44 -04:00
2022-05-23 17:51:12 -07:00
2022-03-15 10:32:44 +01:00
2022-03-28 17:29:53 -07:00
2022-05-29 10:31:36 -07:00
2022-05-02 14:06:20 -06:00
2022-01-08 12:43:57 -06:00
2022-06-17 14:57:42 -05:00
2022-05-24 11:11:13 -07:00
2022-02-25 09:36:06 +01:00
2022-05-26 16:57:20 -07:00