max_cnt 260 arch/x86/events/amd/ibs.c u64 max_cnt, config; max_cnt 294 arch/x86/events/amd/ibs.c max_cnt = config & perf_ibs->cnt_mask; max_cnt 296 arch/x86/events/amd/ibs.c event->attr.sample_period = max_cnt << 4; max_cnt 581 drivers/block/rsxx/cregs.c int max_cnt = count; max_cnt 591 drivers/block/rsxx/cregs.c return max_cnt - count; max_cnt 276 drivers/infiniband/hw/hns/hns_roce_qp.c u32 max_cnt; max_cnt 299 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(cap->max_recv_wr, hr_dev->caps.min_wqes); max_cnt 301 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = cap->max_recv_wr; max_cnt 303 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.wqe_cnt = roundup_pow_of_two(max_cnt); max_cnt 310 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(1U, cap->max_recv_sge); max_cnt 311 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.max_gs = roundup_pow_of_two(max_cnt); max_cnt 357 drivers/infiniband/hw/hns/hns_roce_qp.c u32 max_cnt; max_cnt 372 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(1U, cap->max_send_sge); max_cnt 374 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs = roundup_pow_of_two(max_cnt); max_cnt 376 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs = max_cnt; max_cnt 556 drivers/infiniband/hw/hns/hns_roce_qp.c u32 max_cnt; max_cnt 570 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(cap->max_send_wr, hr_dev->caps.min_wqes); max_cnt 572 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = cap->max_send_wr; max_cnt 574 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.wqe_cnt = roundup_pow_of_two(max_cnt); max_cnt 581 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(1U, cap->max_send_sge); max_cnt 583 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs = roundup_pow_of_two(max_cnt); max_cnt 585 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs = max_cnt; max_cnt 198 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[rsrc_idx].max_cnt = (u32)temp; max_cnt 237 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_QP].max_cnt = (u32)RS_64(temp, I40IW_QUERY_FPM_MAX_QPS); max_cnt 242 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_CQ].max_cnt = (u32)RS_64(temp, I40IW_QUERY_FPM_MAX_CQS); max_cnt 250 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_APBVT_ENTRY].max_cnt = 1; max_cnt 256 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_XFFL].max_cnt = (u32)temp; max_cnt 265 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_Q1FL].max_cnt = (u32)temp; max_cnt 274 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_PBLE].max_cnt = (u32)temp; max_cnt 3933 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[i].cnt = hmc_info->hmc_obj[i].max_cnt; max_cnt 3943 drivers/infiniband/hw/i40iw/i40iw_ctrl.c qpwanted = min(qp_count, hmc_info->hmc_obj[I40IW_HMC_IW_QP].max_cnt); max_cnt 3945 drivers/infiniband/hw/i40iw/i40iw_ctrl.c mrwanted = hmc_info->hmc_obj[I40IW_HMC_IW_MR].max_cnt; max_cnt 3946 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pblewanted = hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].max_cnt; max_cnt 3951 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_QP].max_cnt, max_cnt 3952 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_CQ].max_cnt, max_cnt 3953 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_MR].max_cnt, max_cnt 3954 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].max_cnt); max_cnt 3965 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_ARP].max_cnt; max_cnt 818 drivers/infiniband/hw/i40iw/i40iw_hmc.c hmc_info->hmc_obj[i].cnt = hmc_info->hmc_obj[i].max_cnt; max_cnt 90 drivers/infiniband/hw/i40iw/i40iw_hmc.h u32 max_cnt; max_cnt 368 drivers/infiniband/hw/ocrdma/ocrdma.h u32 max_cnt; max_cnt 2205 drivers/infiniband/hw/ocrdma/ocrdma_hw.c qp->sq.max_cnt = max_wqe_allocated; max_cnt 2227 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->max_wqe_rqe |= (ilog2(qp->sq.max_cnt) << max_cnt 2255 drivers/infiniband/hw/ocrdma/ocrdma_hw.c qp->rq.max_cnt = max_rqe_allocated; max_cnt 2274 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->max_wqe_rqe |= (ilog2(qp->rq.max_cnt) << max_cnt 2358 drivers/infiniband/hw/ocrdma/ocrdma_hw.c qp->sq.max_cnt = max_wqe_allocated; max_cnt 2362 drivers/infiniband/hw/ocrdma/ocrdma_hw.c qp->rq.max_cnt = max_rqe_allocated; max_cnt 2782 drivers/infiniband/hw/ocrdma/ocrdma_hw.c srq->rq.max_cnt = max_rqe_allocated; max_cnt 2805 drivers/infiniband/hw/ocrdma/ocrdma_hw.c srq->rq.max_cnt = max_rqe_allocated; max_cnt 1202 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.num_wqe_allocated = qp->sq.max_cnt; max_cnt 1208 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.num_rqe_allocated = qp->rq.max_cnt; max_cnt 1266 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c kcalloc(qp->sq.max_cnt, sizeof(*(qp->wqe_wr_id_tbl)), max_cnt 1271 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c kcalloc(qp->rq.max_cnt, sizeof(u64), GFP_KERNEL); max_cnt 1497 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp_attr->cap.max_send_wr = qp->sq.max_cnt - 1; max_cnt 1498 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp_attr->cap.max_recv_wr = qp->rq.max_cnt - 1; max_cnt 1566 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c return ((q->max_wqe_idx - q->head) + q->tail) % q->max_cnt; max_cnt 1761 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c uresp.num_rqe_allocated = srq->rq.max_cnt; max_cnt 1801 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c srq->rqe_wr_id_tbl = kcalloc(srq->rq.max_cnt, sizeof(u64), max_cnt 1808 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c srq->bit_fields_len = (srq->rq.max_cnt / 32) + max_cnt 1809 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (srq->rq.max_cnt % 32 ? 1 : 0); max_cnt 2287 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c BUG_ON(indx >= srq->rq.max_cnt); max_cnt 373 drivers/media/platform/exynos-gsc/gsc-m2m.c u32 max_cnt; max_cnt 375 drivers/media/platform/exynos-gsc/gsc-m2m.c max_cnt = (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) ? max_cnt 377 drivers/media/platform/exynos-gsc/gsc-m2m.c if (reqbufs->count > max_cnt) max_cnt 21 drivers/net/ethernet/intel/i40e/i40e_hmc.h u32 max_cnt; /* max count available for this hmc func */ max_cnt 99 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->max_cnt = 0; max_cnt 106 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c obj->max_cnt = rd32(hw, I40E_GLHMC_LANQMAX); max_cnt 113 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (txq_num > obj->max_cnt) { max_cnt 116 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c txq_num, obj->max_cnt, ret_code); max_cnt 121 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->max_cnt += obj->max_cnt; max_cnt 126 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c obj->max_cnt = rd32(hw, I40E_GLHMC_LANQMAX); max_cnt 136 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (rxq_num > obj->max_cnt) { max_cnt 139 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c rxq_num, obj->max_cnt, ret_code); max_cnt 144 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->max_cnt += obj->max_cnt; max_cnt 149 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c obj->max_cnt = rd32(hw, I40E_GLHMC_FCOEMAX); max_cnt 159 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (fcoe_cntx_num > obj->max_cnt) { max_cnt 162 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c fcoe_cntx_num, obj->max_cnt, ret_code); max_cnt 167 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->max_cnt += obj->max_cnt; max_cnt 172 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c obj->max_cnt = rd32(hw, I40E_GLHMC_FCOEFMAX); max_cnt 182 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (fcoe_filt_num > obj->max_cnt) { max_cnt 185 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c fcoe_filt_num, obj->max_cnt, ret_code); max_cnt 190 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->max_cnt += obj->max_cnt; max_cnt 52 drivers/net/wan/fsl_ucc_hdlc.h __be32 max_cnt; max_cnt 1622 drivers/scsi/lpfc/lpfc_debugfs.c int i, j, max_cnt; max_cnt 1640 drivers/scsi/lpfc/lpfc_debugfs.c max_cnt = size - LPFC_DEBUG_OUT_LINE_SZ; max_cnt 1682 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) { max_cnt 3685 drivers/scsi/lpfc/lpfc_debugfs.c int *len, int max_cnt, int cq_id) max_cnt 3695 drivers/scsi/lpfc/lpfc_debugfs.c if (*len >= max_cnt) max_cnt 3758 drivers/scsi/lpfc/lpfc_debugfs.c int *len, int max_cnt, int eqidx, int eq_id) max_cnt 3770 drivers/scsi/lpfc/lpfc_debugfs.c if (*len >= max_cnt) max_cnt 3774 drivers/scsi/lpfc/lpfc_debugfs.c max_cnt, qp->queue_id); max_cnt 3786 drivers/scsi/lpfc/lpfc_debugfs.c if (*len >= max_cnt) max_cnt 3795 drivers/scsi/lpfc/lpfc_debugfs.c if (*len >= max_cnt) max_cnt 3851 drivers/scsi/lpfc/lpfc_debugfs.c int max_cnt, rc, x, len = 0; max_cnt 3859 drivers/scsi/lpfc/lpfc_debugfs.c max_cnt = LPFC_QUE_INFO_GET_BUF_SIZE - 256; max_cnt 3889 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) max_cnt 3894 drivers/scsi/lpfc/lpfc_debugfs.c max_cnt, x, qp->queue_id); max_cnt 3905 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) max_cnt 3911 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) max_cnt 3920 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) max_cnt 3926 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) max_cnt 3932 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) max_cnt 3942 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) max_cnt 3949 drivers/scsi/lpfc/lpfc_debugfs.c if (len >= max_cnt) max_cnt 4361 drivers/scsi/qla2xxx/qla_os.c uint16_t size, max_cnt, temp; max_cnt 4372 drivers/scsi/qla2xxx/qla_os.c max_cnt = 0; max_cnt 4373 drivers/scsi/qla2xxx/qla_os.c rval = qla_get_exlogin_status(vha, &size, &max_cnt); max_cnt 4380 drivers/scsi/qla2xxx/qla_os.c temp = (ql2xexlogins > max_cnt) ? max_cnt : ql2xexlogins; max_cnt 4389 drivers/scsi/qla2xxx/qla_os.c max_cnt, size, temp); max_cnt 4433 drivers/scsi/qla2xxx/qla_os.c qla2x00_number_of_exch(scsi_qla_host_t *vha, u32 *ret_cnt, u16 max_cnt) max_cnt 4439 drivers/scsi/qla2xxx/qla_os.c if (max_cnt > vha->hw->max_exchg) max_cnt 4440 drivers/scsi/qla2xxx/qla_os.c max_cnt = vha->hw->max_exchg; max_cnt 4443 drivers/scsi/qla2xxx/qla_os.c if (vha->ql2xiniexchg > max_cnt) max_cnt 4444 drivers/scsi/qla2xxx/qla_os.c vha->ql2xiniexchg = max_cnt; max_cnt 4450 drivers/scsi/qla2xxx/qla_os.c if (vha->ql2xexchoffld > max_cnt) { max_cnt 4451 drivers/scsi/qla2xxx/qla_os.c vha->ql2xexchoffld = max_cnt; max_cnt 4459 drivers/scsi/qla2xxx/qla_os.c if (temp > max_cnt) { max_cnt 4460 drivers/scsi/qla2xxx/qla_os.c vha->ql2xiniexchg -= (temp - max_cnt)/2; max_cnt 4461 drivers/scsi/qla2xxx/qla_os.c vha->ql2xexchoffld -= (((temp - max_cnt)/2) + 1); max_cnt 4462 drivers/scsi/qla2xxx/qla_os.c temp = max_cnt; max_cnt 4475 drivers/scsi/qla2xxx/qla_os.c u16 size, max_cnt; max_cnt 4485 drivers/scsi/qla2xxx/qla_os.c max_cnt = 0; max_cnt 4486 drivers/scsi/qla2xxx/qla_os.c rval = qla_get_exchoffld_status(vha, &size, &max_cnt); max_cnt 4493 drivers/scsi/qla2xxx/qla_os.c qla2x00_number_of_exch(vha, &actual_cnt, max_cnt); max_cnt 4511 drivers/scsi/qla2xxx/qla_os.c max_cnt, actual_cnt, size, totsz); max_cnt 417 drivers/staging/android/ion/ion.c int ret = -EINVAL, cnt = 0, max_cnt; max_cnt 433 drivers/staging/android/ion/ion.c max_cnt = query->cnt; max_cnt 447 drivers/staging/android/ion/ion.c if (cnt >= max_cnt) max_cnt 52 fs/ubifs/find.c if (heap->cnt < heap->max_cnt) max_cnt 171 fs/ubifs/lprops.c if (heap->cnt >= heap->max_cnt) { max_cnt 1797 fs/ubifs/lpt.c c->lpt_heap[i].max_cnt = LPT_HEAP_SZ; max_cnt 1805 fs/ubifs/lpt.c c->dirty_idx.max_cnt = LPT_HEAP_SZ; max_cnt 627 fs/ubifs/ubifs.h int max_cnt; max_cnt 227 net/ipv4/tcp_cubic.c u32 delta, bic_target, max_cnt; max_cnt 323 net/ipv4/tcp_cubic.c max_cnt = cwnd / delta; max_cnt 324 net/ipv4/tcp_cubic.c if (ca->cnt > max_cnt) max_cnt 325 net/ipv4/tcp_cubic.c ca->cnt = max_cnt; max_cnt 71 samples/bpf/map_perf_test_user.c static uint32_t max_cnt = 1000000; max_cnt 84 samples/bpf/map_perf_test_user.c for (i = 0; i < max_cnt; i++) max_cnt 87 samples/bpf/map_perf_test_user.c cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); max_cnt 182 samples/bpf/map_perf_test_user.c for (i = 0; i < max_cnt; i++) { max_cnt 193 samples/bpf/map_perf_test_user.c max_cnt * 1000000000ll / (time_get_ns() - start_time)); max_cnt 222 samples/bpf/map_perf_test_user.c for (i = 0; i < max_cnt; i++) max_cnt 225 samples/bpf/map_perf_test_user.c cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); max_cnt 234 samples/bpf/map_perf_test_user.c for (i = 0; i < max_cnt; i++) max_cnt 237 samples/bpf/map_perf_test_user.c cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); max_cnt 246 samples/bpf/map_perf_test_user.c for (i = 0; i < max_cnt; i++) max_cnt 249 samples/bpf/map_perf_test_user.c cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); max_cnt 258 samples/bpf/map_perf_test_user.c for (i = 0; i < max_cnt; i++) max_cnt 261 samples/bpf/map_perf_test_user.c cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); max_cnt 270 samples/bpf/map_perf_test_user.c for (i = 0; i < max_cnt; i++) max_cnt 273 samples/bpf/map_perf_test_user.c cpu, max_cnt * 1000000000ll * 64 / (time_get_ns() - start_time)); max_cnt 282 samples/bpf/map_perf_test_user.c for (i = 0; i < max_cnt; i++) max_cnt 285 samples/bpf/map_perf_test_user.c cpu, max_cnt * 1000000000ll * 64 / (time_get_ns() - start_time)); max_cnt 449 samples/bpf/map_perf_test_user.c max_cnt = atoi(argv[4]); max_cnt 81 samples/bpf/tracex3_user.c __u64 max_cnt = 0; max_cnt 94 samples/bpf/tracex3_user.c if (value > max_cnt) max_cnt 95 samples/bpf/tracex3_user.c max_cnt = value; max_cnt 99 samples/bpf/tracex3_user.c int c = num_colors * cnt[key] / (max_cnt + 1); max_cnt 19 tools/perf/arch/x86/util/machine.c int max_cnt; max_cnt 28 tools/perf/arch/x86/util/machine.c if (mi->cnt >= mi->max_cnt) { max_cnt 32 tools/perf/arch/x86/util/machine.c mi->max_cnt = mi->max_cnt ? mi->max_cnt * 2 : 32; max_cnt 33 tools/perf/arch/x86/util/machine.c sz = sizeof(struct extra_kernel_map) * mi->max_cnt;