Searched refs:trailer (Results 1 - 25 of 53) sorted by path

123

/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h41 u_short byte_count; /* excluding header/trailer */
116 u_char trailer[6]; /* 0xfe 0xfe 0x00 0x00 0x00 0x00 */ member in struct:Symbios_nvram
/linux-master/arch/s390/boot/
H A Dhead.S70 jz .Lagain1 # skip data set trailer
H A Dvmlinux.lds.S133 . += SB_TRAILER_SIZE; /* make sure .sb.trailer does not overwrite the previous section */
135 .sb.trailer : {
/linux-master/arch/s390/kernel/
H A Dperf_cpum_cf.c92 static unsigned int cfdiag_cpu_speed; /* CPU speed for CF_DIAG trailer */
332 * All counter sets are followed by a 64 byte trailer.
333 * The trailer consists of a:
353 struct cf_trailer_entry { /* CPU-M CF_DIAG trailer (64 byte) */
388 /* Create the trailer data at the end of a page. */
513 * The last 64 byte host an artificial trailer entry.
518 struct cf_trailer_entry *trailer; local
523 sz -= sizeof(*trailer); /* Always room for trailer */
533 trailer
[all...]
/linux-master/drivers/atm/
H A Diphase.c1309 struct cpcs_trailer *trailer; local
1331 trailer = (struct cpcs_trailer*)((u_char *)skb->data +
1332 skb->len - sizeof(*trailer));
1333 length = swap_byte_order(trailer->length);
1338 IF_ERR(printk("rx_dle_intr: Bad AAL5 trailer %d (skb len %d)",
1707 /* Revenge of the 2 dle (skb + trailer) used in ia_pkt_tx() */
2894 struct cpcs_trailer *trailer; local
2979 trailer = iadev->tx_buf[desc-1].cpcs;
2982 trailer->control = 0;
2984 trailer
[all...]
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw.h275 SIW_SEND_SHORT_FPDU/* send whole FPDU hdr|data|trailer at once */
282 SIW_GET_TRAILER/* await new trailer or within trailer */
294 struct mpa_trailer trailer; member in struct:siw_rx_stream
300 * trailer information (CRC + possibly padding).
302 * current FPDU part (hdr, data, trailer).
386 struct mpa_trailer trailer; member in struct:siw_iwarp_tx
H A Dsiw_qp_rx.c955 u8 *tbuf = (u8 *)&srx->trailer.crc - srx->pad;
979 crc_in = (__force __wsum)srx->trailer.crc;
H A Dsiw_qp_tx.c315 * trailer checksum segment to be pushed after user data.
421 * and trailer:
427 * Write out iov referencing hdr, data and trailer of current FPDU.
565 /* trailer */
567 iov[seg].iov_base = &c_tx->trailer.pad[4 - c_tx->pad];
570 iov[seg].iov_base = &c_tx->trailer.pad[c_tx->ctrl_sent];
575 *(u32 *)c_tx->trailer.pad = 0;
578 (u8 *)&c_tx->trailer.crc - c_tx->pad,
582 c_tx->trailer.crc = 0;
584 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)&c_tx->trailer
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c3343 struct bnxt_ucode_trailer *trailer; local
3353 trailer = (struct bnxt_ucode_trailer *)(fw_data + (fw_size -
3354 sizeof(*trailer)));
3355 if (trailer->sig != cpu_to_le32(BNXT_UCODE_TRAILER_SIGNATURE)) {
3356 netdev_err(dev, "Invalid microcode trailer signature: %08X\n",
3357 le32_to_cpu(trailer->sig));
3360 if (le16_to_cpu(trailer->dir_type) != dir_type) {
3362 dir_type, le16_to_cpu(trailer->dir_type));
3365 if (le16_to_cpu(trailer->trailer_length) <
3367 netdev_err(dev, "Invalid microcode trailer lengt
[all...]
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_wed_mcu.c264 const struct mtk_wed_fw_trailer *trailer; local
267 trailer_ptr = fw->data + fw->size - sizeof(*trailer);
268 trailer = (const struct mtk_wed_fw_trailer *)trailer_ptr;
269 region_ptr = trailer_ptr - trailer->num_region * sizeof(*fw_region);
314 const struct mtk_wed_fw_trailer *trailer; local
359 trailer = (void *)(fw->data + fw->size -
363 trailer->fw_ver, trailer->build_date);
365 trailer->chip_id, trailer
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c618 memset(&cseg->trailer, 0, sizeof(cseg->trailer));
619 memset(eseg, 0, sizeof(*eseg) - sizeof(eseg->trailer));
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c1006 mlx5_fc_query_cached(ipsec_rule->trailer.fc, &bytes, &packets, &lastuse);
H A Dipsec.h203 struct mlx5e_ipsec_drop trailer; member in struct:mlx5e_ipsec_rule
H A Dipsec_fs.c224 sa_entry->ipsec_rule.trailer.fc = flow_counter;
235 sa_entry->ipsec_rule.trailer.rule = rule;
241 mlx5_fc_destroy(mdev, sa_entry->ipsec_rule.trailer.fc);
2195 mlx5_del_flow_rules(ipsec_rule->trailer.rule);
2196 mlx5_fc_destroy(mdev, ipsec_rule->trailer.fc);
H A Dipsec_rxtx.c248 eseg->trailer |= cpu_to_be32(MLX5_ETH_WQE_INSERT_TRAILER);
251 eseg->trailer |= (l3_proto == IPPROTO_ESP) ?
255 eseg->trailer |= (l3_proto == IPPROTO_ESP) ?
/linux-master/drivers/net/ethernet/via/
H A Dvia-rhine.c2012 u8 *trailer = (u8 *)skb->data + ((data_size + 3) & ~3) + 2; local
2013 return be16_to_cpup((__be16 *)trailer);
/linux-master/drivers/net/
H A Dmacsec.c586 struct sk_buff *trailer; local
661 ret = skb_cow_data(skb, 0, &trailer);
877 struct sk_buff *trailer; local
889 ret = skb_cow_data(skb, 0, &trailer);
/linux-master/drivers/net/usb/
H A Dnet1080.c342 struct nc_trailer *trailer; local
379 trailer = (struct nc_trailer *)
380 (skb->data + skb->len - sizeof *trailer);
381 skb_trim(skb, skb->len - sizeof *trailer);
398 if (header->packet_id != get_unaligned(&trailer->packet_id)) {
402 le16_to_cpu(trailer->packet_id));
418 struct nc_trailer *trailer = NULL; local
461 /* maybe pad; then trailer */
462 if (!((skb->len + sizeof *trailer) & 0x01))
464 trailer
[all...]
/linux-master/drivers/net/wireguard/
H A Dreceive.c245 struct sk_buff *trailer; local
268 num_frags = skb_cow_data(skb, 0, &trailer);
H A Dsend.c167 struct sk_buff *trailer; local
181 num_frags = skb_cow_data(skb, trailer_len, &trailer);
188 memset(skb_tail_pointer(trailer), 0, padding_len);
209 pskb_put(skb, trailer, trailer_len);
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dbmi.c458 u8 trailer[4] = {}; local
473 memcpy(trailer, buffer + head_len, trailer_len);
484 ret = ath10k_bmi_lz_data(ar, trailer, 4);
H A Dhtc.c424 /* multiple records may be present in a trailer */
430 ath10k_dbg_dump(ar, ATH10K_DBG_HTC, "htc rx bad trailer", "",
486 /* get flags to check for trailer */
489 u8 *trailer; local
496 ath10k_warn(ar, "Invalid trailer length: %d\n",
501 trailer = (u8 *)hdr;
502 trailer += sizeof(*hdr);
503 trailer += payload_len;
504 trailer -= trailer_len;
505 status = ath10k_htc_process_trailer(htc, trailer,
[all...]
H A Dsdio.c390 u8 *trailer; local
394 trailer = skb->data + skb->len - htc_hdr->trailer_len;
399 trailer,
H A Dusb.c299 u8 *trailer; local
323 trailer = skb->data + sizeof(*htc_hdr) + payload_len -
327 trailer,
338 /* strip off the trailer from the skb since it should not
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dhtc.c235 /* multiple records may be present in a trailer */
324 /* get flags to check for trailer */
332 u8 *trailer; local
339 ath11k_warn(ab, "Invalid trailer length: %d\n",
344 trailer = (u8 *)hdr;
345 trailer += sizeof(*hdr);
346 trailer += payload_len;
347 trailer -= trailer_len;
348 status = ath11k_htc_process_trailer(htc, trailer,
357 /* zero length packet with trailer dat
[all...]

Completed in 520 milliseconds

123