Home
last modified time | relevance | path

Searched refs:wmem_alloc (Results 1 – 4 of 4) sorted by relevance

/linux/include/trace/events/
H A Dsock.h106 __field(int, wmem_alloc)
120 __entry->wmem_alloc = refcount_read(&sk->sk_wmem_alloc);
125 TP_printk("proto:%s sysctl_mem=%ld,%ld,%ld allocated=%ld sysctl_rmem=%d rmem_alloc=%d sysctl_wmem=%d wmem_alloc=%d wmem_queued=%d kind=%s",
134 __entry->wmem_alloc,
/linux/net/bluetooth/rfcomm/
H A Dtty.c66 atomic_t wmem_alloc; member
357 int pending = 40 - atomic_read(&dev->wmem_alloc); in rfcomm_room()
365 atomic_dec(&dev->wmem_alloc); in rfcomm_wfree()
374 atomic_inc(&dev->wmem_alloc); in rfcomm_set_owner_w()
/linux/net/core/
H A Dsock.c158 static void sock_def_write_space_wfree(struct sock *sk, int wmem_alloc);
3643 static void sock_def_write_space_wfree(struct sock *sk, int wmem_alloc) in sock_def_write_space_wfree() argument
3648 if (__sock_writeable(sk, wmem_alloc)) { in sock_def_write_space_wfree()
/linux/include/net/
H A Dsock.h2631 static inline bool __sock_writeable(const struct sock *sk, int wmem_alloc) in __sock_writeable() argument
2633 return wmem_alloc < (READ_ONCE(sk->sk_sndbuf) >> 1); in __sock_writeable()