Searched refs:goal (Results 1 – 6 of 6) sorted by relevance
303 int goal; in ip_vs_lblc_check_expire() local320 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblc_check_expire()321 if (goal > tbl->max_size/2) in ip_vs_lblc_check_expire()322 goal = tbl->max_size/2; in ip_vs_lblc_check_expire()334 goal--; in ip_vs_lblc_check_expire()337 if (goal <= 0) in ip_vs_lblc_check_expire()
467 int goal; in ip_vs_lblcr_check_expire() local484 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblcr_check_expire()485 if (goal > tbl->max_size/2) in ip_vs_lblcr_check_expire()486 goal = tbl->max_size/2; in ip_vs_lblcr_check_expire()498 goal--; in ip_vs_lblcr_check_expire()501 if (goal <= 0) in ip_vs_lblcr_check_expire()
1119 unsigned long goal; in dccp_init() local1144 goal = totalram_pages >> (21 - PAGE_SHIFT); in dccp_init()1146 goal = totalram_pages >> (23 - PAGE_SHIFT); in dccp_init()1149 goal = (thash_entries * in dccp_init()1151 for (ehash_order = 0; (1UL << ehash_order) < goal; ehash_order++) in dccp_init()
1331 unsigned long goal; in sctp_init() local1390 goal = totalram_pages >> (22 - PAGE_SHIFT); in sctp_init()1392 goal = totalram_pages >> (24 - PAGE_SHIFT); in sctp_init()1394 for (order = 0; (1UL << order) < goal; order++) in sctp_init()
1880 int i, goal, order; in dn_route_init() local1890 goal = totalram_pages >> (26 - PAGE_SHIFT); in dn_route_init()1892 for(order = 0; (1UL << order) < goal; order++) in dn_route_init()
559 TCP Low Priority (TCP-LP), a distributed algorithm whose goal is