Searched refs:SK_MEM_QUANTUM (Results 1 – 6 of 6) sorted by relevance
1473 #define SK_MEM_QUANTUM 4096 macro1474 #define SK_MEM_QUANTUM_SHIFT ilog2(SK_MEM_QUANTUM)1483 #if PAGE_SIZE > SK_MEM_QUANTUM in sk_prot_mem_limits()1485 #elif PAGE_SIZE < SK_MEM_QUANTUM in sk_prot_mem_limits()1493 return (amt + SK_MEM_QUANTUM - 1) >> SK_MEM_QUANTUM_SHIFT; in sk_mem_pages()1528 if (sk->sk_forward_alloc >= SK_MEM_QUANTUM) in sk_mem_reclaim()1536 if (sk->sk_forward_alloc > SK_MEM_QUANTUM) in sk_mem_reclaim_partial()
1427 sysctl_sctp_rmem[0] = SK_MEM_QUANTUM; /* give each asoc 1 page min */ in sctp_init()1431 sysctl_sctp_wmem[0] = SK_MEM_QUANTUM; in sctp_init()
1452 amt = (sk->sk_forward_alloc - partial) & ~(SK_MEM_QUANTUM - 1); in udp_rmem_release()3186 net->ipv4.sysctl_udp_rmem_min = SK_MEM_QUANTUM; in __udp_sysctl_init()3187 net->ipv4.sysctl_udp_wmem_min = SK_MEM_QUANTUM; in __udp_sysctl_init()
4318 init_net.ipv4.sysctl_tcp_wmem[0] = SK_MEM_QUANTUM; in tcp_init()4322 init_net.ipv4.sysctl_tcp_rmem[0] = SK_MEM_QUANTUM; in tcp_init()
3386 sk->sk_forward_alloc += amt * SK_MEM_QUANTUM; in sk_forced_mem_schedule()
5262 end - start >= SKB_WITH_OVERHEAD(SK_MEM_QUANTUM)) { in tcp_collapse_ofo_queue()