Home
last modified time | relevance | path

Searched refs:wmem_alloc (Results 1 – 3 of 3) 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/include/net/
H A Dsock.h2645 static inline bool __sock_writeable(const struct sock *sk, int wmem_alloc) in __sock_writeable() argument
2647 return wmem_alloc < (READ_ONCE(sk->sk_sndbuf) >> 1); in __sock_writeable()