Home
last modified time | relevance | path

Searched refs:pad_size (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/staging/media/meson/vdec/
Desparser.c192 u32 pad_size = 0; in esparser_pad_start_code() local
196 pad_size = ESPARSER_MIN_PACKET_SIZE - payload_size; in esparser_pad_start_code()
197 memset(vaddr + payload_size, 0, pad_size); in esparser_pad_start_code()
200 if ((payload_size + pad_size + SEARCH_PATTERN_LEN) > in esparser_pad_start_code()
203 return pad_size; in esparser_pad_start_code()
206 memset(vaddr + payload_size + pad_size, 0, SEARCH_PATTERN_LEN); in esparser_pad_start_code()
207 vaddr[payload_size + pad_size] = 0x00; in esparser_pad_start_code()
208 vaddr[payload_size + pad_size + 1] = 0x00; in esparser_pad_start_code()
209 vaddr[payload_size + pad_size + 2] = 0x01; in esparser_pad_start_code()
210 vaddr[payload_size + pad_size + 3] = 0xff; in esparser_pad_start_code()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_lwt_seg6local.c119 uint32_t *tlv_off, uint32_t *pad_size, in is_valid_tlv_boundary() argument
149 *pad_size = tlv.len + sizeof(tlv); in is_valid_tlv_boundary()
183 uint32_t pad_size = 0; in add_tlv() local
193 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in add_tlv()
217 return update_tlv_pad(skb, new_pad, pad_size, pad_off); in add_tlv()
228 uint32_t pad_size = 0; in delete_tlv() local
234 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in delete_tlv()
255 return update_tlv_pad(skb, new_pad, pad_size, pad_off); in delete_tlv()
Dtest_seg6_loop.c120 uint32_t *pad_size, in is_valid_tlv_boundary() argument
152 *pad_size = tlv.len + sizeof(tlv); in is_valid_tlv_boundary()
186 uint32_t pad_size = 0; in add_tlv() local
196 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in add_tlv()
220 return update_tlv_pad(skb, new_pad, pad_size, pad_off); in add_tlv()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h120 int page_size, pad_size; in iavf_compute_pad() local
123 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in iavf_compute_pad()
125 return pad_size; in iavf_compute_pad()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h134 int page_size, pad_size; in i40e_compute_pad() local
137 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in i40e_compute_pad()
139 return pad_size; in i40e_compute_pad()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb.h168 int page_size, pad_size; in igb_compute_pad() local
171 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in igb_compute_pad()
173 return pad_size; in igb_compute_pad()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c101 __be32 pad_size = cpu_to_be32((1 << rq->mpwqe.page_shift) - in mlx5e_xsk_alloc_rx_mpwqe() local
117 .bcount = pad_size, in mlx5e_xsk_alloc_rx_mpwqe()
/linux-6.6.21/drivers/bluetooth/
Dbtmtksdio.c451 int err, i, pad_size; in btmtksdio_rx_packet() local
519 pad_size = skb->len - (&pkts[i])->hlen - dlen; in btmtksdio_rx_packet()
522 if (pad_size < 0) { in btmtksdio_rx_packet()
528 skb_trim(skb, skb->len - pad_size); in btmtksdio_rx_packet()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h94 int page_size, pad_size; in ixgbe_compute_pad() local
97 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in ixgbe_compute_pad()
99 return pad_size; in ixgbe_compute_pad()
/linux-6.6.21/drivers/scsi/aic94xx/
Daic94xx_sds.c376 __le32 pad_size; member
663 *size = le32_to_cpu(de->pad_size); in asd_find_flash_de()
/linux-6.6.21/drivers/target/
Dtarget_core_user.c963 size_t pad_size = head_to_end(cmd_head, udev->cmdr_size); in ring_insert_padding() local
967 tcmu_hdr_set_len(&hdr->len_op, pad_size); in ring_insert_padding()
973 UPDATE_HEAD(mb->cmd_head, pad_size, udev->cmdr_size); in ring_insert_padding()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dverbs.c958 u8 pad_size = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_pio() local
960 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1407 u32 pad_size; member
Dbe_cmds.c2944 img_size = le32_to_cpu(fsec->fsec_entry[i].pad_size); in be_flash_skyhawk()