Home
last modified time | relevance | path

Searched refs:hit_count (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/md/
Ddm-cache-policy-mq.c315 unsigned hit_count; member
460 unsigned hit_count; member
548 return min((unsigned) ilog2(e->hit_count), NR_QUEUE_LEVELS - 1u); in queue_level()
644 if ((mq->hit_count >= mq->generation_period) && (epool_empty(&mq->cache_pool))) { in check_generation()
645 mq->hit_count = 0; in check_generation()
652 total += e->hit_count; in check_generation()
661 total += e->hit_count; in check_generation()
744 return e->hit_count; in promote_threshold()
748 return e->hit_count + DISCOURAGE_DEMOTING_DIRTY_THRESHOLD; in promote_threshold()
783 return e->hit_count >= in should_promote()
[all …]
/linux-4.1.27/include/uapi/linux/netfilter/
Dxt_recent.h28 __u32 hit_count; member
37 __u32 hit_count; member
/linux-4.1.27/net/netfilter/
Dxt_recent.c302 if (!info->hit_count || ++hits >= info->hit_count) { in recent_mt()
357 (info->seconds || info->hit_count || in recent_mt_check()
362 if (info->hit_count >= XT_RECENT_MAX_NSTAMPS) { in recent_mt_check()
364 info->hit_count, XT_RECENT_MAX_NSTAMPS - 1); in recent_mt_check()
371 if (ip_pkt_list_tot && info->hit_count < ip_pkt_list_tot) in recent_mt_check()
373 else if (info->hit_count) in recent_mt_check()
374 nstamp_mask = roundup_pow_of_two(info->hit_count) - 1; in recent_mt_check()