Home
last modified time | relevance | path

Searched refs:trailer (Results 1 - 25 of 93) sorted by relevance

1234

/kernel/linux/linux-5.10/net/dsa/
H A Dtag_trailer.c16 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()
30 u8 *trailer; in trailer_rcv() local
36 trailer = skb_tail_pointer(skb) - 4; in trailer_rcv()
37 if (trailer[0] != 0x80 || (trailer[ in trailer_rcv()
[all...]
/kernel/linux/linux-6.6/net/dsa/
H A Dtag_trailer.c13 #define TRAILER_NAME "trailer"
18 u8 *trailer; in trailer_xmit() local
20 trailer = skb_put(skb, 4); in trailer_xmit()
21 trailer[0] = 0x80; in trailer_xmit()
22 trailer[1] = 1 << dp->index; in trailer_xmit()
23 trailer[2] = 0x10; in trailer_xmit()
24 trailer[3] = 0x00; in trailer_xmit()
31 u8 *trailer; in trailer_rcv() local
37 trailer = skb_tail_pointer(skb) - 4; in trailer_rcv()
38 if (trailer[ in trailer_rcv()
[all...]
H A Dtag_xrs700x.c17 u8 *trailer; in xrs700x_xmit() local
19 trailer = skb_put(skb, 1); in xrs700x_xmit()
20 trailer[0] = BIT(dp->index); in xrs700x_xmit()
25 trailer[0] |= BIT(partner->index); in xrs700x_xmit()
33 u8 *trailer; in xrs700x_rcv() local
35 trailer = skb_tail_pointer(skb) - 1; in xrs700x_rcv()
37 source_port = ffs((int)trailer[0]) - 1; in xrs700x_rcv()
/kernel/linux/linux-5.10/net/hsr/
H A Dhsr_forward.c148 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()
285 struct prp_rct *trailer = skb_get_PRP_rct(frame->skb_prp); in prp_create_tagged_frame() local
287 if (trailer) { in prp_create_tagged_frame()
[all...]
/kernel/linux/linux-6.6/net/hsr/
H A Dhsr_forward.c190 static void prp_set_lan_id(struct prp_rct *trailer, in prp_set_lan_id() argument
202 set_prp_lan_id(trailer, lane_id); in prp_set_lan_id()
210 struct prp_rct *trailer; in prp_fill_rct() local
223 trailer = (struct prp_rct *)skb_put(skb, HSR_HLEN); in prp_fill_rct()
227 prp_set_lan_id(trailer, port); in prp_fill_rct()
228 set_prp_LSDU_size(trailer, lsdu_size); in prp_fill_rct()
229 trailer->sequence_nr = htons(frame->sequence_nr); in prp_fill_rct()
230 trailer->PRP_suffix = htons(ETH_P_PRP); in prp_fill_rct()
329 struct prp_rct *trailer = skb_get_PRP_rct(frame->skb_prp); in prp_create_tagged_frame() local
331 if (trailer) { in prp_create_tagged_frame()
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dnet1080.c342 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
461 /* maybe pad; then trailer */ in net1080_tx_fixup()
462 if (!((skb->len + sizeof *trailer) & 0x01)) in net1080_tx_fixup()
464 trailer in net1080_tx_fixup()
[all...]
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dnet1080.c342 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
461 /* maybe pad; then trailer */ in net1080_tx_fixup()
462 if (!((skb->len + sizeof *trailer) & 0x01)) in net1080_tx_fixup()
464 trailer in net1080_tx_fixup()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
H A Dmtk_wed_mcu.c252 const struct mtk_wed_fw_trailer *trailer; in mtk_wed_mcu_run_firmware() local
255 trailer_ptr = fw->data + fw->size - sizeof(*trailer); in mtk_wed_mcu_run_firmware()
256 trailer = (const struct mtk_wed_fw_trailer *)trailer_ptr; in mtk_wed_mcu_run_firmware()
257 region_ptr = trailer_ptr - trailer->num_region * sizeof(*fw_region); in mtk_wed_mcu_run_firmware()
306 const struct mtk_wed_fw_trailer *trailer; in mtk_wed_mcu_load_firmware() local
338 trailer = (void *)(fw->data + fw->size - in mtk_wed_mcu_load_firmware()
342 trailer->fw_ver, trailer->build_date); in mtk_wed_mcu_load_firmware()
344 trailer->chip_id, trailer in mtk_wed_mcu_load_firmware()
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A Ddir.c138 struct ocfs2_dir_block_trailer *trailer; in ocfs2_init_dir_trailer() local
140 trailer = ocfs2_trailer_from_bh(bh, inode->i_sb); in ocfs2_init_dir_trailer()
141 strcpy(trailer->db_signature, OCFS2_DIR_TRAILER_SIGNATURE); in ocfs2_init_dir_trailer()
142 trailer->db_compat_rec_len = in ocfs2_init_dir_trailer()
144 trailer->db_parent_dinode = cpu_to_le64(OCFS2_I(inode)->ip_blkno); in ocfs2_init_dir_trailer()
145 trailer->db_blkno = cpu_to_le64(bh->b_blocknr); in ocfs2_init_dir_trailer()
146 trailer->db_free_rec_len = cpu_to_le16(rec_len); in ocfs2_init_dir_trailer()
149 * Link an unindexed block with a dir trailer structure into the index free
159 struct ocfs2_dir_block_trailer *trailer; in ocfs2_dx_dir_link_trailer() local
167 trailer in ocfs2_dx_dir_link_trailer()
430 struct ocfs2_dir_block_trailer *trailer = ocfs2_validate_dir_block() local
468 struct ocfs2_dir_block_trailer *trailer; ocfs2_check_dir_trailer() local
1195 char *trailer, *de_buf, *limit, *start = dirblock_bh->b_data; ocfs2_find_max_rec_len() local
1245 struct ocfs2_dir_block_trailer *trailer; ocfs2_delete_entry_dx() local
1532 struct ocfs2_dir_block_trailer *trailer, *prev; ocfs2_remove_block_from_free_list() local
1563 struct ocfs2_dir_block_trailer *trailer; ocfs2_recalc_free_list() local
2308 struct ocfs2_dir_block_trailer *trailer = ocfs2_dx_dir_attach_index() local
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Ddir.c136 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()
147 * Link an unindexed block with a dir trailer structure into the index free
157 struct ocfs2_dir_block_trailer *trailer; in ocfs2_dx_dir_link_trailer() local
165 trailer in ocfs2_dx_dir_link_trailer()
422 struct ocfs2_dir_block_trailer *trailer = ocfs2_validate_dir_block() local
460 struct ocfs2_dir_block_trailer *trailer; ocfs2_check_dir_trailer() local
1187 char *trailer, *de_buf, *limit, *start = dirblock_bh->b_data; ocfs2_find_max_rec_len() local
1237 struct ocfs2_dir_block_trailer *trailer; ocfs2_delete_entry_dx() local
1524 struct ocfs2_dir_block_trailer *trailer, *prev; ocfs2_remove_block_from_free_list() local
1555 struct ocfs2_dir_block_trailer *trailer; ocfs2_recalc_free_list() local
2297 struct ocfs2_dir_block_trailer *trailer = ocfs2_dx_dir_attach_index() local
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dperf_cpum_cf_diag.c49 * All counter sets are followed by a 64 byte trailer.
50 * The trailer consists of a:
71 struct cf_trailer_entry { /* CPU-M CF_DIAG trailer (64 byte) */
106 /* Create the trailer data at the end of a page. */
336 * trailer data. This is independend of the counter set authorization which
400 * The last 64 byte host an artificial trailer entry.
404 struct cf_trailer_entry *trailer; in cf_diag_getctr() local
409 sz -= sizeof(*trailer); /* Always room for trailer */ in cf_diag_getctr()
422 trailer in cf_diag_getctr()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dhtc.c226 /* multiple records may be present in a trailer */ in ath11k_htc_process_trailer()
273 /* get flags to check for trailer */ in ath11k_htc_rx_completion_handler()
278 u8 *trailer; in ath11k_htc_rx_completion_handler() local
285 ath11k_warn(ab, "Invalid trailer length: %d\n", in ath11k_htc_rx_completion_handler()
290 trailer = (u8 *)hdr; in ath11k_htc_rx_completion_handler()
291 trailer += sizeof(*hdr); in ath11k_htc_rx_completion_handler()
292 trailer += payload_len; in ath11k_htc_rx_completion_handler()
293 trailer -= trailer_len; in ath11k_htc_rx_completion_handler()
294 status = ath11k_htc_process_trailer(htc, trailer, in ath11k_htc_rx_completion_handler()
303 /* zero length packet with trailer dat in ath11k_htc_rx_completion_handler()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dhtc.c227 /* multiple records may be present in a trailer */ in ath12k_htc_process_trailer()
286 /* get flags to check for trailer */ in ath12k_htc_rx_completion_handler()
291 u8 *trailer; in ath12k_htc_rx_completion_handler() local
299 ath12k_warn(ab, "Invalid trailer length: %d\n", in ath12k_htc_rx_completion_handler()
304 trailer = (u8 *)hdr; in ath12k_htc_rx_completion_handler()
305 trailer += sizeof(*hdr); in ath12k_htc_rx_completion_handler()
306 trailer += payload_len; in ath12k_htc_rx_completion_handler()
307 trailer -= trailer_len; in ath12k_htc_rx_completion_handler()
308 status = ath12k_htc_process_trailer(htc, trailer, in ath12k_htc_rx_completion_handler()
317 /* zero length packet with trailer dat in ath12k_htc_rx_completion_handler()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c248 eseg->trailer |= cpu_to_be32(MLX5_ETH_WQE_INSERT_TRAILER); in mlx5e_ipsec_tx_build_eseg()
251 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
255 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
/kernel/linux/linux-5.10/drivers/net/wireguard/
H A Dsend.c167 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()
/kernel/linux/linux-6.6/drivers/net/wireguard/
H A Dsend.c167 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()
/kernel/linux/linux-5.10/fs/cifs/
H A Drfc1002pdu.h55 /* POSITIVE_SESSION_RESPONSE packet does not include trailer.
56 SESSION_KEEP_ALIVE packet also does not include a trailer.
58 } __attribute__((packed)) trailer; member
/kernel/linux/linux-6.6/fs/smb/client/
H A Drfc1002pdu.h42 /* POSITIVE_SESSION_RESPONSE packet does not include trailer.
43 SESSION_KEEP_ALIVE packet also does not include a trailer.
45 } __attribute__((packed)) trailer; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dhtc.c234 /* multiple records may be present in a trailer */ in ath11k_htc_process_trailer()
323 /* get flags to check for trailer */ in ath11k_htc_rx_completion_handler()
331 u8 *trailer; in ath11k_htc_rx_completion_handler() local
338 ath11k_warn(ab, "Invalid trailer length: %d\n", in ath11k_htc_rx_completion_handler()
343 trailer = (u8 *)hdr; in ath11k_htc_rx_completion_handler()
344 trailer += sizeof(*hdr); in ath11k_htc_rx_completion_handler()
345 trailer += payload_len; in ath11k_htc_rx_completion_handler()
346 trailer -= trailer_len; in ath11k_htc_rx_completion_handler()
347 status = ath11k_htc_process_trailer(htc, trailer, in ath11k_htc_rx_completion_handler()
356 /* zero length packet with trailer dat in ath11k_htc_rx_completion_handler()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Desp4.c449 struct sk_buff *trailer; in esp_output_head() local
467 trailer = skb; in esp_output_head()
468 tail = skb_tail_pointer(trailer); in esp_output_head()
520 nfrags = skb_cow_data(skb, tailen, &trailer); in esp_output_head()
523 tail = skb_tail_pointer(trailer); in esp_output_head()
528 pskb_put(skb, trailer, tailen); in esp_output_head()
891 struct sk_buff *trailer; in esp_input() local
930 err = skb_cow_data(skb, 0, &trailer); in esp_input()
/kernel/linux/linux-5.10/net/ipv6/
H A Desp6.c484 struct sk_buff *trailer; in esp6_output_head() local
501 trailer = skb; in esp6_output_head()
502 tail = skb_tail_pointer(trailer); in esp6_output_head()
554 nfrags = skb_cow_data(skb, tailen, &trailer); in esp6_output_head()
557 tail = skb_tail_pointer(trailer); in esp6_output_head()
562 pskb_put(skb, trailer, tailen); in esp6_output_head()
932 struct sk_buff *trailer; in esp6_input() local
975 nfrags = skb_cow_data(skb, 0, &trailer); in esp6_input()
/kernel/linux/linux-6.6/net/ipv4/
H A Desp4.c448 struct sk_buff *trailer; in esp_output_head() local
466 trailer = skb; in esp_output_head()
467 tail = skb_tail_pointer(trailer); in esp_output_head()
517 nfrags = skb_cow_data(skb, tailen, &trailer); in esp_output_head()
520 tail = skb_tail_pointer(trailer); in esp_output_head()
525 pskb_put(skb, trailer, tailen); in esp_output_head()
882 struct sk_buff *trailer; in esp_input() local
921 err = skb_cow_data(skb, 0, &trailer); in esp_input()
/kernel/linux/linux-6.6/net/ipv6/
H A Desp6.c484 struct sk_buff *trailer; in esp6_output_head() local
501 trailer = skb; in esp6_output_head()
502 tail = skb_tail_pointer(trailer); in esp6_output_head()
554 nfrags = skb_cow_data(skb, tailen, &trailer); in esp6_output_head()
557 tail = skb_tail_pointer(trailer); in esp6_output_head()
562 pskb_put(skb, trailer, tailen); in esp6_output_head()
926 struct sk_buff *trailer; in esp6_input() local
969 nfrags = skb_cow_data(skb, 0, &trailer); in esp6_input()
/kernel/linux/linux-5.10/arch/s390/boot/compressed/
H A Dvmlinux.lds.S98 . += SB_TRAILER_SIZE; /* make sure .sb.trailer does not overwrite the previous section */
100 .sb.trailer : {
/kernel/linux/linux-6.6/arch/s390/boot/
H A Dvmlinux.lds.S111 . += SB_TRAILER_SIZE; /* make sure .sb.trailer does not overwrite the previous section */
113 .sb.trailer : {

Completed in 23 milliseconds

1234