Christophe JAILLET f86dbc9fc5 IB/hfi1: Use bitmap_zalloc() when applicable
Use 'bitmap_zalloc()' to simplify code, improve the semantic and avoid
some open-coded arithmetic in allocator arguments.

Also change the corresponding 'kfree()' into 'bitmap_free()' to keep
consistency.

Link: https://lore.kernel.org/r/d46c6bc1869b8869244fa71943d2cad4104b3668.1637869925.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-11-29 14:33:55 -04:00
..
2019-06-28 22:34:26 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2020-05-21 11:23:56 -03:00
2021-10-04 16:01:26 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-05-01 09:15:05 -07:00
2019-02-05 18:07:43 -05:00
2019-04-24 11:31:49 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-09-02 14:47:21 -07:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-07-30 10:06:08 -03:00
2021-09-08 08:33:04 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00
2021-08-25 14:56:48 -03:00