Home
last modified time | relevance | path

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

/net/netfilter/ipvs/
Dip_vs_lblc.c309 int goal; in ip_vs_lblc_check_expire() local
326 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblc_check_expire()
327 if (goal > tbl->max_size/2) in ip_vs_lblc_check_expire()
328 goal = tbl->max_size/2; in ip_vs_lblc_check_expire()
340 goal--; in ip_vs_lblc_check_expire()
343 if (goal <= 0) in ip_vs_lblc_check_expire()
Dip_vs_lblcr.c477 int goal; in ip_vs_lblcr_check_expire() local
494 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblcr_check_expire()
495 if (goal > tbl->max_size/2) in ip_vs_lblcr_check_expire()
496 goal = tbl->max_size/2; in ip_vs_lblcr_check_expire()
508 goal--; in ip_vs_lblcr_check_expire()
511 if (goal <= 0) in ip_vs_lblcr_check_expire()
/net/dccp/
Dproto.c1111 unsigned long goal; in dccp_init() local
1136 goal = totalram_pages >> (21 - PAGE_SHIFT); in dccp_init()
1138 goal = totalram_pages >> (23 - PAGE_SHIFT); in dccp_init()
1141 goal = (thash_entries * in dccp_init()
1143 for (ehash_order = 0; (1UL << ehash_order) < goal; ehash_order++) in dccp_init()
/net/sctp/
Dprotocol.c1319 unsigned long goal; in sctp_init() local
1379 goal = totalram_pages >> (22 - PAGE_SHIFT); in sctp_init()
1381 goal = totalram_pages >> (24 - PAGE_SHIFT); in sctp_init()
1383 for (order = 0; (1UL << order) < goal; order++) in sctp_init()
/net/decnet/
Ddn_route.c1875 int i, goal, order; in dn_route_init() local
1885 goal = totalram_pages >> (26 - PAGE_SHIFT); in dn_route_init()
1887 for(order = 0; (1UL << order) < goal; order++) in dn_route_init()
/net/ipv4/
DKconfig551 TCP Low Priority (TCP-LP), a distributed algorithm whose goal is