Home
last modified time | relevance | path

Searched refs:hits (Results 1 – 8 of 8) sorted by relevance

/drivers/cpuidle/governors/
Dteo.c90 unsigned int hits; member
178 unsigned int hits = cpu_data->states[idx_timer].hits; in teo_update() local
181 hits -= hits >> DECAY_SHIFT; in teo_update()
189 hits += PULSE; in teo_update()
193 cpu_data->states[idx_timer].hits = hits; in teo_update()
246 unsigned int hits, misses, early_hits; in teo_select() local
260 hits = 0; in teo_select()
287 hits = cpu_data->states[i].hits; in teo_select()
325 hits = cpu_data->states[i].hits; in teo_select()
336 hits = cpu_data->states[i].hits; in teo_select()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c139 } hits[0]; member
157 __set_bit(element, picker->hits[i].element); in mlxsw_afk_picker_count_hits()
158 picker->hits[i].total++; in mlxsw_afk_picker_count_hits()
172 memcpy(&hits_element, &picker->hits[block_index].element, in mlxsw_afk_picker_subtract_hits()
177 if (__test_and_clear_bit(j, picker->hits[i].element)) in mlxsw_afk_picker_subtract_hits()
178 picker->hits[i].total--; in mlxsw_afk_picker_subtract_hits()
191 if (picker->hits[i].total > most_hits) { in mlxsw_afk_picker_most_hits_get()
192 most_hits = picker->hits[i].total; in mlxsw_afk_picker_most_hits_get()
209 for_each_set_bit(element, picker->hits[block_index].element, in mlxsw_afk_picker_key_info_add()
230 alloc_size = sizeof(picker->hits[0]) * mlxsw_afk->blocks_count; in mlxsw_afk_picker()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_debugfs.c62 u32 hits = mvpp2_cls_flow_hits(entry->priv, entry->id); in mvpp2_dbgfs_flow_flt_hits_show() local
64 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_flt_hits_show()
75 u32 hits = mvpp2_cls_lookup_hits(entry->priv, entry->flow); in mvpp2_dbgfs_flow_dec_hits_show() local
77 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_dec_hits_show()
194 u32 hits; in mvpp2_dbgfs_flow_c2_hits_show() local
196 hits = mvpp2_cls_c2_hit_count(entry->priv, entry->id); in mvpp2_dbgfs_flow_c2_hits_show()
198 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_c2_hits_show()
/drivers/md/
Ddm-cache-policy-smq.c516 unsigned hits; member
529 s->hits = 0u; in stats_init()
535 s->hits = s->misses = 0u; in stats_reset()
541 s->hits++; in stats_level_accessed()
559 unsigned confidence = safe_div(s->hits << FP_SHIFT, s->hits + s->misses); in stats_assess()
1037 unsigned hits = mq->cache_stats.hits; in default_promote_level() local
1039 unsigned index = safe_div(hits << 4u, hits + misses); in default_promote_level()
DKconfig343 A cache policy that uses a multiqueue ordered by recent hits
/drivers/acpi/acpica/
Ddbstats.c86 "%8.2X %8.2X %8.2X %8.2X\n", list->requests, list->hits, in acpi_db_list_info()
87 list->requests - list->hits, list->object_size); in acpi_db_list_info()
Dutcache.c237 ACPI_MEM_TRACKING(cache->hits++); in acpi_os_acquire_object()
/drivers/media/rc/
Dimon.c1188 static int x, y, prev_result, hits; in stabilize() local
1199 hits = 0; in stabilize()
1217 hits++; in stabilize()
1219 if (hits > 3) { in stabilize()
1236 if (hits == 2 && msec_hit < timeout) { in stabilize()
1238 hits = 1; in stabilize()
1242 hits = 1; in stabilize()