/net/dccp/ccids/lib/ |
D | loss_interval.c | 28 return lh->counter ? lh->ring[LIH_INDEX(lh->counter - 1)] : NULL; in tfrc_lh_peek() 34 BUG_ON(i >= lh->counter); in tfrc_lh_get_interval() 35 return lh->ring[LIH_INDEX(lh->counter - i - 1)]->li_length; in tfrc_lh_get_interval() 43 if (lh->ring[LIH_INDEX(lh->counter)] == NULL) in tfrc_lh_demand_next() 44 lh->ring[LIH_INDEX(lh->counter)] = kmem_cache_alloc(tfrc_lh_slab, in tfrc_lh_demand_next() 46 return lh->ring[LIH_INDEX(lh->counter)]; in tfrc_lh_demand_next() 54 for (lh->counter = 0; lh->counter < LIH_SIZE; lh->counter++) in tfrc_lh_cleanup() 55 if (lh->ring[LIH_INDEX(lh->counter)] != NULL) { in tfrc_lh_cleanup() 57 lh->ring[LIH_INDEX(lh->counter)]); in tfrc_lh_cleanup() 58 lh->ring[LIH_INDEX(lh->counter)] = NULL; in tfrc_lh_cleanup() [all …]
|
D | loss_interval.h | 47 u8 counter; member 58 return lh->counter > 0; in tfrc_lh_is_initialised() 63 return min(lh->counter, (u8)LIH_SIZE); in tfrc_lh_length()
|
/net/netfilter/ipvs/ |
D | ip_vs_lblc.c | 112 int counter; /* counter for no expire */ member 314 if ((tbl->counter % COUNT_FOR_FULL_EXPIRATION) == 0) { in ip_vs_lblc_check_expire() 317 tbl->counter = 1; in ip_vs_lblc_check_expire() 322 tbl->counter++; in ip_vs_lblc_check_expire() 377 tbl->counter = 1; in ip_vs_lblc_init_svc()
|
D | ip_vs_lblcr.c | 292 int counter; /* counter for no expire */ member 482 if ((tbl->counter % COUNT_FOR_FULL_EXPIRATION) == 0) { in ip_vs_lblcr_check_expire() 485 tbl->counter = 1; in ip_vs_lblcr_check_expire() 490 tbl->counter++; in ip_vs_lblcr_check_expire() 544 tbl->counter = 1; in ip_vs_lblcr_init_svc()
|
/net/netfilter/ipset/ |
D | ip_set_hash_ip.c | 53 struct ip_set_counter counter; member 58 struct ip_set_counter counter; member 195 struct ip_set_counter counter; member 200 struct ip_set_counter counter; member
|
D | ip_set_bitmap_port.c | 212 struct ip_set_counter counter; member 219 struct ip_set_counter counter; member 288 offsetof(struct bitmap_portct_elem, counter); in bitmap_port_create() 301 offsetof(struct bitmap_portc_elem, counter); in bitmap_port_create()
|
D | ip_set_hash_net.c | 62 struct ip_set_counter counter; member 70 struct ip_set_counter counter; member 253 struct ip_set_counter counter; member 261 struct ip_set_counter counter; member
|
D | ip_set_bitmap_ip.c | 221 struct ip_set_counter counter; member 228 struct ip_set_counter counter; member 348 offsetof(struct bitmap_ipct_elem, counter); in bitmap_ip_create() 364 offsetof(struct bitmap_ipc_elem, counter); in bitmap_ip_create()
|
D | ip_set_hash_ipport.c | 62 struct ip_set_counter counter; member 70 struct ip_set_counter counter; member 247 struct ip_set_counter counter; member 255 struct ip_set_counter counter; member
|
D | ip_set_bitmap_ipmac.c | 311 struct ip_set_counter counter; member 322 struct ip_set_counter counter; member 411 offsetof(struct bitmap_ipmacct_elem, counter); in bitmap_ipmac_create() 425 offsetof(struct bitmap_ipmacc_elem, counter); in bitmap_ipmac_create()
|
D | ip_set_hash_ipportip.c | 65 struct ip_set_counter counter; member 74 struct ip_set_counter counter; member 259 struct ip_set_counter counter; member 268 struct ip_set_counter counter; member
|
D | ip_set_hash_netport.c | 74 struct ip_set_counter counter; member 83 struct ip_set_counter counter; member 315 struct ip_set_counter counter; member 324 struct ip_set_counter counter; member
|
D | ip_set_hash_netiface.c | 174 struct ip_set_counter counter; member 184 struct ip_set_counter counter; member 438 struct ip_set_counter counter; member 448 struct ip_set_counter counter; member
|
D | ip_set_hash_ipportnet.c | 78 struct ip_set_counter counter; member 88 struct ip_set_counter counter; member 359 struct ip_set_counter counter; member 369 struct ip_set_counter counter; member
|
D | ip_set_list_set.c | 42 struct ip_set_counter counter; member 49 struct ip_set_counter counter; member 673 offsetof(struct setct_elem, counter); in list_set_create() 681 offsetof(struct setc_elem, counter); in list_set_create()
|
D | ip_set_hash_gen.h | 1041 counter); in TOKEN() 1052 counter); in TOKEN() 1062 counter); in TOKEN() 1068 counter); in TOKEN()
|
/net/netfilter/ |
D | xt_set.c | 326 match_counter(u64 counter, const struct ip_set_counter_match *info) in match_counter() argument 332 return counter == info->value; in match_counter() 334 return counter != info->value; in match_counter() 336 return counter < info->value; in match_counter() 338 return counter > info->value; in match_counter()
|
D | Kconfig | 845 tristate '"connbytes" per-connection counter match support' 1149 byte counter. 1159 byte counter correctly and not per CPU.
|
/net/sched/ |
D | sch_netem.c | 84 u32 counter; member 428 q->counter < q->gap - 1 || /* inside last reordering gap */ in netem_enqueue() 456 ++q->counter; in netem_enqueue() 464 q->counter = 0; in netem_enqueue() 750 q->counter = 0; in netem_change()
|
/net/sctp/ |
D | objcnt.c | 92 atomic_read(sctp_dbg_objcnt[i].counter), &len); in sctp_objcnt_seq_show()
|
/net/batman-adv/ |
D | types.h | 766 atomic_t counter; member
|
D | translation-table.c | 2174 if (!batadv_atomic_dec_not_zero(&tt_roam_node->counter)) in batadv_tt_check_roam_count() 2187 atomic_set(&tt_roam_node->counter, in batadv_tt_check_roam_count()
|
/net/ |
D | socket.c | 2678 int counter = 0; in socket_seq_show() local 2681 counter += per_cpu(sockets_in_use, cpu); in socket_seq_show() 2684 if (counter < 0) in socket_seq_show() 2685 counter = 0; in socket_seq_show() 2687 seq_printf(seq, "sockets: used %d\n", counter); in socket_seq_show()
|
/net/ipv4/ |
D | ping.c | 292 pr_debug("isk->refcnt = %d\n", sk->sk_refcnt.counter); in ping_close()
|