/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 | 196 atm_return(atmvcc, skb->truesize); in pppoatm_push() 328 !pppoatm_may_send(pvcc, n->truesize)) { in pppoatm_send() 338 } else if (!pppoatm_may_send(pvcc, skb->truesize)) in pppoatm_send() 343 if (!pppoatm_may_send(pvcc, skb->truesize)) in pppoatm_send() 353 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() 384 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in clip_start_xmit()
|
D | signaling.c | 31 atm_force_charge(sigd, skb->truesize); in sigd_put_skb() 70 atomic_sub(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in sigd_send()
|
D | common.c | 77 pr_debug("%d += %d\n", sk_wmem_alloc_get(sk), skb->truesize); in alloc_tx() 78 atomic_add(skb->truesize, &sk->sk_wmem_alloc); in alloc_tx() 192 atm_return(vcc, skb->truesize); in vcc_destroy_socket() 564 skb->truesize); in vcc_recvmsg() 565 atm_return(vcc, skb->truesize); in vcc_recvmsg()
|
D | lec.c | 155 atm_force_charge(priv->lecd, skb2->truesize); in lec_handle_bridge() 187 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in lec_send() 267 min_frame_size - skb->truesize, in lec_start_xmit() 351 atomic_sub(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in lec_atm_send() 452 atm_force_charge(priv->lecd, skb2->truesize); in lec_atm_send() 484 atm_return(vcc, skb->truesize); in lec_atm_close() 535 atm_force_charge(priv->lecd, skb->truesize); in send_to_lecd() 542 atm_force_charge(priv->lecd, data->truesize); in send_to_lecd() 629 atm_return(vcc, skb->truesize); in lec_push()
|
D | mpc.c | 558 atomic_add(skb->truesize, &sk_atm(entry->shortcut)->sk_wmem_alloc); in send_via_shortcut() 714 atm_return(vcc, skb->truesize); in mpc_push() 897 atm_return(vcc, skb->truesize); in mpoad_close() 914 atomic_sub(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in msg_from_mpoad() 991 atm_force_charge(mpc->mpoad_vcc, skb->truesize); in msg_to_mpoad() 1272 atm_force_charge(vcc, skb->truesize); in purge_egress_shortcut()
|
/net/core/ |
D | skbuff.c | 177 skb->truesize = sizeof(struct sk_buff); in __alloc_skb_head() 247 skb->truesize = SKB_TRUESIZE(size); in __alloc_skb() 316 skb->truesize = SKB_TRUESIZE(size); in __build_skb() 537 int size, unsigned int truesize) in skb_add_rx_frag() argument 542 skb->truesize += truesize; in skb_add_rx_frag() 547 unsigned int truesize) in skb_coalesce_rx_frag() argument 554 skb->truesize += truesize; in skb_coalesce_rx_frag() 851 C(truesize); in __skb_clone() 1088 n->truesize += skb->data_len; in __pskb_copy_fclone() 2309 to->truesize += len + plen; in skb_zerocopy() [all …]
|
D | datagram.c | 539 unsigned long truesize; in zerocopy_sg_from_iter() local 552 truesize = PAGE_ALIGN(copied + start); in zerocopy_sg_from_iter() 555 skb->truesize += truesize; in zerocopy_sg_from_iter() 556 atomic_add(truesize, &skb->sk->sk_wmem_alloc); in zerocopy_sg_from_iter()
|
/net/ieee802154/6lowpan/ |
D | reassembly.c | 162 add_frag_mem_limit(fq->q.net, skb->truesize); in lowpan_frag_queue() 242 add_frag_mem_limit(fq->q.net, clone->truesize); in lowpan_frag_reasm() 247 sum_truesize = head->truesize; in lowpan_frag_reasm() 253 sum_truesize += fp->truesize; in lowpan_frag_reasm() 261 head->truesize += fp->truesize; in lowpan_frag_reasm()
|
/net/ipv4/ |
D | ip_fragment.c | 234 sub_frag_mem_limit(qp->q.net, head->truesize); in ip_expire() 477 add_frag_mem_limit(qp->q.net, skb->truesize); in ip_frag_queue() 582 head->truesize += clone->truesize; in ip_frag_reasm() 585 add_frag_mem_limit(qp->q.net, clone->truesize); in ip_frag_reasm() 615 head->truesize += fp->truesize; in ip_frag_reasm() 627 sub_frag_mem_limit(qp->q.net, head->truesize); in ip_frag_reasm() 760 sum += skb->truesize; in inet_frag_rbtree_purge()
|
D | tcp_output.c | 870 wmem = atomic_sub_return(skb->truesize - 1, &sk->sk_wmem_alloc); in tcp_wfree() 964 atomic_add(skb->truesize, &sk->sk_wmem_alloc); in __tcp_transmit_skb() 1065 sk->sk_wmem_queued += skb->truesize; in tcp_queue_skb() 1066 sk_mem_charge(sk, skb->truesize); in tcp_queue_skb() 1187 sk->sk_wmem_queued += buff->truesize; in tcp_fragment() 1188 sk_mem_charge(sk, buff->truesize); in tcp_fragment() 1190 buff->truesize += nlen; in tcp_fragment() 1191 skb->truesize -= nlen; in tcp_fragment() 1304 skb->truesize -= delta_truesize; in tcp_trim_head() 1751 sk->sk_wmem_queued += buff->truesize; in tso_fragment() [all …]
|
D | tcp_offload.c | 145 sum_truesize += skb->truesize; in tcp_gso_segment() 162 sum_truesize += skb->truesize; in tcp_gso_segment() 163 atomic_add(sum_truesize - gso_skb->truesize, in tcp_gso_segment()
|
D | ip_output.c | 608 skb->truesize -= frag->truesize; in ip_do_fragment() 676 skb->truesize += frag2->truesize; in ip_do_fragment() 1116 skb->truesize += copy; in __ip_append_data() 1345 skb->truesize += len; in ip_append_page() 1400 skb->truesize += tmp_skb->truesize; in __ip_make_skb()
|
D | inet_lro.c | 223 parent->truesize += skb->truesize; in lro_add_packet()
|
D | tcp.c | 627 sk->sk_wmem_queued += skb->truesize; in skb_entail() 628 sk_mem_charge(sk, skb->truesize); in skb_entail() 657 atomic_read(&sk->sk_wmem_alloc) > skb->truesize; in tcp_should_autocork() 685 if (atomic_read(&sk->sk_wmem_alloc) > skb->truesize) in tcp_push() 839 sk_forced_mem_schedule(sk, skb->truesize); in sk_stream_alloc_skb() 841 mem_scheduled = sk_wmem_schedule(sk, skb->truesize); in sk_stream_alloc_skb() 965 skb->truesize += copy; in do_tcp_sendpages()
|
D | tcp_input.c | 353 int truesize = tcp_win_from_space(skb->truesize) >> 1; in __tcp_grow_window() local 357 if (truesize <= skb->len) in __tcp_grow_window() 360 truesize >>= 1; in __tcp_grow_window() 380 if (tcp_win_from_space(skb->truesize) <= skb->len) in tcp_grow_window() 4434 if (unlikely(tcp_try_rmem_schedule(sk, skb, skb->truesize))) { in tcp_data_queue_ofo() 4606 if (tcp_try_rmem_schedule(sk, skb, skb->truesize)) in tcp_send_rcvq() 4678 sk_forced_mem_schedule(sk, skb->truesize); in tcp_data_queue() 4679 else if (tcp_try_rmem_schedule(sk, skb, skb->truesize)) in tcp_data_queue() 4829 (tcp_win_from_space(skb->truesize) > skb->len || in tcp_collapse() 4919 range_truesize = skb->truesize; in tcp_collapse_ofo_queue() [all …]
|
/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()
|
/net/ipv6/ |
D | reassembly.c | 299 add_frag_mem_limit(fq->q.net, skb->truesize); in ip6_frag_queue() 412 add_frag_mem_limit(fq->q.net, clone->truesize); in ip6_frag_reasm() 427 sum_truesize = head->truesize; in ip6_frag_reasm() 433 sum_truesize += fp->truesize; in ip6_frag_reasm() 446 head->truesize += fp->truesize; in ip6_frag_reasm()
|
D | ip6_output.c | 652 skb->truesize -= frag->truesize; in ip6_fragment() 746 skb->truesize += frag2->truesize; in ip6_fragment() 1573 skb->truesize += copy; in __ip6_append_data() 1677 skb->truesize += tmp_skb->truesize; in __ip6_make_skb()
|
/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 325 add_frag_mem_limit(fq->q.net, skb->truesize); in nf_ct_frag6_queue() 407 add_frag_mem_limit(fq->q.net, clone->truesize); in nf_ct_frag6_reasm() 429 head->truesize += fp->truesize; in nf_ct_frag6_reasm() 432 sub_frag_mem_limit(fq->q.net, head->truesize); in nf_ct_frag6_reasm()
|
/net/sctp/ |
D | ulpevent.c | 74 sctp_ulpevent_init(event, msg_flags, skb->truesize); in sctp_ulpevent_new() 150 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_assoc_change() 400 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_remote_error() 451 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_send_failed() 658 chunk->skb->truesize))) in sctp_ulpevent_make_rcvmsg()
|
/net/phonet/ |
D | pep-gprs.c | 115 rskb->truesize += rskb->len; in gprs_recv() 124 skb->truesize -= flen; in gprs_recv()
|
/net/tipc/ |
D | msg.c | 163 head->truesize += frag->truesize; in tipc_buf_append()
|