Home
last modified time | relevance | path

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

/linux/drivers/devfreq/event/
H A Dexynos-ppmu.c206 unsigned int total_count, load_count; in exynos_ppmu_get_event() local
225 ret = regmap_read(info->regmap, PPMU_CCNT, &total_count); in exynos_ppmu_get_event()
228 edata->total_count = total_count; in exynos_ppmu_get_event()
266 edata->load_count, edata->total_count); in exynos_ppmu_get_event()
427 unsigned int total_count, count; in exynos_ppmu_v2_get_event() local
441 ret = regmap_read(info->regmap, PPMU_V2_CCNT, &total_count); in exynos_ppmu_v2_get_event()
444 edata->total_count = total_count; in exynos_ppmu_v2_get_event()
481 edata->load_count, edata->total_count); in exynos_ppmu_v2_get_event()
H A Drockchip-dfi.c97 struct dmc_count total_count; member
277 edata->total_count = clock_cycles; in rockchip_dfi_get_event()
301 res->c[i].read_access = dfi->total_count.c[i].read_access + in rockchip_ddr_perf_counters_add()
303 res->c[i].write_access = dfi->total_count.c[i].write_access + in rockchip_ddr_perf_counters_add()
305 res->c[i].access = dfi->total_count.c[i].access + in rockchip_ddr_perf_counters_add()
307 res->c[i].clock_cycles = dfi->total_count.c[i].clock_cycles + in rockchip_ddr_perf_counters_add()
508 dfi->total_count = (struct dmc_count){}; in rockchip_ddr_perf_event_add()
546 dfi->total_count = total; in rockchip_dfi_timer()
H A 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()
/linux/drivers/misc/
H A Dntsync.c878 __u32 total_count; in setup_wait() local
887 total_count = count; in setup_wait()
889 total_count++; in setup_wait()
896 q = kmalloc(struct_size(q, entries, total_count), GFP_KERNEL); in setup_wait()
906 for (i = 0; i < total_count; i++) { in setup_wait()
956 __u32 i, total_count; in ntsync_wait_any() local
969 total_count = args.count; in ntsync_wait_any()
971 total_count++; in ntsync_wait_any()
975 for (i = 0; i < total_count; i++) { in ntsync_wait_any()
992 for (i = 0; i < total_count; i++) { in ntsync_wait_any()
[all …]
/linux/include/linux/
H A Ddevfreq-event.h49 unsigned long total_count; member
/linux/fs/f2fs/
H A Dnamei.c79 int total_count = cold_count + hot_count; in f2fs_update_extension_list() local
84 if (total_count == F2FS_MAX_EXTENSION) in f2fs_update_extension_list()
95 count = total_count; in f2fs_update_extension_list()
109 F2FS_EXTENSION_LEN * (total_count - i - 1)); in f2fs_update_extension_list()
110 memset(extlist[total_count - 1], 0, F2FS_EXTENSION_LEN); in f2fs_update_extension_list()
H A Dsuper.c1827 block_t total_count, user_block_count, start_count; in f2fs_statfs() local
1831 total_count = le64_to_cpu(sbi->raw_super->block_count); in f2fs_statfs()
1836 buf->f_blocks = total_count - start_count; in f2fs_statfs()
/linux/tools/perf/util/
H A Dkvm-stat.h100 u64 total_count; member
/linux/fs/xfs/
H A Dxfs_trans_dquot.c769 xfs_qcnt_t total_count = res->reserved + delta; in xfs_dqresv_check() local
784 if (hardlimit && total_count > hardlimit) { in xfs_dqresv_check()
789 if (softlimit && total_count > softlimit) { in xfs_dqresv_check()
/linux/fs/orangefs/
H A Dinode.c513 ssize_t total_count = 0; in orangefs_direct_IO() local
568 total_count += ret; in orangefs_direct_IO()
586 if (total_count > 0) in orangefs_direct_IO()
587 ret = total_count; in orangefs_direct_IO()
/linux/drivers/memory/samsung/
H A Dexynos5422-dmc.c728 unsigned long *total_count) in exynos5_counters_get() argument
747 if (total < event.total_count) in exynos5_counters_get()
748 total = event.total_count; in exynos5_counters_get()
751 *total_count = total; in exynos5_counters_get()
/linux/include/rdma/
H A Drdma_vt.h185 atomic_t total_count; member
/linux/drivers/net/ethernet/pasemi/
H A 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/drivers/devfreq/
H A Drk3399_dmc.c232 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
/linux/drivers/md/
H A Ddm-thin-metadata.c1704 unsigned int count, total_count = 0; in __remove_range() local
1746 total_count += count; in __remove_range()
1749 td->mapped_blocks -= total_count; in __remove_range()
/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.h550 u32 total_count; member
H A Dlibcxgbi.c1874 tdata->total_count = count; in cxgbi_task_data_sgl_read()
1880 __func__, offset, count, err, tdata->total_count, tdata->total_offset); in cxgbi_task_data_sgl_read()
2178 tdata->total_count = 0; in cxgbi_conn_init_pdu()
2187 tdata->total_count, tdata->total_offset); in cxgbi_conn_init_pdu()
2189 expected_count = tdata->total_count; in cxgbi_conn_init_pdu()
/linux/drivers/tty/
H A Dsynclink_gt.c4722 unsigned int total_count = 0; in tbuf_bytes() local
4742 total_count += count; in tbuf_bytes()
4743 else if (!total_count) in tbuf_bytes()
4754 total_count += active_buf_count; in tbuf_bytes()
4757 total_count += (reg_value >> 8) & 0xff; in tbuf_bytes()
4761 total_count++; in tbuf_bytes()
4763 return total_count; in tbuf_bytes()
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dtc_flower.sh714 local total_count=$3
720 for ((i=1;i<=total_count;i++)); do
/linux/drivers/infiniband/hw/hfi1/
H A Dsdma.c2439 u32 submit_count = 0, flush_count = 0, total_count; in sdma_send_txlist() local
2463 total_count = submit_count + flush_count; in sdma_send_txlist()
2465 iowait_sdma_add(iowait_ioww_to_iow(wait), total_count); in sdma_send_txlist()
2472 *count_out = total_count; in sdma_send_txlist()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h646 unsigned long long total_count; member
661 dc->debug.bw_val_profile.total_count++
/linux/drivers/acpi/arm64/
H A Diort.c935 u32 total_count = count + new_count; in iort_rmr_alloc_sids() local
943 for (i = count; i < total_count; i++) in iort_rmr_alloc_sids()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c98 int total_count; in mlx4_en_alloc_tx_queue_per_tc() local
112 total_count = new_prof.tx_ring_num[TX] + new_prof.tx_ring_num[TX_XDP]; in mlx4_en_alloc_tx_queue_per_tc()
113 if (total_count > MAX_TX_RINGS) { in mlx4_en_alloc_tx_queue_per_tc()
117 total_count, MAX_TX_RINGS); in mlx4_en_alloc_tx_queue_per_tc()
/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c238 atomic_sub(weight, &wss->total_count); in wss_advance_clean_counter()
252 atomic_inc(&wss->total_count); in wss_insert()
262 return atomic_read(&wss->total_count) >= wss->threshold; in wss_exceeds_threshold()
/linux/drivers/regulator/
H A Dcore.c3143 int total_count = 0; in regulator_disable_work() local
3161 total_count += count; in regulator_disable_work()
3171 WARN_ON(!total_count); in regulator_disable_work()