Searched refs:goal (Results 1 – 6 of 6) sorted by relevance
309 int goal; in ip_vs_lblc_check_expire() local326 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()
477 int goal; in ip_vs_lblcr_check_expire() local494 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()
1111 unsigned long goal; in dccp_init() local1136 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()
1319 unsigned long goal; in sctp_init() local1379 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()
1875 int i, goal, order; in dn_route_init() local1885 goal = totalram_pages >> (26 - PAGE_SHIFT); in dn_route_init()1887 for(order = 0; (1UL << order) < goal; order++) in dn_route_init()
551 TCP Low Priority (TCP-LP), a distributed algorithm whose goal is