linux/drivers/infiniband/hw/hns
Weihang Li 82eb481da6 RDMA/hns: Use refcount_t APIs for HEM
refcount_t is better than integer for reference counting, it will WARN on
overflow/underflow and avoid use-after-free risks.

Link: https://lore.kernel.org/r/1621589395-2435-5-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-05-28 20:13:58 -03:00
..
hns_roce_ah.c RDMA/hns: Avoid filling sl in high 3 bits of vlan_id 2020-12-11 15:21:34 -04:00
hns_roce_alloc.c RDMA/hns: Optimize the base address table config for MTR 2021-05-28 20:13:57 -03:00
hns_roce_cmd.c RDMA/hns: Modify prints for mailbox and command queue 2021-04-08 16:05:04 -03:00
hns_roce_cmd.h RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_common.h RDMA/hns: Rename CMDQ head/tail pointer to PI/CI 2021-05-20 12:39:29 -03:00
hns_roce_cq.c RDMA/hns: Optimize the base address table config for MTR 2021-05-28 20:13:57 -03:00
hns_roce_db.c RDMA/hns: Remove unused parameter udata 2021-05-20 11:52:16 -03:00
hns_roce_device.h RDMA/hns: Optimize the base address table config for MTR 2021-05-28 20:13:57 -03:00
hns_roce_hem.c RDMA/hns: Use refcount_t APIs for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hem.h RDMA/hns: Use refcount_t APIs for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v1.c RDMA/hns: Remove unnecessary flush operation for workqueue 2021-04-13 13:06:25 -03:00
hns_roce_hw_v1.h RDMA/hns: Move HIP06 related definitions into hns_roce_hw_v1.h 2021-02-08 20:25:25 -04:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Fix wrong timer context buffer page size 2021-05-28 20:13:57 -03:00
hns_roce_hw_v2.h RDMA/hns: Remove Receive Queue of CMDQ 2021-05-20 12:39:29 -03:00
hns_roce_main.c RDMA/hns: Support configuring doorbell mode of RQ and CQ 2021-04-01 16:16:13 -03:00
hns_roce_mr.c RDMA/hns: Optimize the base address table config for MTR 2021-05-28 20:13:57 -03:00
hns_roce_pd.c RDMA/hns: Fix memory corruption when allocating XRCDN 2021-03-22 21:46:37 -03:00
hns_roce_qp.c RDMA/hns: Optimize the base address table config for MTR 2021-05-28 20:13:57 -03:00
hns_roce_restrack.c RDMA: Add a dedicated CQ resource tracker function 2020-06-23 11:46:27 -03:00
hns_roce_srq.c RDMA/hns: Optimize the base address table config for MTR 2021-05-28 20:13:57 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00