• Home
  • Raw
  • Download

Lines Matching refs:ref_count

55 	int ref_count;  member
63 int ref_count; member
113 atomic_t ref_count; member
142 atomic_t ref_count; member
178 atomic_t ref_count; member
191 atomic_t ref_count; member
866 atomic_set(&ret->ref_count, 0); in alloc_qp_tr()
882 atomic_set(&ret->ref_count, 0); in alloc_mtt_tr()
926 atomic_set(&ret->ref_count, 0); in alloc_cq_tr()
941 atomic_set(&ret->ref_count, 0); in alloc_srq_tr()
1091 if (res->com.state == RES_QP_BUSY || atomic_read(&res->ref_count) || in remove_qp_ok()
1094 res->com.state, atomic_read(&res->ref_count)); in remove_qp_ok()
1106 atomic_read(&res->ref_count)) { in remove_mtt_ok()
1110 atomic_read(&res->ref_count)); in remove_mtt_ok()
1440 else if (atomic_read(&r->ref_count)) in cq_res_start_move_to()
1480 else if (atomic_read(&r->ref_count)) in srq_res_start_move_to()
1781 ++res->ref_count; in mac_add_to_slave()
1796 res->ref_count = 1; in mac_add_to_slave()
1813 if (!--res->ref_count) { in mac_del_from_slave()
1835 for (i = 0; i < res->ref_count; i++) in rem_slave_macs()
1888 ++res->ref_count; in vlan_add_to_slave()
1903 res->ref_count = 1; in vlan_add_to_slave()
1921 if (!--res->ref_count) { in vlan_del_from_slave()
1944 for (i = 0; i < res->ref_count; i++) in rem_slave_vlans()
2566 atomic_inc(&mtt->ref_count); in mlx4_SW2HW_MPT_wrapper()
2603 atomic_dec(&mpt->mtt->ref_count); in mlx4_HW2SW_MPT_wrapper()
2757 atomic_inc(&mtt->ref_count); in mlx4_RST2INIT_QP_wrapper()
2759 atomic_inc(&rcq->ref_count); in mlx4_RST2INIT_QP_wrapper()
2761 atomic_inc(&scq->ref_count); in mlx4_RST2INIT_QP_wrapper()
2768 atomic_inc(&srq->ref_count); in mlx4_RST2INIT_QP_wrapper()
2863 atomic_inc(&mtt->ref_count); in mlx4_SW2HW_EQ_wrapper()
3036 atomic_dec(&eq->mtt->ref_count); in mlx4_HW2SW_EQ_wrapper()
3165 atomic_inc(&mtt->ref_count); in mlx4_SW2HW_CQ_wrapper()
3194 atomic_dec(&cq->mtt->ref_count); in mlx4_HW2SW_CQ_wrapper()
3259 atomic_dec(&orig_mtt->ref_count); in handle_resize()
3261 atomic_inc(&mtt->ref_count); in handle_resize()
3347 atomic_inc(&mtt->ref_count); in mlx4_SW2HW_SRQ_wrapper()
3377 atomic_dec(&srq->mtt->ref_count); in mlx4_HW2SW_SRQ_wrapper()
3379 atomic_dec(&srq->cq->ref_count); in mlx4_HW2SW_SRQ_wrapper()
3707 atomic_dec(&qp->mtt->ref_count); in mlx4_2RST_QP_wrapper()
3708 atomic_dec(&qp->rcq->ref_count); in mlx4_2RST_QP_wrapper()
3709 atomic_dec(&qp->scq->ref_count); in mlx4_2RST_QP_wrapper()
3711 atomic_dec(&qp->srq->ref_count); in mlx4_2RST_QP_wrapper()
4120 atomic_inc(&rqp->ref_count); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4159 atomic_dec(&rqp->ref_count); in mlx4_QP_FLOW_STEERING_DETACH_wrapper()
4321 atomic_dec(&qp->rcq->ref_count); in rem_slave_qps()
4322 atomic_dec(&qp->scq->ref_count); in rem_slave_qps()
4323 atomic_dec(&qp->mtt->ref_count); in rem_slave_qps()
4325 atomic_dec(&qp->srq->ref_count); in rem_slave_qps()
4388 atomic_dec(&srq->mtt->ref_count); in rem_slave_srqs()
4390 atomic_dec(&srq->cq->ref_count); in rem_slave_srqs()
4426 if (cq->com.owner == slave && !atomic_read(&cq->ref_count)) { in rem_slave_cqs()
4453 atomic_dec(&cq->mtt->ref_count); in rem_slave_cqs()
4522 atomic_dec(&mpt->mtt->ref_count); in rem_slave_mrs()
4690 atomic_dec(&eq->mtt->ref_count); in rem_slave_eqs()