Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/sound/pci/emu10k1/
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()
/kernel/linux/linux-5.10/net/atm/
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()
Dpppoatm.c193 atm_return(atmvcc, skb->truesize); in pppoatm_push()
323 !pppoatm_may_send(pvcc, n->truesize)) { in pppoatm_send()
333 } else if (!pppoatm_may_send(pvcc, skb->truesize)) in pppoatm_send()
338 if (!pppoatm_may_send(pvcc, skb->truesize)) in pppoatm_send()
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()
/kernel/linux/linux-5.10/sound/isa/sb/
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()
/kernel/linux/linux-5.10/include/linux/
Datmdev.h246 refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in atm_account_tx()
247 ATM_SKB(skb)->acct_truesize = skb->truesize; in atm_account_tx()
251 static inline void atm_force_charge(struct atm_vcc *vcc,int truesize) in atm_force_charge() argument
253 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge()
257 static inline void atm_return(struct atm_vcc *vcc,int truesize) in atm_return() argument
259 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return()
287 int atm_charge(struct atm_vcc *vcc,int truesize);
/kernel/linux/linux-5.10/net/ipv4/
Dinet_fragment.c245 sum += skb->truesize; in inet_frag_rbtree_purge()
438 delta = -head->truesize; in inet_frag_reasm_prepare()
444 delta += head->truesize; in inet_frag_reasm_prepare()
465 head->truesize += clone->truesize; in inet_frag_reasm_prepare()
468 add_frag_mem_limit(q->fqdir, clone->truesize); in inet_frag_reasm_prepare()
494 sum_truesize = head->truesize; in inet_frag_reasm_finish()
505 sum_truesize += fp->truesize; in inet_frag_reasm_finish()
521 head->truesize += fp->truesize; in inet_frag_reasm_finish()
566 sub_frag_mem_limit(q->fqdir, head->truesize); in inet_frag_pull_head()
Dtcp_offload.c137 sum_truesize += skb->truesize; in tcp_gso_segment()
156 sum_truesize += skb->truesize; in tcp_gso_segment()
157 delta = sum_truesize - gso_skb->truesize; in tcp_gso_segment()
Dtcp_output.c1148 WARN_ON(refcount_sub_and_test(skb->truesize - 1, &sk->sk_wmem_alloc)); in tcp_wfree()
1324 refcount_add(skb->truesize, &sk->sk_wmem_alloc); in __tcp_transmit_skb()
1439 sk_wmem_queued_add(sk, skb->truesize); in tcp_queue_skb()
1440 sk_mem_charge(sk, skb->truesize); in tcp_queue_skb()
1573 sk_wmem_queued_add(sk, buff->truesize); in tcp_fragment()
1574 sk_mem_charge(sk, buff->truesize); in tcp_fragment()
1576 buff->truesize += nlen; in tcp_fragment()
1577 skb->truesize -= nlen; in tcp_fragment()
1682 skb->truesize -= delta_truesize; in tcp_trim_head()
2129 sk_wmem_queued_add(sk, buff->truesize); in tso_fragment()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dsock.h79 __field(unsigned int, truesize)
85 __entry->truesize = skb->truesize;
90 __entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
Dnet.h184 __field( unsigned int, truesize )
210 __entry->truesize = skb->truesize;
223 __entry->data_len, __entry->truesize,
/kernel/linux/linux-5.10/net/core/
Ddatagram.c629 unsigned long truesize; in __zerocopy_sg_from_iter() local
643 truesize = PAGE_ALIGN(copied + start); in __zerocopy_sg_from_iter()
646 skb->truesize += truesize; in __zerocopy_sg_from_iter()
648 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()
Dskbuff.c227 skb->truesize = SKB_TRUESIZE(size); in __alloc_skb()
274 skb->truesize = SKB_TRUESIZE(size); in __build_skb_around()
557 int size, unsigned int truesize) in skb_add_rx_frag() argument
562 skb->truesize += truesize; in skb_add_rx_frag()
567 unsigned int truesize) in skb_coalesce_rx_frag() argument
574 skb->truesize += truesize; in skb_coalesce_rx_frag()
1012 C(truesize); in __skb_clone()
1036 n->truesize = first->truesize; in alloc_skb_for_msg()
1574 n->truesize += skb->data_len; in __pskb_copy_fclone()
1697 skb->truesize += size - osize; in pskb_expand_head()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1234 unsigned int truesize = iavf_rx_pg_size(rx_ring) / 2; in iavf_add_rx_frag() local
1236 unsigned int truesize = SKB_DATA_ALIGN(size + iavf_rx_offset(rx_ring)); in iavf_add_rx_frag()
1243 rx_buffer->page_offset, size, truesize); in iavf_add_rx_frag()
1247 rx_buffer->page_offset ^= truesize; in iavf_add_rx_frag()
1249 rx_buffer->page_offset += truesize; in iavf_add_rx_frag()
1301 unsigned int truesize = iavf_rx_pg_size(rx_ring) / 2; in iavf_construct_skb() local
1303 unsigned int truesize = SKB_DATA_ALIGN(size); in iavf_construct_skb() local
1334 size, truesize); in iavf_construct_skb()
1338 rx_buffer->page_offset ^= truesize; in iavf_construct_skb()
1340 rx_buffer->page_offset += truesize; in iavf_construct_skb()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_txrx.c515 unsigned int truesize; in ice_rx_frame_truesize() local
518 truesize = ice_rx_pg_size(rx_ring) / 2; /* Must be power-of-2 */ in ice_rx_frame_truesize()
520 truesize = ice_rx_offset(rx_ring) ? in ice_rx_frame_truesize()
525 return truesize; in ice_rx_frame_truesize()
822 unsigned int truesize = SKB_DATA_ALIGN(size + ice_rx_offset(rx_ring)); in ice_add_rx_frag() local
824 unsigned int truesize = ice_rx_pg_size(rx_ring) / 2; in ice_add_rx_frag()
830 rx_buf->page_offset, size, truesize); in ice_add_rx_frag()
833 ice_rx_buf_adjust_pg_offset(rx_buf, truesize); in ice_add_rx_frag()
919 unsigned int truesize = ice_rx_pg_size(rx_ring) / 2; in ice_build_skb() local
921 unsigned int truesize = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)) + in ice_build_skb() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1484 unsigned int truesize; in i40e_rx_frame_truesize() local
1487 truesize = i40e_rx_pg_size(rx_ring) / 2; /* Must be power-of-2 */ in i40e_rx_frame_truesize()
1489 truesize = i40e_rx_offset(rx_ring) ? in i40e_rx_frame_truesize()
1494 return truesize; in i40e_rx_frame_truesize()
1923 unsigned int truesize = i40e_rx_pg_size(rx_ring) / 2; in i40e_add_rx_frag() local
1925 unsigned int truesize = SKB_DATA_ALIGN(size + i40e_rx_offset(rx_ring)); in i40e_add_rx_frag()
1929 rx_buffer->page_offset, size, truesize); in i40e_add_rx_frag()
1933 rx_buffer->page_offset ^= truesize; in i40e_add_rx_frag()
1935 rx_buffer->page_offset += truesize; in i40e_add_rx_frag()
1992 unsigned int truesize = i40e_rx_pg_size(rx_ring) / 2; in i40e_construct_skb() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/qlge/
DTODO7 * truesize accounting is incorrect (ex: a 9000B frame has skb->truesize 10280
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
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()
81 u32 fce_info, truesize = seg_len; in mt7601u_rx_process_seg() local
103 skb = mt7601u_rx_skb_from_seg(dev, rxwi, data, seg_len, truesize, p); in mt7601u_rx_process_seg()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c838 unsigned int truesize = ixgbevf_rx_pg_size(rx_ring) / 2; in ixgbevf_add_rx_frag() local
840 unsigned int truesize = ring_uses_build_skb(rx_ring) ? in ixgbevf_add_rx_frag()
845 rx_buffer->page_offset, size, truesize); in ixgbevf_add_rx_frag()
847 rx_buffer->page_offset ^= truesize; in ixgbevf_add_rx_frag()
849 rx_buffer->page_offset += truesize; in ixgbevf_add_rx_frag()
861 unsigned int truesize = ixgbevf_rx_pg_size(rx_ring) / 2; in ixgbevf_construct_skb() local
863 unsigned int truesize = SKB_DATA_ALIGN(xdp->data_end - in ixgbevf_construct_skb() local
908 size, truesize); in ixgbevf_construct_skb()
910 rx_buffer->page_offset ^= truesize; in ixgbevf_construct_skb()
912 rx_buffer->page_offset += truesize; in ixgbevf_construct_skb()
[all …]
/kernel/linux/linux-5.10/net/phonet/
Dpep-gprs.c102 rskb->truesize += rskb->len; in gprs_recv()
111 skb->truesize -= flen; in gprs_recv()
/kernel/linux/linux-5.10/net/sctp/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
Dislpci_eth.c50 skb, skb->data, skb->len, skb->truesize); in islpci_eth_cleanup_transmit()
321 skb->len, offset, skb->truesize); in islpci_eth_receive()
427 skb, skb->data, skb->len, index, skb->truesize); in islpci_eth_receive()
/kernel/linux/linux-5.10/drivers/net/
Dvirtio_net.c361 static void *mergeable_len_to_ctx(unsigned int truesize, in mergeable_len_to_ctx() argument
364 return (void *)(unsigned long)((headroom << MRG_CTX_HEADER_SHIFT) | truesize); in mergeable_len_to_ctx()
381 unsigned int len, unsigned int truesize, in page_to_skb() argument
431 skb_add_rx_frag(skb, 0, page, offset, len, truesize); in page_to_skb()
452 frag_size, truesize); in page_to_skb()
850 unsigned int truesize = mergeable_ctx_to_truesize(ctx); in receive_mergeable() local
859 if (unlikely(len > truesize)) { in receive_mergeable()
884 frame_sz = headroom ? PAGE_SIZE : truesize; in receive_mergeable()
992 head_skb = page_to_skb(vi, rq, page, offset, len, truesize, !xdp_prog, in receive_mergeable()
1014 truesize = mergeable_ctx_to_truesize(ctx); in receive_mergeable()
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
Dsfnt_info.h129 unsigned int truesize; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
Dsfnt_info.h119 unsigned int truesize; member

1234567