Searched refs:counter (Results 1 – 8 of 8) sorted by relevance
30 return lh->counter ? lh->ring[LIH_INDEX(lh->counter - 1)] : NULL; in tfrc_lh_peek()36 BUG_ON(i >= lh->counter); in tfrc_lh_get_interval()37 return lh->ring[LIH_INDEX(lh->counter - i - 1)]->li_length; in tfrc_lh_get_interval()45 if (lh->ring[LIH_INDEX(lh->counter)] == NULL) in tfrc_lh_demand_next()46 lh->ring[LIH_INDEX(lh->counter)] = kmem_cache_alloc(tfrc_lh_slab, in tfrc_lh_demand_next()48 return lh->ring[LIH_INDEX(lh->counter)]; in tfrc_lh_demand_next()56 for (lh->counter = 0; lh->counter < LIH_SIZE; lh->counter++) in tfrc_lh_cleanup()57 if (lh->ring[LIH_INDEX(lh->counter)] != NULL) { in tfrc_lh_cleanup()59 lh->ring[LIH_INDEX(lh->counter)]); in tfrc_lh_cleanup()60 lh->ring[LIH_INDEX(lh->counter)] = NULL; in tfrc_lh_cleanup()[all …]
49 u8 counter; member60 return lh->counter > 0; in tfrc_lh_is_initialised()65 return min(lh->counter, (u8)LIH_SIZE); in tfrc_lh_length()
105 int counter; /* counter for no expire */ member286 if ((tbl->counter % COUNT_FOR_FULL_EXPIRATION) == 0) { in ip_vs_lblc_check_expire()289 tbl->counter = 1; in ip_vs_lblc_check_expire()294 tbl->counter++; in ip_vs_lblc_check_expire()350 tbl->counter = 1; in ip_vs_lblc_init_svc()
284 int counter; /* counter for no expire */ member463 if ((tbl->counter % COUNT_FOR_FULL_EXPIRATION) == 0) { in ip_vs_lblcr_check_expire()466 tbl->counter = 1; in ip_vs_lblcr_check_expire()471 tbl->counter++; in ip_vs_lblcr_check_expire()526 tbl->counter = 1; in ip_vs_lblcr_init_svc()
60 u32 counter; member214 || q->counter < q->gap /* inside last reordering gap */ in netem_enqueue()224 ++q->counter; in netem_enqueue()232 q->counter = 0; in netem_enqueue()410 q->counter = 0; in netem_change()
90 atomic_read(sctp_dbg_objcnt[i].counter), &len); in sctp_objcnt_seq_show()
2251 int counter = 0; in socket_seq_show() local2254 counter += per_cpu(sockets_in_use, cpu); in socket_seq_show()2257 if (counter < 0) in socket_seq_show()2258 counter = 0; in socket_seq_show()2260 seq_printf(seq, "sockets: used %d\n", counter); in socket_seq_show()
502 tristate '"connbytes" per-connection counter match support'712 byte counter.