| /Linux-v5.15/net/dsa/ |
| D | tag_trailer.c | 16 u8 *trailer; in trailer_xmit() local 18 trailer = skb_put(skb, 4); in trailer_xmit() 19 trailer[0] = 0x80; in trailer_xmit() 20 trailer[1] = 1 << dp->index; in trailer_xmit() 21 trailer[2] = 0x10; in trailer_xmit() 22 trailer[3] = 0x00; in trailer_xmit() 29 u8 *trailer; in trailer_rcv() local 35 trailer = skb_tail_pointer(skb) - 4; in trailer_rcv() 36 if (trailer[0] != 0x80 || (trailer[1] & 0xf8) != 0x00 || in trailer_rcv() 37 (trailer[2] & 0xef) != 0x00 || trailer[3] != 0x00) in trailer_rcv() [all …]
|
| D | tag_xrs700x.c | 15 u8 *trailer; in xrs700x_xmit() local 17 trailer = skb_put(skb, 1); in xrs700x_xmit() 18 trailer[0] = BIT(dp->index); in xrs700x_xmit() 23 trailer[0] |= BIT(partner->index); in xrs700x_xmit() 31 u8 *trailer; in xrs700x_rcv() local 33 trailer = skb_tail_pointer(skb) - 1; in xrs700x_rcv() 35 source_port = ffs((int)trailer[0]) - 1; in xrs700x_rcv()
|
| D | Kconfig | 145 tristate "Tag driver for switches using a trailer tag" 154 Arrow SpeedChips XRS700x switches that use a single byte tag trailer.
|
| /Linux-v5.15/drivers/net/usb/ |
| D | net1080.c | 342 struct nc_trailer *trailer; in net1080_rx_fixup() local 379 trailer = (struct nc_trailer *) in net1080_rx_fixup() 380 (skb->data + skb->len - sizeof *trailer); in net1080_rx_fixup() 381 skb_trim(skb, skb->len - sizeof *trailer); in net1080_rx_fixup() 398 if (header->packet_id != get_unaligned(&trailer->packet_id)) { in net1080_rx_fixup() 402 le16_to_cpu(trailer->packet_id)); in net1080_rx_fixup() 418 struct nc_trailer *trailer = NULL; in net1080_tx_fixup() local 462 if (!((skb->len + sizeof *trailer) & 0x01)) in net1080_tx_fixup() 464 trailer = skb_put(skb, sizeof *trailer); in net1080_tx_fixup() 465 put_unaligned(header->packet_id, &trailer->packet_id); in net1080_tx_fixup()
|
| /Linux-v5.15/net/hsr/ |
| D | hsr_forward.c | 148 static void prp_set_lan_id(struct prp_rct *trailer, in prp_set_lan_id() argument 160 set_prp_lan_id(trailer, lane_id); in prp_set_lan_id() 168 struct prp_rct *trailer; in prp_fill_rct() local 181 trailer = (struct prp_rct *)skb_put(skb, HSR_HLEN); in prp_fill_rct() 185 prp_set_lan_id(trailer, port); in prp_fill_rct() 186 set_prp_LSDU_size(trailer, lsdu_size); in prp_fill_rct() 187 trailer->sequence_nr = htons(frame->sequence_nr); in prp_fill_rct() 188 trailer->PRP_suffix = htons(ETH_P_PRP); in prp_fill_rct() 287 struct prp_rct *trailer = skb_get_PRP_rct(frame->skb_prp); in prp_create_tagged_frame() local 289 if (trailer) { in prp_create_tagged_frame() [all …]
|
| /Linux-v5.15/fs/ocfs2/ |
| D | dir.c | 136 struct ocfs2_dir_block_trailer *trailer; in ocfs2_init_dir_trailer() local 138 trailer = ocfs2_trailer_from_bh(bh, inode->i_sb); in ocfs2_init_dir_trailer() 139 strcpy(trailer->db_signature, OCFS2_DIR_TRAILER_SIGNATURE); in ocfs2_init_dir_trailer() 140 trailer->db_compat_rec_len = in ocfs2_init_dir_trailer() 142 trailer->db_parent_dinode = cpu_to_le64(OCFS2_I(inode)->ip_blkno); in ocfs2_init_dir_trailer() 143 trailer->db_blkno = cpu_to_le64(bh->b_blocknr); in ocfs2_init_dir_trailer() 144 trailer->db_free_rec_len = cpu_to_le16(rec_len); in ocfs2_init_dir_trailer() 157 struct ocfs2_dir_block_trailer *trailer; in ocfs2_dx_dir_link_trailer() local 165 trailer = ocfs2_trailer_from_bh(dirdata_bh, dir->i_sb); in ocfs2_dx_dir_link_trailer() 168 trailer->db_free_next = dx_root->dr_free_blk; in ocfs2_dx_dir_link_trailer() [all …]
|
| /Linux-v5.15/drivers/net/wireguard/ |
| D | send.c | 167 struct sk_buff *trailer; in encrypt_packet() local 181 num_frags = skb_cow_data(skb, trailer_len, &trailer); in encrypt_packet() 188 memset(skb_tail_pointer(trailer), 0, padding_len); in encrypt_packet() 209 pskb_put(skb, trailer, trailer_len); in encrypt_packet()
|
| /Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
| D | htc.c | 292 u8 *trailer; in ath11k_htc_rx_completion_handler() local 304 trailer = (u8 *)hdr; in ath11k_htc_rx_completion_handler() 305 trailer += sizeof(*hdr); in ath11k_htc_rx_completion_handler() 306 trailer += payload_len; in ath11k_htc_rx_completion_handler() 307 trailer -= trailer_len; in ath11k_htc_rx_completion_handler() 308 status = ath11k_htc_process_trailer(htc, trailer, in ath11k_htc_rx_completion_handler()
|
| D | htc.h | 166 struct ath11k_htc_record trailer[0]; member
|
| /Linux-v5.15/fs/cifs/ |
| D | rfc1002pdu.h | 45 } __attribute__((packed)) trailer; member
|
| /Linux-v5.15/net/ipv6/ |
| D | esp6.c | 484 struct sk_buff *trailer; in esp6_output_head() local 497 trailer = skb; in esp6_output_head() 498 tail = skb_tail_pointer(trailer); in esp6_output_head() 550 nfrags = skb_cow_data(skb, tailen, &trailer); in esp6_output_head() 553 tail = skb_tail_pointer(trailer); in esp6_output_head() 558 pskb_put(skb, trailer, tailen); in esp6_output_head() 921 struct sk_buff *trailer; in esp6_input() local 964 nfrags = skb_cow_data(skb, 0, &trailer); in esp6_input()
|
| D | ah6.c | 330 struct sk_buff *trailer; in ah6_output() local 346 err = skb_cow_data(skb, 0, &trailer); in ah6_output() 516 struct sk_buff *trailer; in ah6_input() local 558 err = skb_cow_data(skb, 0, &trailer); in ah6_input()
|
| /Linux-v5.15/net/ipv4/ |
| D | esp4.c | 447 struct sk_buff *trailer; in esp_output_head() local 461 trailer = skb; in esp_output_head() 462 tail = skb_tail_pointer(trailer); in esp_output_head() 514 nfrags = skb_cow_data(skb, tailen, &trailer); in esp_output_head() 517 tail = skb_tail_pointer(trailer); in esp_output_head() 522 pskb_put(skb, trailer, tailen); in esp_output_head() 883 struct sk_buff *trailer; in esp_input() local 922 err = skb_cow_data(skb, 0, &trailer); in esp_input()
|
| D | ah4.c | 153 struct sk_buff *trailer; in ah_output() local 168 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_output() 311 struct sk_buff *trailer; in ah_input() local 355 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_input()
|
| /Linux-v5.15/drivers/usb/atm/ |
| D | usbatm.c | 486 u8 *trailer = target + ATM_CELL_SIZE - ATM_AAL5_TRAILER; in usbatm_write_cells() local 489 trailer[2] = ctrl->len >> 8; in usbatm_write_cells() 490 trailer[3] = ctrl->len; in usbatm_write_cells() 494 trailer[4] = ctrl->crc >> 24; in usbatm_write_cells() 495 trailer[5] = ctrl->crc >> 16; in usbatm_write_cells() 496 trailer[6] = ctrl->crc >> 8; in usbatm_write_cells() 497 trailer[7] = ctrl->crc; in usbatm_write_cells()
|
| /Linux-v5.15/drivers/net/wireless/ath/ath10k/ |
| D | bmi.c | 457 u8 trailer[4] = {}; in ath10k_bmi_fast_download() local 472 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download() 483 ret = ath10k_bmi_lz_data(ar, trailer, 4); in ath10k_bmi_fast_download()
|
| D | htc.c | 479 u8 *trailer; in ath10k_htc_rx_completion_handler() local 491 trailer = (u8 *)hdr; in ath10k_htc_rx_completion_handler() 492 trailer += sizeof(*hdr); in ath10k_htc_rx_completion_handler() 493 trailer += payload_len; in ath10k_htc_rx_completion_handler() 494 trailer -= trailer_len; in ath10k_htc_rx_completion_handler() 495 status = ath10k_htc_process_trailer(htc, trailer, in ath10k_htc_rx_completion_handler()
|
| D | usb.c | 299 u8 *trailer; in ath10k_usb_rx_complete() local 323 trailer = skb->data + sizeof(*htc_hdr) + payload_len - in ath10k_usb_rx_complete() 327 trailer, in ath10k_usb_rx_complete()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | ipsec_rxtx.c | 336 eseg->trailer |= cpu_to_be32(MLX5_ETH_WQE_INSERT_TRAILER); in mlx5e_ipsec_tx_build_eseg() 339 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg() 343 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
|
| /Linux-v5.15/tools/vm/ |
| D | slabinfo.c | 243 char trailer = 0; in store_size() local 249 trailer = 'G'; in store_size() 252 trailer = 'M'; in store_size() 255 trailer = 'K'; in store_size() 261 if (trailer) { in store_size() 262 buffer[n] = trailer; in store_size()
|
| /Linux-v5.15/drivers/infiniband/sw/siw/ |
| D | siw_qp_tx.c | 570 iov[seg].iov_base = &c_tx->trailer.pad[4 - c_tx->pad]; in siw_tx_hdt() 573 iov[seg].iov_base = &c_tx->trailer.pad[c_tx->ctrl_sent]; in siw_tx_hdt() 578 *(u32 *)c_tx->trailer.pad = 0; in siw_tx_hdt() 581 (u8 *)&c_tx->trailer.crc - c_tx->pad, in siw_tx_hdt() 585 c_tx->trailer.crc = 0; in siw_tx_hdt() 587 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)&c_tx->trailer.crc); in siw_tx_hdt()
|
| D | siw.h | 292 struct mpa_trailer trailer; member 386 struct mpa_trailer trailer; member
|
| /Linux-v5.15/drivers/scsi/lpfc/ |
| D | lpfc_hw4.h | 3994 uint32_t trailer; member 3997 #define lpfc_trailer_valid_WORD trailer 4000 #define lpfc_trailer_async_WORD trailer 4003 #define lpfc_trailer_hpi_WORD trailer 4006 #define lpfc_trailer_completed_WORD trailer 4009 #define lpfc_trailer_consumed_WORD trailer 4012 #define lpfc_trailer_type_WORD trailer 4015 #define lpfc_trailer_code_WORD trailer 4070 uint32_t trailer; member 4085 uint32_t trailer; member [all …]
|
| /Linux-v5.15/arch/s390/kernel/ |
| D | perf_cpum_cf.c | 175 struct cf_trailer_entry *trailer; in cfdiag_getctr() local 180 sz -= sizeof(*trailer); /* Always room for trailer */ in cfdiag_getctr() 190 trailer = data + offset; in cfdiag_getctr() 191 cfdiag_trailer(trailer); in cfdiag_getctr() 192 return offset + sizeof(*trailer); in cfdiag_getctr()
|
| /Linux-v5.15/drivers/scsi/sym53c8xx_2/ |
| D | sym_nvram.h | 116 u_char trailer[6]; /* 0xfe 0xfe 0x00 0x00 0x00 0x00 */ member
|