Lines Matching defs:size
156 * @skc_rcv_wnd: (aka rsk_rcv_wnd) TCP receive window size (possibly scaled)
263 * @sk_rcvbuf: size of receive buffer in bytes
275 * @sk_wmem_queued: persistent queue size
283 * @sk_sndbuf: size of send buffer in bytes
293 * @sk_gso_max_size: Maximum GSO segment size to build
1009 * Take into account size of receive queue and backlog queue
1163 static inline void sk_prot_clear_nulls(struct sock *sk, int size)
1168 size - offsetof(struct sock, sk_node.pprev));
1210 int offset, size_t size, int flags);
1263 unsigned int usersize; /* Usercopy region size */
1486 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind);
1487 int __sk_mem_schedule(struct sock *sk, int size, int kind);
1523 static inline bool sk_wmem_schedule(struct sock *sk, int size)
1529 delta = size - sk->sk_forward_alloc;
1534 sk_rmem_schedule(struct sock *sk, struct sk_buff *skb, int size)
1540 delta = size - sk->sk_forward_alloc;
1561 static inline void sk_mem_charge(struct sock *sk, int size)
1565 sk->sk_forward_alloc -= size;
1568 static inline void sk_mem_uncharge(struct sock *sk, int size)
1572 sk->sk_forward_alloc += size;
1725 struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force,
1729 struct sk_buff *sock_omalloc(struct sock *sk, unsigned long size,
1748 struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size,
1753 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority);
1754 void sock_kfree_s(struct sock *sk, void *mem, int size);
1755 void sock_kzfree_s(struct sock *sk, void *mem, int size);
1793 size_t size, int flags);
1795 int offset, size_t size, int flags);
1803 int sock_common_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
2406 struct sk_buff *sk_stream_alloc_skb(struct sock *sk, int size, gfp_t gfp,
2489 #define sock_skb_cb_check_size(size) \
2490 BUILD_BUG_ON((size) > SOCK_SKB_CB_OFFSET)
2743 /* Take into consideration the size of the struct sk_buff overhead in the