Home
last modified time | relevance | path

Searched refs:trailer (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v4.19/net/dsa/
Dtag_trailer.c22 u8 *trailer; in trailer_xmit() local
49 trailer = skb_put(nskb, 4); in trailer_xmit()
50 trailer[0] = 0x80; in trailer_xmit()
51 trailer[1] = 1 << dp->index; in trailer_xmit()
52 trailer[2] = 0x10; in trailer_xmit()
53 trailer[3] = 0x00; in trailer_xmit()
61 u8 *trailer; in trailer_rcv() local
67 trailer = skb_tail_pointer(skb) - 4; in trailer_rcv()
68 if (trailer[0] != 0x80 || (trailer[1] & 0xf8) != 0x00 || in trailer_rcv()
69 (trailer[2] & 0xef) != 0x00 || trailer[3] != 0x00) in trailer_rcv()
[all …]
/Linux-v4.19/drivers/net/usb/
Dnet1080.c355 struct nc_trailer *trailer; in net1080_rx_fixup() local
392 trailer = (struct nc_trailer *) in net1080_rx_fixup()
393 (skb->data + skb->len - sizeof *trailer); in net1080_rx_fixup()
394 skb_trim(skb, skb->len - sizeof *trailer); in net1080_rx_fixup()
411 if (header->packet_id != get_unaligned(&trailer->packet_id)) { in net1080_rx_fixup()
415 le16_to_cpu(trailer->packet_id)); in net1080_rx_fixup()
431 struct nc_trailer *trailer = NULL; in net1080_tx_fixup() local
475 if (!((skb->len + sizeof *trailer) & 0x01)) in net1080_tx_fixup()
477 trailer = skb_put(skb, sizeof *trailer); in net1080_tx_fixup()
478 put_unaligned(header->packet_id, &trailer->packet_id); in net1080_tx_fixup()
/Linux-v4.19/fs/ocfs2/
Ddir.c156 struct ocfs2_dir_block_trailer *trailer; in ocfs2_init_dir_trailer() local
158 trailer = ocfs2_trailer_from_bh(bh, inode->i_sb); in ocfs2_init_dir_trailer()
159 strcpy(trailer->db_signature, OCFS2_DIR_TRAILER_SIGNATURE); in ocfs2_init_dir_trailer()
160 trailer->db_compat_rec_len = in ocfs2_init_dir_trailer()
162 trailer->db_parent_dinode = cpu_to_le64(OCFS2_I(inode)->ip_blkno); in ocfs2_init_dir_trailer()
163 trailer->db_blkno = cpu_to_le64(bh->b_blocknr); in ocfs2_init_dir_trailer()
164 trailer->db_free_rec_len = cpu_to_le16(rec_len); in ocfs2_init_dir_trailer()
177 struct ocfs2_dir_block_trailer *trailer; in ocfs2_dx_dir_link_trailer() local
185 trailer = ocfs2_trailer_from_bh(dirdata_bh, dir->i_sb); in ocfs2_dx_dir_link_trailer()
188 trailer->db_free_next = dx_root->dr_free_blk; in ocfs2_dx_dir_link_trailer()
[all …]
/Linux-v4.19/net/ipv6/
Desp6.c243 struct sk_buff *trailer; in esp6_output_head() local
249 trailer = skb; in esp6_output_head()
250 tail = skb_tail_pointer(trailer); in esp6_output_head()
304 nfrags = skb_cow_data(skb, tailen, &trailer); in esp6_output_head()
307 tail = skb_tail_pointer(trailer); in esp6_output_head()
311 pskb_put(skb, trailer, tailen); in esp6_output_head()
607 struct sk_buff *trailer; in esp6_input() local
650 nfrags = skb_cow_data(skb, 0, &trailer); in esp6_input()
Dah6.c342 struct sk_buff *trailer; in ah6_output() local
358 err = skb_cow_data(skb, 0, &trailer); in ah6_output()
528 struct sk_buff *trailer; in ah6_input() local
570 err = skb_cow_data(skb, 0, &trailer); in ah6_input()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dhtc.c438 u8 *trailer; in ath10k_htc_rx_completion_handler() local
450 trailer = (u8 *)hdr; in ath10k_htc_rx_completion_handler()
451 trailer += sizeof(*hdr); in ath10k_htc_rx_completion_handler()
452 trailer += payload_len; in ath10k_htc_rx_completion_handler()
453 trailer -= trailer_len; in ath10k_htc_rx_completion_handler()
454 status = ath10k_htc_process_trailer(htc, trailer, in ath10k_htc_rx_completion_handler()
Dbmi.c427 u8 trailer[4] = {}; in ath10k_bmi_fast_download() local
442 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download()
449 ret = ath10k_bmi_lz_data(ar, trailer, 4); in ath10k_bmi_fast_download()
Dusb.c302 u8 *trailer; in ath10k_usb_rx_complete() local
326 trailer = skb->data + sizeof(*htc_hdr) + payload_len - in ath10k_usb_rx_complete()
330 trailer, in ath10k_usb_rx_complete()
Dhtc.h241 struct ath10k_htc_record trailer[0]; member
Dsdio.c396 u8 *trailer; in ath10k_sdio_mbox_rx_process_packet() local
403 trailer = skb->data + sizeof(*htc_hdr) + in ath10k_sdio_mbox_rx_process_packet()
409 trailer, in ath10k_sdio_mbox_rx_process_packet()
/Linux-v4.19/net/ipv4/
Desp4.c271 struct sk_buff *trailer; in esp_output_head() local
281 trailer = skb; in esp_output_head()
282 tail = skb_tail_pointer(trailer); in esp_output_head()
338 nfrags = skb_cow_data(skb, tailen, &trailer); in esp_output_head()
341 tail = skb_tail_pointer(trailer); in esp_output_head()
346 pskb_put(skb, trailer, tailen); in esp_output_head()
689 struct sk_buff *trailer; in esp_input() local
728 err = skb_cow_data(skb, 0, &trailer); in esp_input()
Dah4.c152 struct sk_buff *trailer; in ah_output() local
167 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_output()
310 struct sk_buff *trailer; in ah_input() local
354 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_input()
/Linux-v4.19/fs/cifs/
Drfc1002pdu.h58 } __attribute__((packed)) trailer; member
Dconnect.c3367 ses_init_buf->trailer.session_req.called_len = 32; in ip_rfc1001_connect()
3370 rfc1002mangle(ses_init_buf->trailer. in ip_rfc1001_connect()
3375 rfc1002mangle(ses_init_buf->trailer. in ip_rfc1001_connect()
3380 ses_init_buf->trailer.session_req.calling_len = 32; in ip_rfc1001_connect()
3387 rfc1002mangle(ses_init_buf->trailer. in ip_rfc1001_connect()
3392 rfc1002mangle(ses_init_buf->trailer. in ip_rfc1001_connect()
3397 ses_init_buf->trailer.session_req.scope1 = 0; in ip_rfc1001_connect()
3398 ses_init_buf->trailer.session_req.scope2 = 0; in ip_rfc1001_connect()
/Linux-v4.19/drivers/usb/atm/
Dusbatm.c486 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-v4.19/tools/vm/
Dslabinfo.c236 char trailer = 0; in store_size() local
242 trailer = 'G'; in store_size()
245 trailer = 'M'; in store_size()
248 trailer = 'K'; in store_size()
254 if (trailer) { in store_size()
255 buffer[n] = trailer; in store_size()
/Linux-v4.19/net/rxrpc/
Drxkad.c194 struct sk_buff *trailer; in rxkad_secure_packet_encrypt() local
221 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_secure_packet_encrypt()
326 struct sk_buff *trailer; in rxkad_verify_packet_1() local
343 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_verify_packet_1()
413 struct sk_buff *trailer; in rxkad_verify_packet_2() local
430 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_verify_packet_2()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_hw4.h3884 uint32_t trailer; member
3887 #define lpfc_trailer_valid_WORD trailer
3890 #define lpfc_trailer_async_WORD trailer
3893 #define lpfc_trailer_hpi_WORD trailer
3896 #define lpfc_trailer_completed_WORD trailer
3899 #define lpfc_trailer_consumed_WORD trailer
3902 #define lpfc_trailer_type_WORD trailer
3905 #define lpfc_trailer_code_WORD trailer
3959 uint32_t trailer; member
3974 uint32_t trailer; member
[all …]
/Linux-v4.19/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h129 u_char trailer[6]; /* 0xfe 0xfe 0x00 0x00 0x00 0x00 */ member
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1582 struct bnxt_ucode_trailer *trailer; in bnxt_flash_microcode() local
1592 trailer = (struct bnxt_ucode_trailer *)(fw_data + (fw_size - in bnxt_flash_microcode()
1593 sizeof(*trailer))); in bnxt_flash_microcode()
1594 if (trailer->sig != cpu_to_le32(BNXT_UCODE_TRAILER_SIGNATURE)) { in bnxt_flash_microcode()
1596 le32_to_cpu(trailer->sig)); in bnxt_flash_microcode()
1599 if (le16_to_cpu(trailer->dir_type) != dir_type) { in bnxt_flash_microcode()
1601 dir_type, le16_to_cpu(trailer->dir_type)); in bnxt_flash_microcode()
1604 if (le16_to_cpu(trailer->trailer_length) < in bnxt_flash_microcode()
1607 le16_to_cpu(trailer->trailer_length)); in bnxt_flash_microcode()
/Linux-v4.19/drivers/media/pci/meye/
Dmeye.c610 int pt_start, pt_end, trailer; in mchip_comp_read_frame() local
616 trailer = (v >> 1) & 0x3FF; in mchip_comp_read_frame()
620 pt_end * PAGE_SIZE + trailer * 4; in mchip_comp_read_frame()
622 fsize = (pt_end - pt_start) * PAGE_SIZE + trailer * 4; in mchip_comp_read_frame()
/Linux-v4.19/drivers/atm/
Diphase.c1306 struct cpcs_trailer *trailer; local
1328 trailer = (struct cpcs_trailer*)((u_char *)skb->data +
1329 skb->len - sizeof(*trailer));
1330 length = swap_byte_order(trailer->length);
2906 struct cpcs_trailer *trailer; local
2991 trailer = iadev->tx_buf[desc-1].cpcs;
2994 trailer->control = 0;
2996 trailer->length = ((skb->len & 0xff) << 8) | ((skb->len & 0xff00) >> 8);
2997 trailer->crc32 = 0; /* not needed - dummy bytes */
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c949 u8 *netdata, *trailer, hdr_info; in ath6kl_htc_pipe_rx_complete() local
1013 trailer = (u8 *) htc_hdr + HTC_HDR_LENGTH + in ath6kl_htc_pipe_rx_complete()
1015 status = htc_process_trailer(target, trailer, hdr_info, in ath6kl_htc_pipe_rx_complete()
/Linux-v4.19/arch/s390/kernel/
Dperf_cpum_sf.c166 unsigned long sdb, *trailer; in alloc_sample_data_block() local
172 trailer = trailer_entry_ptr(sdb); in alloc_sample_data_block()
173 *trailer = SDB_TE_ALERT_REQ_MASK; in alloc_sample_data_block()
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_cmds.h188 struct be_async_event_trailer trailer; member
198 u32 trailer; member

12