/linux-2.4.37.9/net/atm/ |
D | raw.c | 39 DPRINTK("APopR (%d) %d -= %d\n",vcc->vci,vcc->sk->wmem_alloc,skb->truesize); in atm_pop_raw() 40 atomic_sub(skb->truesize, &vcc->sk->wmem_alloc); in atm_pop_raw()
|
D | common.c | 217 if (atomic_read(&vcc->sk->wmem_alloc) && !atm_may_send(vcc,size)) { in alloc_tx() 219 atomic_read(&vcc->sk->wmem_alloc),size,vcc->sk->sndbuf); in alloc_tx() 223 DPRINTK("AlTx %d += %d\n",atomic_read(&vcc->sk->wmem_alloc),skb->truesize); in alloc_tx() 224 atomic_add(skb->truesize, &vcc->sk->wmem_alloc); in alloc_tx() 241 if (atomic_read(&vcc->sk->wmem_alloc)) in vcc_sock_destruct() 242 …KERN_DEBUG "vcc_sock_destruct: wmem leakage (%d bytes) detected.\n", atomic_read(&sk->wmem_alloc)); in vcc_sock_destruct() 276 atomic_set(&vcc->sk->wmem_alloc,0); in vcc_create() 648 vcc->qos.txtp.max_sdu+atomic_read(&vcc->sk->wmem_alloc) <= vcc->sk->sndbuf) in atm_poll() 673 atomic_read(&vcc->sk->wmem_alloc), in vcc_ioctl()
|
D | pppoatm.c | 236 atomic_add(skb->truesize, &ATM_SKB(skb)->vcc->sk->wmem_alloc); in pppoatm_send()
|
D | signaling.c | 100 atomic_sub(skb->truesize, &vcc->sk->wmem_alloc); in sigd_send()
|
D | mpc.c | 525 atomic_add(skb->truesize, &entry->shortcut->sk->wmem_alloc); in send_via_shortcut() 870 atomic_sub(skb->truesize, &vcc->sk->wmem_alloc); in msg_from_mpoad()
|
/linux-2.4.37.9/net/core/ |
D | sock.c | 662 atomic_sub(skb->truesize, &sk->wmem_alloc); in sock_wfree() 683 if (force || atomic_read(&sk->wmem_alloc) < sk->sndbuf) { in sock_wmalloc() 753 if (atomic_read(&sk->wmem_alloc) < sk->sndbuf) in sock_wait_for_wmem() 788 if (atomic_read(&sk->wmem_alloc) < sk->sndbuf) { in sock_alloc_send_pskb() 960 if(atomic_read(&sk->wmem_alloc) == 0 && in sklist_destroy_socket() 1163 if((atomic_read(&sk->wmem_alloc) << 1) <= sk->sndbuf) { in sock_def_write_space()
|
/linux-2.4.37.9/net/bluetooth/rfcomm/ |
D | tty.c | 74 atomic_t wmem_alloc; member 259 atomic_sub(skb->truesize, &dev->wmem_alloc); in rfcomm_wfree() 268 atomic_add(skb->truesize, &dev->wmem_alloc); in rfcomm_set_owner_w() 275 if (force || atomic_read(&dev->wmem_alloc) < rfcomm_room(dev->dlc)) { in rfcomm_wmalloc() 697 room = rfcomm_room(dev->dlc) - atomic_read(&dev->wmem_alloc); in rfcomm_tty_write_room()
|
/linux-2.4.37.9/net/wanrouter/ |
D | af_wanpipe.c | 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() [all …]
|
/linux-2.4.37.9/include/net/ |
D | sock.h | 588 atomic_t wmem_alloc; /* Transmit queue bytes committed */ member 1228 atomic_add(skb->truesize, &sk->wmem_alloc); in skb_set_owner_w() 1305 amt = sk->sndbuf - atomic_read(&sk->wmem_alloc); in sock_wspace() 1326 return atomic_read(&sk->wmem_alloc) < (sk->sndbuf / 2); in sock_writeable()
|
/linux-2.4.37.9/net/decnet/ |
D | dn_nsp_out.c | 129 space = sk->sndbuf - atomic_read(&sk->wmem_alloc); in dn_alloc_send_skb() 146 if ((sk->sndbuf - atomic_read(&sk->wmem_alloc)) < len) in dn_alloc_send_skb()
|
/linux-2.4.37.9/net/ipv4/ |
D | raw.c | 604 int amount = atomic_read(&sk->wmem_alloc); in raw_ioctl() 638 atomic_read(&sp->wmem_alloc), atomic_read(&sp->rmem_alloc), in get_raw_sock()
|
D | udp.c | 599 int amount = atomic_read(&sk->wmem_alloc); in udp_ioctl() 1056 atomic_read(&sp->wmem_alloc), atomic_read(&sp->rmem_alloc), in get_udp_sock()
|
D | tcp_diag.c | 139 minfo->tcpdiag_tmem = atomic_read(&sk->wmem_alloc); in tcpdiag_fill()
|
/linux-2.4.37.9/include/linux/ |
D | atmdev.h | 434 return (size + atomic_read(&vcc->sk->wmem_alloc)) < vcc->sk->sndbuf; in atm_may_send()
|
/linux-2.4.37.9/net/x25/ |
D | af_x25.c | 343 if (atomic_read(&sk->wmem_alloc) != 0 || atomic_read(&sk->rmem_alloc) != 0) { in x25_destroy_socket() 1109 amount = sk->sndbuf - atomic_read(&sk->wmem_alloc); in x25_ioctl() 1245 atomic_read(&s->wmem_alloc), in x25_get_info()
|
/linux-2.4.37.9/net/netrom/ |
D | af_netrom.c | 332 if (atomic_read(&sk->wmem_alloc) != 0 || atomic_read(&sk->rmem_alloc) != 0) { in nr_destroy_socket() 1149 amount = sk->sndbuf - atomic_read(&sk->wmem_alloc); in nr_ioctl() 1243 atomic_read(&s->wmem_alloc), in nr_get_info()
|
/linux-2.4.37.9/net/ax25/ |
D | af_ax25.c | 437 if (atomic_read(&ax25->sk->wmem_alloc) != 0 || in ax25_destroy_socket() 1585 amount = sk->sndbuf - atomic_read(&sk->wmem_alloc); in ax25_ioctl() 1657 ax25_info.snd_q = atomic_read(&sk->wmem_alloc); in ax25_ioctl() 1758 atomic_read(&ax25->sk->wmem_alloc), in ax25_get_info()
|
/linux-2.4.37.9/net/appletalk/ |
D | ddp.c | 218 if (!atomic_read(&sk->wmem_alloc) && in atalk_destroy_timer() 233 if (!atomic_read(&sk->wmem_alloc) && in atalk_destroy_socket() 268 atomic_read(&s->wmem_alloc), in atalk_get_info() 1829 amount = sk->sndbuf - atomic_read(&sk->wmem_alloc); in atalk_ioctl()
|
/linux-2.4.37.9/net/ipv6/ |
D | raw.c | 799 int amount = atomic_read(&sk->wmem_alloc); in rawv6_ioctl() 859 atomic_read(&sp->wmem_alloc), atomic_read(&sp->rmem_alloc), in get_raw6_sock()
|
/linux-2.4.37.9/net/econet/ |
D | af_econet.c | 472 if (!atomic_read(&sk->wmem_alloc) && !atomic_read(&sk->rmem_alloc)) { in econet_destroy_timer() 510 if (atomic_read(&sk->rmem_alloc) || atomic_read(&sk->wmem_alloc)) { in econet_release()
|
/linux-2.4.37.9/net/rose/ |
D | af_rose.c | 390 if (atomic_read(&sk->wmem_alloc) != 0 || atomic_read(&sk->rmem_alloc) != 0) { in rose_destroy_socket() 1247 amount = sk->sndbuf - atomic_read(&sk->wmem_alloc); in rose_ioctl() 1383 atomic_read(&s->wmem_alloc), in rose_get_info()
|
/linux-2.4.37.9/net/unix/ |
D | af_unix.c | 283 return ((atomic_read(&sk->wmem_alloc)<<2) <= sk->sndbuf); in unix_writable() 322 BUG_TRAP(atomic_read(&sk->wmem_alloc) == 0); in unix_sock_destructor() 1685 amount = atomic_read(&sk->wmem_alloc); in unix_ioctl()
|
/linux-2.4.37.9/drivers/atm/ |
D | fore200e.c | 1048 if (atomic_read(&vcc->sk->wmem_alloc) < 0) { in fore200e_tx_irq() 1049 atomic_set(&vcc->sk->wmem_alloc, 0); in fore200e_tx_irq() 1249 ASSERT(atomic_read(&vcc->sk->wmem_alloc) >= 0); in fore200e_push_rpd() 1254 ASSERT(atomic_read(&vcc->sk->wmem_alloc) >= 0); in fore200e_push_rpd() 1737 ASSERT(atomic_read(&vcc->sk->wmem_alloc) >= 0); in fore200e_send()
|
/linux-2.4.37.9/net/netlink/ |
D | af_netlink.c | 124 BUG_TRAP(atomic_read(&sk->wmem_alloc)==0); in netlink_sock_destruct() 1171 atomic_read(&s->wmem_alloc), in netlink_read_proc()
|
/linux-2.4.37.9/net/sched/ |
D | sch_atm.c | 514 atomic_add(skb->truesize,&flow->vcc->sk->wmem_alloc); in sch_atm_dequeue()
|