Lines Matching refs:size

154  *	@skc_rcv_wnd: (aka rsk_rcv_wnd) TCP receive window size (possibly scaled)
257 * @sk_rcvbuf: size of receive buffer in bytes
270 * @sk_wmem_queued: persistent queue size
279 * @sk_sndbuf: size of send buffer in bytes
287 * @sk_gso_max_size: Maximum GSO segment size to build
1080 * Take into account size of receive queue and backlog queue
1239 static inline void sk_prot_clear_nulls(struct sock *sk, int size)
1244 size - offsetof(struct sock, sk_node.pprev));
1350 unsigned int usersize; /* Usercopy region size */
1597 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind);
1598 int __sk_mem_schedule(struct sock *sk, int size, int kind);
1622 static inline bool sk_wmem_schedule(struct sock *sk, int size)
1628 delta = size - sk->sk_forward_alloc;
1633 sk_rmem_schedule(struct sock *sk, struct sk_buff *skb, int size)
1639 delta = size - sk->sk_forward_alloc;
1676 static inline void sk_mem_charge(struct sock *sk, int size)
1680 sk_forward_alloc_add(sk, -size);
1683 static inline void sk_mem_uncharge(struct sock *sk, int size)
1687 sk_forward_alloc_add(sk, size);
1848 struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force,
1852 struct sk_buff *sock_omalloc(struct sock *sk, unsigned long size,
1880 unsigned long size,
1883 return sock_alloc_send_pskb(sk, size, 0, noblock, errcode, 0);
1886 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority);
1887 void sock_kfree_s(struct sock *sk, void *mem, int size);
1888 void sock_kzfree_s(struct sock *sk, void *mem, int size);
1941 int sock_common_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
2663 #define sock_skb_cb_check_size(size) \
2664 BUILD_BUG_ON((size) > SOCK_SKB_CB_OFFSET)
2929 /* Take into consideration the size of the struct sk_buff overhead in the
3024 void __user *arg, void *karg, size_t size);