android_kernel_samsung_sm8650/drivers/infiniband/hw
Christophe JAILLET 67ec0fdfc5 RDMA/pvrdma: 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/33e8b993bfa6b7164e9bee95e3c27fb2c53949ce.1637870667.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
..
bnxt_re RDMA/bnxt_re: Remove dynamic pkey table 2021-11-25 13:35:51 -04:00
cxgb4 RDMA/cxgb4: Use non-atomic bitmap functions when possible 2021-11-25 13:29:06 -04:00
efa RDMA/efa: Add support for dmabuf memory regions 2021-10-28 08:58:26 -03:00
hfi1 IB/hfi1: Use bitmap_zalloc() when applicable 2021-11-29 14:33:55 -04:00
hns RDMA/hns: Remove magic number 2021-11-19 14:13:44 -04:00
irdma RDMA/irdma: Use helper function to set GUIDs 2021-11-16 13:54:24 -04:00
mlx4 RDMA/mlx4: Use bitmap_alloc() when applicable 2021-11-29 14:33:55 -04:00
mlx5 RDMA v5.16 merge window pull request 2021-11-03 08:05:59 -07:00
mthca IB/mthca: Use non-atomic bitmap functions when possible in 'mthca_mr.c' 2021-11-25 13:29:06 -04:00
ocrdma RDMA/ocrdma: Simplify code in 'ocrdma_search_mmap()' 2021-11-29 14:33:55 -04:00
qedr RDMA v5.16 merge window pull request 2021-11-03 08:05:59 -07:00
qib Linux 5.15 2021-11-01 14:49:20 -03:00
usnic RDMA/usnic: Clean up usnic_ib_alloc_pd() 2021-11-19 12:02:30 -04:00
vmw_pvrdma RDMA/pvrdma: Use bitmap_zalloc() when applicable 2021-11-29 14:33:55 -04:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00