/linux-3.4.99/sound/pci/emu10k1/ |
D | emu10k1_patch.c | 43 int truesize, size, loopsize, blocksize; in snd_emu10k1_sample_new() local 79 truesize = sp->v.size + BLANK_HEAD_SIZE; in snd_emu10k1_sample_new() 84 truesize += loopsize; in snd_emu10k1_sample_new() 87 truesize += BLANK_LOOP_SIZE; in snd_emu10k1_sample_new() 90 blocksize = truesize; in snd_emu10k1_sample_new() 100 sp->v.truesize = blocksize; in snd_emu10k1_sample_new() 189 for (i = 0; i < truesize; i++) in snd_emu10k1_sample_new() 192 for (i = 0; i < truesize; i++) in snd_emu10k1_sample_new()
|
/linux-3.4.99/include/trace/events/ |
D | sock.h | 18 __field(unsigned int, truesize) 24 __entry->truesize = skb->truesize; 29 __entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
|
/linux-3.4.99/net/atm/ |
D | atm_misc.c | 14 int atm_charge(struct atm_vcc *vcc, int truesize) in atm_charge() argument 16 atm_force_charge(vcc, truesize); in atm_charge() 19 atm_return(vcc, truesize); in atm_charge() 36 atomic_add(skb->truesize-guess, in atm_alloc_charge()
|
D | pppoatm.c | 146 atm_return(atmvcc, skb->truesize); in pppoatm_push() 210 !atm_may_send(pvcc->atmvcc, n->truesize)) { in pppoatm_send() 218 } else if (!atm_may_send(pvcc->atmvcc, skb->truesize)) in pppoatm_send() 223 if (!atm_may_send(pvcc->atmvcc, skb->truesize)) in pppoatm_send() 232 atomic_add(skb->truesize, &sk_atm(ATM_SKB(skb)->vcc)->sk_wmem_alloc); in pppoatm_send()
|
D | raw.c | 37 vcc->vci, sk_wmem_alloc_get(sk), skb->truesize); in atm_pop_raw() 38 atomic_sub(skb->truesize, &sk->sk_wmem_alloc); in atm_pop_raw()
|
D | clip.c | 67 atm_force_charge(atmarpd, skb->truesize); in to_atmarpd() 170 if (!vcc || !atm_charge(vcc, skb->truesize)) { in clip_arp_rcv() 196 atm_return(vcc, skb->truesize); in clip_push() 209 atm_return(vcc, skb->truesize); in clip_push() 381 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in clip_start_xmit()
|
/linux-3.4.99/sound/isa/sb/ |
D | emu8000_patch.c | 154 int truesize; in snd_emu8000_sample_new() local 173 truesize = sp->v.size; in snd_emu8000_sample_new() 175 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new() 177 truesize += BLANK_LOOP_SIZE; in snd_emu8000_sample_new() 179 sp->block = snd_util_mem_alloc(hdr, truesize * 2); in snd_emu8000_sample_new() 205 sp->v.truesize = truesize * 2; /* in bytes */ in snd_emu8000_sample_new()
|
/linux-3.4.99/drivers/net/irda/ |
D | w83977af_ir.c | 213 self->rx_buff.truesize = 14384; in w83977af_open() 214 self->tx_buff.truesize = 4000; in w83977af_open() 218 dma_alloc_coherent(NULL, self->rx_buff.truesize, in w83977af_open() 225 memset(self->rx_buff.head, 0, self->rx_buff.truesize); in w83977af_open() 228 dma_alloc_coherent(NULL, self->tx_buff.truesize, in w83977af_open() 234 memset(self->tx_buff.head, 0, self->tx_buff.truesize); in w83977af_open() 256 dma_free_coherent(NULL, self->tx_buff.truesize, in w83977af_open() 259 dma_free_coherent(NULL, self->rx_buff.truesize, in w83977af_open() 303 dma_free_coherent(NULL, self->tx_buff.truesize, in w83977af_close() 307 dma_free_coherent(NULL, self->rx_buff.truesize, in w83977af_close() [all …]
|
D | via-ircc.c | 362 self->rx_buff.truesize = 14384 + 2048; in via_ircc_open() 363 self->tx_buff.truesize = 14384 + 2048; in via_ircc_open() 367 dma_alloc_coherent(&pdev->dev, self->rx_buff.truesize, in via_ircc_open() 373 memset(self->rx_buff.head, 0, self->rx_buff.truesize); in via_ircc_open() 376 dma_alloc_coherent(&pdev->dev, self->tx_buff.truesize, in via_ircc_open() 382 memset(self->tx_buff.head, 0, self->tx_buff.truesize); in via_ircc_open() 408 dma_free_coherent(&pdev->dev, self->tx_buff.truesize, in via_ircc_open() 411 dma_free_coherent(&pdev->dev, self->rx_buff.truesize, in via_ircc_open() 445 dma_free_coherent(&pdev->dev, self->tx_buff.truesize, in via_remove_one() 448 dma_free_coherent(&pdev->dev, self->rx_buff.truesize, in via_remove_one() [all …]
|
D | sir_dev.c | 366 if (unlikely(len > dev->tx_buff.truesize)) in sirdev_raw_write() 574 if (unlikely(dev->rx_buff.len == dev->rx_buff.truesize)) in sirdev_receive() 644 dev->tx_buff.len = async_wrap_skb(skb, dev->tx_buff.data, dev->tx_buff.truesize); in sirdev_hard_xmit() 754 dev->tx_buff.truesize = SIRBUF_ALLOCSIZE; in sirdev_alloc_buffers() 755 dev->rx_buff.truesize = IRDA_SKB_MAX_MTU; in sirdev_alloc_buffers() 758 dev->rx_buff.skb = __netdev_alloc_skb(dev->netdev, dev->rx_buff.truesize, in sirdev_alloc_buffers() 765 dev->tx_buff.head = kmalloc(dev->tx_buff.truesize, GFP_KERNEL); in sirdev_alloc_buffers()
|
D | sh_irda.c | 608 self->rx_buff.truesize = rxsize; in sh_irda_init_iobuf() 615 self->tx_buff.truesize = IRDARAM_LEN; in sh_irda_init_iobuf() 650 self->tx_buff.truesize); in sh_irda_hard_xmit() 653 if (self->tx_buff.len > self->tx_buff.truesize) in sh_irda_hard_xmit() 654 self->tx_buff.len = self->tx_buff.truesize; in sh_irda_hard_xmit()
|
D | ali-ircc.c | 349 self->rx_buff.truesize = 14384; in ali_ircc_open() 350 self->tx_buff.truesize = 14384; in ali_ircc_open() 354 dma_alloc_coherent(NULL, self->rx_buff.truesize, in ali_ircc_open() 360 memset(self->rx_buff.head, 0, self->rx_buff.truesize); in ali_ircc_open() 363 dma_alloc_coherent(NULL, self->tx_buff.truesize, in ali_ircc_open() 369 memset(self->tx_buff.head, 0, self->tx_buff.truesize); in ali_ircc_open() 402 dma_free_coherent(NULL, self->tx_buff.truesize, in ali_ircc_open() 405 dma_free_coherent(NULL, self->rx_buff.truesize, in ali_ircc_open() 440 dma_free_coherent(NULL, self->tx_buff.truesize, in ali_ircc_close() 444 dma_free_coherent(NULL, self->rx_buff.truesize, in ali_ircc_close() [all …]
|
D | nsc-ircc.c | 428 self->rx_buff.truesize = 14384; in nsc_ircc_open() 429 self->tx_buff.truesize = 14384; in nsc_ircc_open() 433 dma_alloc_coherent(NULL, self->rx_buff.truesize, in nsc_ircc_open() 440 memset(self->rx_buff.head, 0, self->rx_buff.truesize); in nsc_ircc_open() 443 dma_alloc_coherent(NULL, self->tx_buff.truesize, in nsc_ircc_open() 449 memset(self->tx_buff.head, 0, self->tx_buff.truesize); in nsc_ircc_open() 498 dma_free_coherent(NULL, self->tx_buff.truesize, in nsc_ircc_open() 501 dma_free_coherent(NULL, self->rx_buff.truesize, in nsc_ircc_open() 538 dma_free_coherent(NULL, self->tx_buff.truesize, in nsc_ircc_close() 542 dma_free_coherent(NULL, self->rx_buff.truesize, in nsc_ircc_close() [all …]
|
D | smsc-ircc2.c | 562 self->rx_buff.truesize = SMSC_IRCC2_RX_BUFF_TRUESIZE; in smsc_ircc_open() 563 self->tx_buff.truesize = SMSC_IRCC2_TX_BUFF_TRUESIZE; in smsc_ircc_open() 566 dma_alloc_coherent(NULL, self->rx_buff.truesize, in smsc_ircc_open() 575 dma_alloc_coherent(NULL, self->tx_buff.truesize, in smsc_ircc_open() 583 memset(self->rx_buff.head, 0, self->rx_buff.truesize); in smsc_ircc_open() 584 memset(self->tx_buff.head, 0, self->tx_buff.truesize); in smsc_ircc_open() 625 dma_free_coherent(NULL, self->tx_buff.truesize, in smsc_ircc_open() 628 dma_free_coherent(NULL, self->rx_buff.truesize, in smsc_ircc_open() 932 self->tx_buff.truesize); in smsc_ircc_hard_xmit_sir() 1388 irda_setup_dma(self->io.dma, self->rx_buff_dma, self->rx_buff.truesize, in smsc_ircc_dma_receive() [all …]
|
/linux-3.4.99/include/linux/ |
D | atmdev.h | 450 static inline void atm_force_charge(struct atm_vcc *vcc,int truesize) in atm_force_charge() argument 452 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge() 456 static inline void atm_return(struct atm_vcc *vcc,int truesize) in atm_return() argument 458 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return() 486 int atm_charge(struct atm_vcc *vcc,int truesize);
|
/linux-3.4.99/net/ipv4/ |
D | inet_lro.c | 224 parent->truesize += skb->truesize; in lro_add_packet() 235 int len, int hlen, int truesize, in lro_add_frags() argument 244 skb->truesize += truesize; in lro_add_frags() 395 skb->truesize += true_size; in lro_gen_skb()
|
D | tcp_output.c | 928 sk->sk_wmem_queued += skb->truesize; in tcp_queue_skb() 929 sk_mem_charge(sk, skb->truesize); in tcp_queue_skb() 1028 sk->sk_wmem_queued += buff->truesize; in tcp_fragment() 1029 sk_mem_charge(sk, buff->truesize); in tcp_fragment() 1031 buff->truesize += nlen; in tcp_fragment() 1032 skb->truesize -= nlen; in tcp_fragment() 1142 skb->truesize -= len; in tcp_trim_head() 1498 sk->sk_wmem_queued += buff->truesize; in tso_fragment() 1499 sk_mem_charge(sk, buff->truesize); in tso_fragment() 1500 buff->truesize += nlen; in tso_fragment() [all …]
|
D | ip_fragment.c | 167 atomic_sub(skb->truesize, &nf->mem); in frag_kfree_skb() 514 atomic_add(skb->truesize, &qp->q.net->mem); in ip_frag_queue() 615 atomic_add(clone->truesize, &qp->q.net->mem); in ip_frag_reasm() 628 head->truesize += fp->truesize; in ip_frag_reasm() 630 atomic_sub(head->truesize, &qp->q.net->mem); in ip_frag_reasm()
|
/linux-3.4.99/net/irda/ |
D | wrapper.c | 226 newskb = dev_alloc_skb(docopy ? rx_buff->len + 1 : rx_buff->truesize); in async_bump() 417 if (rx_buff->len < rx_buff->truesize) { in async_unwrap_other() 435 if (rx_buff->len < rx_buff->truesize) { in async_unwrap_other()
|
/linux-3.4.99/net/core/ |
D | skbuff.c | 212 skb->truesize = SKB_TRUESIZE(size); in __alloc_skb() 277 skb->truesize = SKB_TRUESIZE(size); in build_skb() 325 int size, unsigned int truesize) in skb_add_rx_frag() argument 330 skb->truesize += truesize; in skb_add_rx_frag() 651 C(truesize); in __skb_clone() 872 n->truesize += skb->data_len; in __pskb_copy() 2406 skb->truesize -= shiftlen; in skb_shift() 2409 tgt->truesize += shiftlen; in skb_shift() 2619 skb->truesize += PAGE_SIZE; in skb_append_datato_frags() 2730 nskb->truesize += skb_end_offset(nskb) - hsize; in skb_segment() [all …]
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 311 atomic_add(skb->truesize, &nf_init_frags.mem); in nf_ct_frag6_queue() 390 atomic_add(clone->truesize, &nf_init_frags.mem); in nf_ct_frag6_reasm() 412 head->truesize += fp->truesize; in nf_ct_frag6_reasm() 414 atomic_sub(head->truesize, &nf_init_frags.mem); in nf_ct_frag6_reasm()
|
/linux-3.4.99/net/sctp/ |
D | ulpevent.c | 81 sctp_ulpevent_init(event, msg_flags, skb->truesize); in sctp_ulpevent_new() 157 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_assoc_change() 407 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_remote_error() 499 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_send_failed() 705 (!sk_rmem_schedule(asoc->base.sk, chunk->skb->truesize))) in sctp_ulpevent_make_rcvmsg()
|
/linux-3.4.99/net/ipv6/ |
D | reassembly.c | 377 atomic_add(skb->truesize, &fq->q.net->mem); in ip6_frag_queue() 487 atomic_add(clone->truesize, &fq->q.net->mem); in ip6_frag_reasm() 510 head->truesize += fp->truesize; in ip6_frag_reasm() 512 atomic_sub(head->truesize, &fq->q.net->mem); in ip6_frag_reasm()
|
/linux-3.4.99/net/phonet/ |
D | pep-gprs.c | 115 rskb->truesize += rskb->len; in gprs_recv() 124 skb->truesize -= flen; in gprs_recv()
|
/linux-3.4.99/drivers/net/wireless/prism54/ |
D | islpci_eth.c | 62 skb, skb->data, skb->len, skb->truesize); in islpci_eth_cleanup_transmit() 337 skb->len, offset, skb->truesize); in islpci_eth_receive() 444 skb, skb->data, skb->len, index, skb->truesize); in islpci_eth_receive()
|