Home
last modified time | relevance | path

Searched refs:max_cnt (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.3-rc2/samples/bpf/
A Dmap_perf_test_user.c75 static uint32_t max_cnt = 10000; variable
88 for (i = 0; i < max_cnt; i++) in test_hash_prealloc()
189 for (i = 0; i < max_cnt; i++) { in do_test_lru()
200 max_cnt * 1000000000ll / (time_get_ns() - start_time)); in do_test_lru()
229 for (i = 0; i < max_cnt; i++) in test_percpu_hash_prealloc()
241 for (i = 0; i < max_cnt; i++) in test_hash_kmalloc()
253 for (i = 0; i < max_cnt; i++) in test_percpu_hash_kmalloc()
265 for (i = 0; i < max_cnt; i++) in test_lpm_kmalloc()
277 for (i = 0; i < max_cnt; i++) in test_hash_lookup()
289 for (i = 0; i < max_cnt; i++) in test_array_lookup()
[all …]
A Dtracex3_user.c79 __u64 max_cnt = 0; in print_hist() local
92 if (value > max_cnt) in print_hist()
93 max_cnt = value; in print_hist()
97 int c = num_colors * cnt[key] / (max_cnt + 1); in print_hist()
/linux-6.3-rc2/tools/perf/arch/x86/util/
A Dmachine.c19 int max_cnt; member
28 if (mi->cnt >= mi->max_cnt) { in add_extra_kernel_map()
32 mi->max_cnt = mi->max_cnt ? mi->max_cnt * 2 : 32; in add_extra_kernel_map()
33 sz = sizeof(struct extra_kernel_map) * mi->max_cnt; in add_extra_kernel_map()
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_lan_hmc.c99 full_obj->max_cnt = 0; in i40e_init_lan_hmc()
113 if (txq_num > obj->max_cnt) { in i40e_init_lan_hmc()
116 txq_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc()
121 full_obj->max_cnt += obj->max_cnt; in i40e_init_lan_hmc()
136 if (rxq_num > obj->max_cnt) { in i40e_init_lan_hmc()
139 rxq_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc()
144 full_obj->max_cnt += obj->max_cnt; in i40e_init_lan_hmc()
159 if (fcoe_cntx_num > obj->max_cnt) { in i40e_init_lan_hmc()
167 full_obj->max_cnt += obj->max_cnt; in i40e_init_lan_hmc()
182 if (fcoe_filt_num > obj->max_cnt) { in i40e_init_lan_hmc()
[all …]
A Di40e_hmc.h20 u32 max_cnt; /* max count available for this hmc func */ member
/linux-6.3-rc2/drivers/misc/
A Dsmpro-errmon.c92 u8 max_cnt; /* Max num of errors */ member
104 .max_cnt = 32
110 .max_cnt = 32
116 .max_cnt = 16
122 .max_cnt = 16
128 .max_cnt = 96
134 .max_cnt = 96
140 .max_cnt = 8
146 .max_cnt = 8
253 if (ret || !err_count || err_count > err_info->max_cnt) in smpro_error_data_read()
/linux-6.3-rc2/net/ipv4/
A Dtcp_cubic.c216 u32 delta, bic_target, max_cnt; in bictcp_update() local
312 max_cnt = cwnd / delta; in bictcp_update()
313 if (ca->cnt > max_cnt) in bictcp_update()
314 ca->cnt = max_cnt; in bictcp_update()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dbpf_cubic.c269 __u32 delta, bic_target, max_cnt; in bictcp_update() local
368 max_cnt = cwnd / delta; in bictcp_update()
369 if (ca->cnt > max_cnt) in bictcp_update()
370 ca->cnt = max_cnt; in bictcp_update()
/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Dctrl.c2889 obj_info[rsrc_idx].max_cnt = (u32)temp; in irdma_sc_decode_fpm_query()
2937 obj_info[IRDMA_HMC_IW_APBVT_ENTRY].max_cnt = 1; in irdma_sc_parse_fpm_query_buf()
2943 obj_info[IRDMA_HMC_IW_XFFL].max_cnt = (u32)temp; in irdma_sc_parse_fpm_query_buf()
2979 obj_info[IRDMA_HMC_IW_RRFFL].max_cnt) in irdma_sc_parse_fpm_query_buf()
2991 obj_info[IRDMA_HMC_IW_OOISCFFL].max_cnt) in irdma_sc_parse_fpm_query_buf()
4817 hmc_info->hmc_obj[IRDMA_HMC_IW_QP].max_cnt, in irdma_cfg_fpm_val()
4818 hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].max_cnt, in irdma_cfg_fpm_val()
4819 hmc_info->hmc_obj[IRDMA_HMC_IW_MR].max_cnt, in irdma_cfg_fpm_val()
4824 hmc_info->hmc_obj[IRDMA_HMC_IW_FSIMC].max_cnt; in irdma_cfg_fpm_val()
4826 hmc_info->hmc_obj[IRDMA_HMC_IW_FSIAV].max_cnt; in irdma_cfg_fpm_val()
[all …]
A Dhmc.h53 u32 max_cnt; member
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_ethtool.c853 u32 max_cnt; in __stmmac_get_coalesce() local
859 max_cnt = max(rx_cnt, tx_cnt); in __stmmac_get_coalesce()
863 else if (queue >= max_cnt) in __stmmac_get_coalesce()
907 u32 max_cnt; in __stmmac_set_coalesce() local
913 max_cnt = max(rx_cnt, tx_cnt); in __stmmac_set_coalesce()
917 else if (queue >= max_cnt) in __stmmac_set_coalesce()
/linux-6.3-rc2/drivers/net/wan/
A Dfsl_ucc_hdlc.h52 __be32 max_cnt; member
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
A Dionic_ethtool.c707 int max_cnt; in ionic_set_channels() local
725 max_cnt = lif->ionic->ntxqs_per_lif; in ionic_set_channels()
727 if (ch->combined_count > max_cnt) in ionic_set_channels()
742 max_cnt /= 2; in ionic_set_channels()
743 if (ch->rx_count > max_cnt) in ionic_set_channels()
/linux-6.3-rc2/drivers/infiniband/hw/ocrdma/
A Docrdma_verbs.c1189 uresp.num_wqe_allocated = qp->sq.max_cnt; in ocrdma_copy_qp_uresp()
1195 uresp.num_rqe_allocated = qp->rq.max_cnt; in ocrdma_copy_qp_uresp()
1253 kcalloc(qp->sq.max_cnt, sizeof(*(qp->wqe_wr_id_tbl)), in ocrdma_alloc_wr_id_tbl()
1258 kcalloc(qp->rq.max_cnt, sizeof(u64), GFP_KERNEL); in ocrdma_alloc_wr_id_tbl()
1484 qp_attr->cap.max_send_wr = qp->sq.max_cnt - 1; in ocrdma_query_qp()
1485 qp_attr->cap.max_recv_wr = qp->rq.max_cnt - 1; in ocrdma_query_qp()
1553 return ((q->max_wqe_idx - q->head) + q->tail) % q->max_cnt; in ocrdma_hwq_free_cnt()
1747 uresp.num_rqe_allocated = srq->rq.max_cnt; in ocrdma_copy_srq_uresp()
1797 srq->bit_fields_len = (srq->rq.max_cnt / 32) + in ocrdma_create_srq()
1798 (srq->rq.max_cnt % 32 ? 1 : 0); in ocrdma_create_srq()
[all …]
A Docrdma_hw.c2201 qp->sq.max_cnt = max_wqe_allocated; in ocrdma_set_create_qp_sq_cmd()
2223 cmd->max_wqe_rqe |= (ilog2(qp->sq.max_cnt) << in ocrdma_set_create_qp_sq_cmd()
2251 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_set_create_qp_rq_cmd()
2270 cmd->max_wqe_rqe |= (ilog2(qp->rq.max_cnt) << in ocrdma_set_create_qp_rq_cmd()
2354 qp->sq.max_cnt = max_wqe_allocated; in ocrdma_get_create_qp_rsp()
2358 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_get_create_qp_rsp()
2778 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2801 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
A Docrdma.h366 u32 max_cnt; member
/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/
A Dotx2_cptpf_ucode.c852 int i, j, cnt, max_cnt; in eng_grp_update_masks() local
864 max_cnt = eng_grp->g->avail.max_se_cnt; in eng_grp_update_masks()
868 max_cnt = eng_grp->g->avail.max_ie_cnt; in eng_grp_update_masks()
872 max_cnt = eng_grp->g->avail.max_ae_cnt; in eng_grp_update_masks()
881 WARN_ON(engs->offset + max_cnt > OTX2_CPT_MAX_ENGINES); in eng_grp_update_masks()
883 for (j = engs->offset; j < engs->offset + max_cnt; j++) { in eng_grp_update_masks()
/linux-6.3-rc2/drivers/media/platform/samsung/exynos-gsc/
A Dgsc-m2m.c366 u32 max_cnt; in gsc_m2m_reqbufs() local
368 max_cnt = (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) ? in gsc_m2m_reqbufs()
370 if (reqbufs->count > max_cnt) in gsc_m2m_reqbufs()
/linux-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_debugfs.c3889 if (*len >= max_cnt) in lpfc_idiag_wqs_for_cq()
3964 if (*len >= max_cnt) in lpfc_idiag_cqs_for_eq()
3980 if (*len >= max_cnt) in lpfc_idiag_cqs_for_eq()
4083 if (len >= max_cnt) in lpfc_idiag_queinfo_read()
4099 if (len >= max_cnt) in lpfc_idiag_queinfo_read()
4105 if (len >= max_cnt) in lpfc_idiag_queinfo_read()
4114 if (len >= max_cnt) in lpfc_idiag_queinfo_read()
4120 if (len >= max_cnt) in lpfc_idiag_queinfo_read()
4126 if (len >= max_cnt) in lpfc_idiag_queinfo_read()
4136 if (len >= max_cnt) in lpfc_idiag_queinfo_read()
[all …]
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/
A Dotx_cptpf_ucode.c1073 int i, j, cnt, max_cnt; in eng_grp_update_masks() local
1085 max_cnt = eng_grp->g->avail.max_se_cnt; in eng_grp_update_masks()
1089 max_cnt = eng_grp->g->avail.max_ae_cnt; in eng_grp_update_masks()
1098 WARN_ON(engs->offset + max_cnt > OTX_CPT_MAX_ENGINES); in eng_grp_update_masks()
1100 for (j = engs->offset; j < engs->offset + max_cnt; j++) { in eng_grp_update_masks()
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_os.c4579 uint16_t size, max_cnt; in qla2x00_set_exlogins_buffer() local
4591 max_cnt = 0; in qla2x00_set_exlogins_buffer()
4599 temp = (ql2xexlogins > max_cnt) ? max_cnt : ql2xexlogins; in qla2x00_set_exlogins_buffer()
4608 max_cnt, size, temp); in qla2x00_set_exlogins_buffer()
4659 max_cnt = vha->hw->max_exchg; in qla2x00_number_of_exch()
4663 vha->ql2xiniexchg = max_cnt; in qla2x00_number_of_exch()
4670 vha->ql2xexchoffld = max_cnt; in qla2x00_number_of_exch()
4678 if (temp > max_cnt) { in qla2x00_number_of_exch()
4681 temp = max_cnt; in qla2x00_number_of_exch()
4694 u16 size, max_cnt; in qla2x00_set_exchoffld_buffer() local
[all …]
/linux-6.3-rc2/arch/x86/events/amd/
A Dibs.c250 u64 max_cnt, config; in perf_ibs_init() local
284 max_cnt = config & perf_ibs->cnt_mask; in perf_ibs_init()
286 event->attr.sample_period = max_cnt << 4; in perf_ibs_init()
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf_internal.h267 size_t cur_cnt, size_t max_cnt, size_t add_cnt);
/linux-6.3-rc2/drivers/net/phy/
A Dmotorcomm.c1323 int max_cnt = 500; /* the max wait time of reset ~ 500 ms */ in yt8521_modify_bmcr_paged() local
1337 while (max_cnt--) { in yt8521_modify_bmcr_paged()
/linux-6.3-rc2/fs/ubifs/
A Dfind.c52 if (heap->cnt < heap->max_cnt) in valuable()

Completed in 104 milliseconds

12