Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/devfreq/event/
Dexynos-ppmu.c196 unsigned int total_count, load_count; in exynos_ppmu_get_event() local
215 ret = regmap_read(info->regmap, PPMU_CCNT, &total_count); in exynos_ppmu_get_event()
218 edata->total_count = total_count; in exynos_ppmu_get_event()
256 edata->load_count, edata->total_count); in exynos_ppmu_get_event()
417 unsigned int total_count, count; in exynos_ppmu_v2_get_event() local
431 ret = regmap_read(info->regmap, PPMU_V2_CCNT, &total_count); in exynos_ppmu_v2_get_event()
434 edata->total_count = total_count; in exynos_ppmu_v2_get_event()
471 edata->load_count, edata->total_count); in exynos_ppmu_v2_get_event()
Dexynos-nocp.c168 edata->total_count = ((counter[3] << 16) | counter[2]); in exynos_nocp_get_event()
171 edata->load_count, edata->total_count); in exynos_nocp_get_event()
Drockchip-dfi.c158 edata->total_count = info->ch_usage[busier_ch].total; in rockchip_dfi_get_event()
/Linux-v5.4/drivers/devfreq/
Dexynos-bus.c67 unsigned long load_count = 0, total_count = 0; in exynos_bus_get_event() local
80 total_count = event_data.total_count; in exynos_bus_get_event()
85 edata->total_count = total_count; in exynos_bus_get_event()
135 stat->total_time = edata.total_count; in exynos_bus_get_dev_status()
Ddevfreq-event.c174 edata->total_count = edata->load_count = 0; in devfreq_event_get_event()
179 edata->total_count = edata->load_count = 0; in devfreq_event_get_event()
Drk3399_dmc.c176 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
/Linux-v5.4/fs/xfs/
Dxfs_trans_dquot.c586 xfs_qcnt_t total_count; in xfs_trans_dqresv() local
632 total_count = *resbcountp + nblks; in xfs_trans_dqresv()
633 if (hardlimit && total_count > hardlimit) { in xfs_trans_dqresv()
637 if (softlimit && total_count > softlimit) { in xfs_trans_dqresv()
649 total_count = be64_to_cpu(dqp->q_core.d_icount) + ninos; in xfs_trans_dqresv()
660 if (hardlimit && total_count > hardlimit) { in xfs_trans_dqresv()
664 if (softlimit && total_count > softlimit) { in xfs_trans_dqresv()
/Linux-v5.4/include/linux/
Ddevfreq-event.h49 unsigned long total_count; member
/Linux-v5.4/tools/perf/util/
Dkvm-stat.h95 u64 total_count; member
/Linux-v5.4/fs/f2fs/
Dnamei.c205 int total_count = cold_count + hot_count; in f2fs_update_extension_list() local
210 if (total_count == F2FS_MAX_EXTENSION) in f2fs_update_extension_list()
221 count = total_count; in f2fs_update_extension_list()
235 F2FS_EXTENSION_LEN * (total_count - i - 1)); in f2fs_update_extension_list()
236 memset(extlist[total_count - 1], 0, F2FS_EXTENSION_LEN); in f2fs_update_extension_list()
Ddebug.c87 si->total_count = (int)sbi->user_block_count / sbi->blocks_per_seg; in update_general_status()
/Linux-v5.4/fs/orangefs/
Dinode.c608 ssize_t total_count = 0; in orangefs_direct_IO() local
665 total_count += ret; in orangefs_direct_IO()
683 if (total_count > 0) in orangefs_direct_IO()
684 ret = total_count; in orangefs_direct_IO()
/Linux-v5.4/net/batman-adv/
Dbat_iv_ogm.c1072 u8 total_count; in batadv_iv_ogm_calc_tq() local
1126 total_count = neigh_rq_count; in batadv_iv_ogm_calc_tq()
1128 total_count = orig_eq_count; in batadv_iv_ogm_calc_tq()
1133 if (total_count < BATADV_TQ_LOCAL_BIDRECT_SEND_MINIMUM || in batadv_iv_ogm_calc_tq()
1141 tq_own = (BATADV_TQ_MAX_VALUE * total_count) / neigh_rq_count; in batadv_iv_ogm_calc_tq()
1178 orig_node->orig, orig_neigh_node->orig, total_count, in batadv_iv_ogm_calc_tq()
Dmulticast.c1384 int ret, tt_count, ip_count, unsnoop_count, total_count; in batadv_mcast_forw_mode() local
1407 total_count = tt_count + ip_count + unsnoop_count + rtr_count; in batadv_mcast_forw_mode()
1409 switch (total_count) { in batadv_mcast_forw_mode()
1430 if (!unsnoop_count && total_count <= mcast_fanout) in batadv_mcast_forw_mode()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc.h283 unsigned long long total_count; member
298 dc->debug.bw_val_profile.total_count++
/Linux-v5.4/tools/perf/
Dbuiltin-kvm.c533 kvm->total_count += get_event_count(event, vcpu); in update_total_count()
640 pr_info("%8.2f%% ", (double)ecount / kvm->total_count * 100); in print_result()
650 kvm->total_count, kvm->total_time / (double)NSEC_PER_USEC); in print_result()
905 kvm->total_count = 0; in perf_kvm__handle_timerfd()
/Linux-v5.4/include/rdma/
Drdma_vt.h227 atomic_t total_count; member
/Linux-v5.4/drivers/net/ethernet/pasemi/
Dpasemi_mac.c821 unsigned int total_count; in pasemi_mac_clean_tx() local
828 total_count = 0; in pasemi_mac_clean_tx()
896 total_count += descr_count; in pasemi_mac_clean_tx()
902 return total_count; in pasemi_mac_clean_tx()
/Linux-v5.4/drivers/staging/unisys/visornic/
Dvisornic_main.c243 unsigned int total_count; in visor_copy_fragsinfo_from_skb() local
250 total_count = numfrags + (firstfraglen / PI_PAGE_SIZE); in visor_copy_fragsinfo_from_skb()
252 total_count++; in visor_copy_fragsinfo_from_skb()
254 if (total_count > frags_max) { in visor_copy_fragsinfo_from_skb()
/Linux-v5.4/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c52 int count = 0, total_count = 0; in vxge_hw_vpath_wait_receive_idle() local
84 total_count++; in vxge_hw_vpath_wait_receive_idle()
86 (total_count < VXGE_HW_MAX_POLLING_COUNT)); in vxge_hw_vpath_wait_receive_idle()
88 if (total_count >= VXGE_HW_MAX_POLLING_COUNT) in vxge_hw_vpath_wait_receive_idle()
92 return total_count; in vxge_hw_vpath_wait_receive_idle()
101 int i, total_count = 0; in vxge_hw_device_wait_receive_idle() local
107 total_count += vxge_hw_vpath_wait_receive_idle(hldev, i); in vxge_hw_device_wait_receive_idle()
108 if (total_count >= VXGE_HW_MAX_POLLING_COUNT) in vxge_hw_device_wait_receive_idle()
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh713 local total_count=$3
719 for ((i=1;i<=total_count;i++)); do
/Linux-v5.4/drivers/md/
Ddm-thin-metadata.c1641 unsigned count, total_count = 0; in __remove_range() local
1683 total_count += count; in __remove_range()
1686 td->mapped_blocks -= total_count; in __remove_range()
/Linux-v5.4/drivers/tty/
Dsynclink_gt.c4812 unsigned int total_count = 0; in tbuf_bytes() local
4832 total_count += count; in tbuf_bytes()
4833 else if (!total_count) in tbuf_bytes()
4844 total_count += active_buf_count; in tbuf_bytes()
4847 total_count += (reg_value >> 8) & 0xff; in tbuf_bytes()
4851 total_count++; in tbuf_bytes()
4853 return total_count; in tbuf_bytes()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dsdma.c2481 u32 submit_count = 0, flush_count = 0, total_count; in sdma_send_txlist() local
2505 total_count = submit_count + flush_count; in sdma_send_txlist()
2507 iowait_sdma_add(iowait_ioww_to_iow(wait), total_count); in sdma_send_txlist()
2514 *count_out = total_count; in sdma_send_txlist()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c94 int total_count; in mlx4_en_alloc_tx_queue_per_tc() local
108 total_count = new_prof.tx_ring_num[TX] + new_prof.tx_ring_num[TX_XDP]; in mlx4_en_alloc_tx_queue_per_tc()
109 if (total_count > MAX_TX_RINGS) { in mlx4_en_alloc_tx_queue_per_tc()
113 total_count, MAX_TX_RINGS); in mlx4_en_alloc_tx_queue_per_tc()

12