Lines Matching defs:kind
2611 * @kind: allocation type
2615 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind)
2640 if (kind == SK_MEM_RECV) {
2670 if (kind == SK_MEM_SEND && sk->sk_type == SOCK_STREAM) {
2680 if (kind == SK_MEM_SEND || (kind == SK_MEM_RECV && charged))
2681 trace_sock_exceed_buf_limit(sk, prot, allocated, kind);
2696 * @kind: allocation type
2698 * If kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means
2702 int __sk_mem_schedule(struct sock *sk, int size, int kind)
2707 ret = __sk_mem_raise_allocated(sk, size, amt, kind);