Home
last modified time | relevance | path

Searched refs:goal (Results 1 – 7 of 7) sorted by relevance

/net/netfilter/ipvs/
Dip_vs_lblc.c302 int goal; in ip_vs_lblc_check_expire() local
319 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblc_check_expire()
320 if (goal > tbl->max_size/2) in ip_vs_lblc_check_expire()
321 goal = tbl->max_size/2; in ip_vs_lblc_check_expire()
333 goal--; in ip_vs_lblc_check_expire()
336 if (goal <= 0) in ip_vs_lblc_check_expire()
Dip_vs_lblcr.c466 int goal; in ip_vs_lblcr_check_expire() local
483 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblcr_check_expire()
484 if (goal > tbl->max_size/2) in ip_vs_lblcr_check_expire()
485 goal = tbl->max_size/2; in ip_vs_lblcr_check_expire()
497 goal--; in ip_vs_lblcr_check_expire()
500 if (goal <= 0) in ip_vs_lblcr_check_expire()
/net/dccp/
Dproto.c1128 unsigned long goal; in dccp_init() local
1153 goal = totalram_pages >> (21 - PAGE_SHIFT); in dccp_init()
1155 goal = totalram_pages >> (23 - PAGE_SHIFT); in dccp_init()
1158 goal = (thash_entries * in dccp_init()
1160 for (ehash_order = 0; (1UL << ehash_order) < goal; ehash_order++) in dccp_init()
/net/sctp/
Dprotocol.c1371 unsigned long goal; in sctp_init() local
1432 goal = totalram_pages >> (22 - PAGE_SHIFT); in sctp_init()
1434 goal = totalram_pages >> (24 - PAGE_SHIFT); in sctp_init()
1437 order = get_order(goal); in sctp_init()
/net/decnet/
Ddn_route.c1870 int i, goal, order; in dn_route_init() local
1880 goal = totalram_pages >> (26 - PAGE_SHIFT); in dn_route_init()
1882 for(order = 0; (1UL << order) < goal; order++) in dn_route_init()
/net/ipv4/
Dtcp_input.c4961 int goal; in tcp_prune_ofo_queue() local
4967 goal = sk->sk_rcvbuf >> 3; in tcp_prune_ofo_queue()
4972 goal -= rb_to_skb(node)->truesize; in tcp_prune_ofo_queue()
4974 if (!prev || goal <= 0) { in tcp_prune_ofo_queue()
4979 goal = sk->sk_rcvbuf >> 3; in tcp_prune_ofo_queue()
DKconfig557 TCP Low Priority (TCP-LP), a distributed algorithm whose goal is