Searched refs:wmem_alloc (Results 1 – 4 of 4) sorted by relevance
106 __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,
66 atomic_t wmem_alloc; member357 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()
158 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() argument3648 if (__sock_writeable(sk, wmem_alloc)) { in sock_def_write_space_wfree()
2631 static inline bool __sock_writeable(const struct sock *sk, int wmem_alloc) in __sock_writeable() argument2633 return wmem_alloc < (READ_ONCE(sk->sk_sndbuf) >> 1); in __sock_writeable()