Home
last modified time | relevance | path

Searched refs:truesize (Results 1 – 25 of 166) sorted by relevance

1234567

/linux-6.3-rc2/sound/pci/emu10k1/
A Demu10k1_patch.c30 int truesize, size, blocksize; in snd_emu10k1_sample_new() local
65 truesize = sp->v.size + BLANK_HEAD_SIZE; in snd_emu10k1_sample_new()
70 truesize += loopsize; in snd_emu10k1_sample_new()
73 truesize += BLANK_LOOP_SIZE; in snd_emu10k1_sample_new()
76 blocksize = truesize; in snd_emu10k1_sample_new()
87 sp->v.truesize = blocksize; in snd_emu10k1_sample_new()
176 for (i = 0; i < truesize; i++) in snd_emu10k1_sample_new()
179 for (i = 0; i < truesize; i++) in snd_emu10k1_sample_new()
/linux-6.3-rc2/net/openvswitch/
A Dopenvswitch_trace.h26 __field( unsigned int, truesize )
51 __entry->truesize = skb->truesize;
72 __entry->truesize, __entry->nr_frags, __entry->gso_size,
97 __field( unsigned int, truesize )
121 __entry->truesize = skb->truesize;
141 __entry->truesize, __entry->nr_frags, __entry->gso_size,
/linux-6.3-rc2/sound/isa/sb/
A Demu8000_patch.c143 int truesize; in snd_emu8000_sample_new() local
159 truesize = sp->v.size; in snd_emu8000_sample_new()
161 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new()
163 truesize += BLANK_LOOP_SIZE; in snd_emu8000_sample_new()
165 sp->block = snd_util_mem_alloc(hdr, truesize * 2); in snd_emu8000_sample_new()
191 sp->v.truesize = truesize * 2; /* in bytes */ in snd_emu8000_sample_new()
/linux-6.3-rc2/net/atm/
A Datm_misc.c15 int atm_charge(struct atm_vcc *vcc, int truesize) in atm_charge() argument
17 atm_force_charge(vcc, truesize); in atm_charge()
20 atm_return(vcc, truesize); in atm_charge()
37 atomic_add(skb->truesize-guess, in atm_alloc_charge()
A Dpppoatm.c195 atm_return(atmvcc, skb->truesize); in pppoatm_push()
325 !pppoatm_may_send(pvcc, n->truesize)) { in pppoatm_send()
335 } else if (!pppoatm_may_send(pvcc, skb->truesize)) in pppoatm_send()
340 if (!pppoatm_may_send(pvcc, skb->truesize)) in pppoatm_send()
A Dsignaling.c32 atm_force_charge(sigd, skb->truesize); in sigd_put_skb()
71 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in sigd_send()
/linux-6.3-rc2/include/linux/
A Datmdev.h247 refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in atm_account_tx()
248 ATM_SKB(skb)->acct_truesize = skb->truesize; in atm_account_tx()
252 static inline void atm_force_charge(struct atm_vcc *vcc,int truesize) in atm_force_charge() argument
254 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge()
258 static inline void atm_return(struct atm_vcc *vcc,int truesize) in atm_return() argument
260 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return()
288 int atm_charge(struct atm_vcc *vcc,int truesize);
/linux-6.3-rc2/include/net/
A Dfq_impl.h17 unsigned int bytes, unsigned int truesize) in __fq_adjust_removal() argument
26 fq->memory_usage -= truesize; in __fq_adjust_removal()
44 __fq_adjust_removal(fq, flow, 1, skb->len, skb->truesize); in fq_adjust_removal()
66 unsigned int packets = 0, bytes = 0, truesize = 0; in fq_flow_drop() local
81 truesize += skb->truesize; in fq_flow_drop()
85 __fq_adjust_removal(fq, flow, packets, bytes, truesize); in fq_flow_drop()
223 fq->memory_usage += skb->truesize; in fq_tin_enqueue()
A Dxdp.h227 unsigned int size, unsigned int truesize, in xdp_update_skb_shared_info() argument
234 skb->truesize += truesize; in xdp_update_skb_shared_info()
/linux-6.3-rc2/net/ipv4/
A Dinet_fragment.c278 sum += skb->truesize; in inet_frag_rbtree_purge()
475 delta = -head->truesize; in inet_frag_reasm_prepare()
481 delta += head->truesize; in inet_frag_reasm_prepare()
502 head->truesize += clone->truesize; in inet_frag_reasm_prepare()
505 add_frag_mem_limit(q->fqdir, clone->truesize); in inet_frag_reasm_prepare()
531 sum_truesize = head->truesize; in inet_frag_reasm_finish()
542 sum_truesize += fp->truesize; in inet_frag_reasm_finish()
558 head->truesize += fp->truesize; in inet_frag_reasm_finish()
604 sub_frag_mem_limit(q->fqdir, head->truesize); in inet_frag_pull_head()
A Dtcp_offload.c138 sum_truesize += skb->truesize; in tcp_gso_segment()
157 sum_truesize += skb->truesize; in tcp_gso_segment()
158 delta = sum_truesize - gso_skb->truesize; in tcp_gso_segment()
A Dtcp_output.c1435 sk_mem_charge(sk, skb->truesize); in tcp_queue_skb()
1570 sk_mem_charge(sk, buff->truesize); in tcp_fragment()
1572 buff->truesize += nlen; in tcp_fragment()
1573 skb->truesize -= nlen; in tcp_fragment()
1675 skb->truesize -= delta_truesize; in tcp_trim_head()
2140 sk_mem_charge(sk, buff->truesize); in tso_fragment()
2141 buff->truesize += nlen; in tso_fragment()
2142 skb->truesize -= nlen; in tso_fragment()
2402 sk_mem_charge(sk, nskb->truesize); in tcp_mtu_probe()
2505 2 * skb->truesize, in tcp_small_queue_check()
[all …]
/linux-6.3-rc2/net/core/
A Ddatagram.c629 unsigned long truesize; in __zerocopy_sg_from_iter() local
642 truesize = PAGE_ALIGN(copied + start); in __zerocopy_sg_from_iter()
645 skb->truesize += truesize; in __zerocopy_sg_from_iter()
647 sk_wmem_queued_add(sk, truesize); in __zerocopy_sg_from_iter()
649 sk_mem_charge(sk, truesize); in __zerocopy_sg_from_iter()
651 refcount_add(truesize, &skb->sk->sk_wmem_alloc); in __zerocopy_sg_from_iter()
A Dgro.c218 delta_truesize = skb->truesize - new_truesize; in skb_gro_receive()
220 skb->truesize = new_truesize; in skb_gro_receive()
250 delta_truesize = skb->truesize - new_truesize; in skb_gro_receive()
251 skb->truesize = new_truesize; in skb_gro_receive()
259 delta_truesize = skb->truesize; in skb_gro_receive()
283 p->truesize += delta_truesize; in skb_gro_receive()
287 lp->truesize += delta_truesize; in skb_gro_receive()
A Dskbuff.c809 skb->truesize += truesize; in skb_add_rx_frag()
814 unsigned int truesize) in skb_coalesce_rx_frag() argument
821 skb->truesize += truesize; in skb_coalesce_rx_frag()
1353 C(truesize); in __skb_clone()
1377 n->truesize = first->truesize; in alloc_skb_for_msg()
1928 n->truesize += skb->data_len; in __pskb_copy_fclone()
2173 skb->truesize += delta; in skb_expand_head()
3641 sum += skb->truesize; in skb_rbtree_purge()
4262 skb->truesize = skb->truesize - delta_truesize; in skb_segment_list()
4626 swap(tail->truesize, head_skb->truesize); in skb_segment()
[all …]
/linux-6.3-rc2/include/trace/events/
A Dnet.h184 __field( unsigned int, truesize )
210 __entry->truesize = skb->truesize;
223 __entry->data_len, __entry->truesize,
A Dsock.h79 __field(unsigned int, truesize)
85 __entry->truesize = skb->truesize;
90 __entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_txrx.c1259 unsigned int truesize = iavf_rx_pg_size(rx_ring) / 2; in iavf_add_rx_frag() local
1268 rx_buffer->page_offset, size, truesize); in iavf_add_rx_frag()
1272 rx_buffer->page_offset ^= truesize; in iavf_add_rx_frag()
1274 rx_buffer->page_offset += truesize; in iavf_add_rx_frag()
1327 unsigned int truesize = SKB_DATA_ALIGN(size); in iavf_construct_skb() local
1358 size, truesize); in iavf_construct_skb()
1362 rx_buffer->page_offset ^= truesize; in iavf_construct_skb()
1364 rx_buffer->page_offset += truesize; in iavf_construct_skb()
1403 skb = napi_build_skb(va - IAVF_SKB_PAD, truesize); in iavf_build_skb()
1413 rx_buffer->page_offset ^= truesize; in iavf_build_skb()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_txrx.c1623 unsigned int truesize; in i40e_rx_frame_truesize() local
1628 truesize = rx_ring->rx_offset ? in i40e_rx_frame_truesize()
1633 return truesize; in i40e_rx_frame_truesize()
2051 rx_buffer->page_offset ^= truesize; in i40e_add_rx_frag()
2053 rx_buffer->page_offset += truesize; in i40e_add_rx_frag()
2158 size, truesize); in i40e_construct_skb()
2162 rx_buffer->page_offset ^= truesize; in i40e_construct_skb()
2217 rx_buffer->page_offset ^= truesize; in i40e_build_skb()
2219 rx_buffer->page_offset += truesize; in i40e_build_skb()
2348 rx_buffer->page_offset ^= truesize; in i40e_rx_buffer_flip()
[all …]
/linux-6.3-rc2/drivers/staging/qlge/
A DTODO7 * truesize accounting is incorrect (ex: a 9000B frame has skb->truesize 10280
/linux-6.3-rc2/drivers/net/
A Dvirtio_net.c477 skb = build_skb(buf, truesize); in page_to_skb()
530 frag_size, truesize); in page_to_skb()
1005 unsigned int truesize, cur_frag_size; in virtnet_build_xdp_buff_mrg() local
1055 cur_frag_size = truesize; in virtnet_build_xdp_buff_mrg()
1104 if (unlikely(len > truesize - room)) { in receive_mergeable()
1140 frame_sz = truesize; in receive_mergeable()
1276 if (unlikely(len > truesize - room)) { in receive_mergeable()
1294 head_skb->truesize += nskb->truesize; in receive_mergeable()
1300 head_skb->truesize += truesize; in receive_mergeable()
1306 len, truesize); in receive_mergeable()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A Ddma.c29 void *data, u32 seg_len, u32 truesize, struct page *p) in mt7601u_rx_skb_from_seg() argument
63 frag, truesize); in mt7601u_rx_skb_from_seg()
82 u32 fce_info, truesize = seg_len; in mt7601u_rx_process_seg() local
104 skb = mt7601u_rx_skb_from_seg(dev, rxwi, data, seg_len, truesize, p); in mt7601u_rx_process_seg()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/
A Dixgbevf_main.c842 rx_buffer->page_offset ^= truesize; in ixgbevf_add_rx_frag()
844 rx_buffer->page_offset += truesize; in ixgbevf_add_rx_frag()
903 size, truesize); in ixgbevf_construct_skb()
905 rx_buffer->page_offset ^= truesize; in ixgbevf_construct_skb()
907 rx_buffer->page_offset += truesize; in ixgbevf_construct_skb()
959 rx_buffer->page_offset ^= truesize; in ixgbevf_build_skb()
961 rx_buffer->page_offset += truesize; in ixgbevf_build_skb()
1090 unsigned int truesize; in ixgbevf_rx_frame_truesize() local
1100 return truesize; in ixgbevf_rx_frame_truesize()
1110 rx_buffer->page_offset ^= truesize; in ixgbevf_rx_buffer_flip()
[all …]
/linux-6.3-rc2/net/sctp/
A Dulpevent.c59 sctp_ulpevent_init(event, msg_flags, skb->truesize); in sctp_ulpevent_new()
138 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_assoc_change()
404 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_remote_error()
455 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_send_failed()
551 sctp_ulpevent_init(event, MSG_NOTIFICATION, skb->truesize); in sctp_ulpevent_make_send_failed_event()
/linux-6.3-rc2/net/phonet/
A Dpep-gprs.c104 rskb->truesize += rskb->len; in gprs_recv()
113 skb->truesize -= flen; in gprs_recv()

Completed in 77 milliseconds

1234567