Lines Matching refs:wmem_alloc
644 if (atomic_read(&sk->wmem_alloc) + skb->truesize > (unsigned int)sk->sndbuf){ in wanpipe_sendmsg()
849 if ((!atomic_read(&sk->wmem_alloc) && !atomic_read(&sk->rmem_alloc)) || in wanpipe_destroy_timer()
852 if (atomic_read(&sk->wmem_alloc) || atomic_read(&sk->rmem_alloc)) in wanpipe_destroy_timer()
1052 if (atomic_read(&sk->rmem_alloc) || atomic_read(&sk->wmem_alloc)) { in wanpipe_release()
1055 atomic_read(&sk->rmem_alloc),atomic_read(&sk->wmem_alloc)); in wanpipe_release()
1098 if (!atomic_read(&sk->wmem_alloc)) in check_write_queue()
1237 if (atomic_read(&sk->rmem_alloc) || atomic_read(&sk->wmem_alloc)) { in wanpipe_kill_sock_timer()
1887 return atomic_read(&sk->wmem_alloc); in wanpipe_ioctl()
2021 if ((err=put_user(atomic_read(&sk->wmem_alloc), &dbg_data->debug[cnt].wmem))) in wanpipe_debug()
2402 if (atomic_read(&sk->wmem_alloc) || check_driver_busy(sk)){ in wanpipe_exec_cmd()
2438 if (atomic_read(&sk->wmem_alloc) || check_driver_busy(sk)){ in wanpipe_exec_cmd()