Searched refs:goal (Results 51 - 58 of 58) sorted by path

123

/linux-master/net/ipv4/
H A Dtcp_input.c2991 * Main goal of this function is to calculate new estimate for left_out,
5497 int goal; local
5502 goal = sk->sk_rcvbuf >> 3;
5514 goal -= skb->truesize;
5517 if (!prev || goal <= 0) {
5521 goal = sk->sk_rcvbuf >> 3;
/linux-master/net/netfilter/ipvs/
H A Dip_vs_lblc.c298 int goal; local
315 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3;
316 if (goal > tbl->max_size/2)
317 goal = tbl->max_size/2;
329 goal--;
332 if (goal <= 0)
H A Dip_vs_lblcr.c462 int goal; local
479 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3;
480 if (goal > tbl->max_size/2)
481 goal = tbl->max_size/2;
493 goal--;
496 if (goal <= 0)
/linux-master/net/rds/
H A Dib_frmr.c358 unsigned long *unpinned, unsigned int goal)
382 if (freed < goal || frmr->fr_state == FRMR_IS_STALE) {
357 rds_ib_unreg_frmr(struct list_head *list, unsigned int *nfreed, unsigned long *unpinned, unsigned int goal) argument
H A Dib_mr.h141 unsigned long *unpinned, unsigned int goal);
/linux-master/net/sctp/
H A Dprotocol.c1486 unsigned long goal; local
1539 * Though not identical. Start by getting a goal size
1542 goal = nr_pages >> (22 - PAGE_SHIFT);
1544 goal = nr_pages >> (24 - PAGE_SHIFT);
1546 /* Then compute the page order for said goal */
1547 order = get_order(goal);
/linux-master/tools/scripts/
H A Dutilities.mak162 # The goal is to get an absolute path for an executable;
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c249 static bool reclaim_until(const char *memcg, long goal);
670 * Reclaim from @memcg until usage reaches @goal by writing to
674 * goal.
682 * the usage goal was satisfied.
684 static bool reclaim_until(const char *memcg, long goal) argument
694 if (current < goal || values_close(current, goal, 3))
700 to_reclaim = current - goal;

Completed in 547 milliseconds

123