Home
last modified time | relevance | path

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

/linux-4.1.27/net/dsa/
Dtag_trailer.c21 u8 *trailer; in trailer_xmit() local
54 trailer = skb_put(nskb, 4); in trailer_xmit()
55 trailer[0] = 0x80; in trailer_xmit()
56 trailer[1] = 1 << p->port; in trailer_xmit()
57 trailer[2] = 0x10; in trailer_xmit()
58 trailer[3] = 0x00; in trailer_xmit()
71 u8 *trailer; in trailer_rcv() local
85 trailer = skb_tail_pointer(skb) - 4; in trailer_rcv()
86 if (trailer[0] != 0x80 || (trailer[1] & 0xf8) != 0x00 || in trailer_rcv()
87 (trailer[3] & 0xef) != 0x00 || trailer[3] != 0x00) in trailer_rcv()
[all …]
/linux-4.1.27/drivers/net/usb/
Dnet1080.c364 struct nc_trailer *trailer; in net1080_rx_fixup() local
401 trailer = (struct nc_trailer *) in net1080_rx_fixup()
402 (skb->data + skb->len - sizeof *trailer); in net1080_rx_fixup()
403 skb_trim(skb, skb->len - sizeof *trailer); in net1080_rx_fixup()
420 if (header->packet_id != get_unaligned(&trailer->packet_id)) { in net1080_rx_fixup()
424 le16_to_cpu(trailer->packet_id)); in net1080_rx_fixup()
440 struct nc_trailer *trailer = NULL; in net1080_tx_fixup() local
484 if (!((skb->len + sizeof *trailer) & 0x01)) in net1080_tx_fixup()
486 trailer = (struct nc_trailer *) skb_put(skb, sizeof *trailer); in net1080_tx_fixup()
487 put_unaligned(header->packet_id, &trailer->packet_id); in net1080_tx_fixup()
/linux-4.1.27/arch/s390/oprofile/
Dhwsampler.c248 unsigned long *trailer; in allocate_sdbt() local
294 trailer = trailer_entry_ptr(*sdbt); in allocate_sdbt()
295 *trailer = SDB_TE_ALERT_REQ_MASK; in allocate_sdbt()
765 unsigned long *trailer; in worker_on_interrupt() local
769 trailer = trailer_entry_ptr(*sdbt); in worker_on_interrupt()
771 if (!(*trailer & SDB_TE_BUFFER_FULL_MASK)) { in worker_on_interrupt()
777 te = (struct hws_trailer_entry *)trailer; in worker_on_interrupt()
799 unsigned long *trailer; in add_samples_to_oprofile() local
801 trailer = trailer_entry_ptr(*sdbt); in add_samples_to_oprofile()
803 if (dear > trailer) in add_samples_to_oprofile()
[all …]
/linux-4.1.27/fs/ocfs2/
Ddir.c155 struct ocfs2_dir_block_trailer *trailer; in ocfs2_init_dir_trailer() local
157 trailer = ocfs2_trailer_from_bh(bh, inode->i_sb); in ocfs2_init_dir_trailer()
158 strcpy(trailer->db_signature, OCFS2_DIR_TRAILER_SIGNATURE); in ocfs2_init_dir_trailer()
159 trailer->db_compat_rec_len = in ocfs2_init_dir_trailer()
161 trailer->db_parent_dinode = cpu_to_le64(OCFS2_I(inode)->ip_blkno); in ocfs2_init_dir_trailer()
162 trailer->db_blkno = cpu_to_le64(bh->b_blocknr); in ocfs2_init_dir_trailer()
163 trailer->db_free_rec_len = cpu_to_le16(rec_len); in ocfs2_init_dir_trailer()
176 struct ocfs2_dir_block_trailer *trailer; in ocfs2_dx_dir_link_trailer() local
184 trailer = ocfs2_trailer_from_bh(dirdata_bh, dir->i_sb); in ocfs2_dx_dir_link_trailer()
187 trailer->db_free_next = dx_root->dr_free_blk; in ocfs2_dx_dir_link_trailer()
[all …]
Djournal.c553 struct ocfs2_dir_block_trailer *trailer = in ocfs2_db_frozen_trigger() local
562 ocfs2_block_check_compute(data, size, &trailer->db_check); in ocfs2_db_frozen_trigger()
/linux-4.1.27/net/ipv6/
Desp6.c152 struct sk_buff *trailer; in esp6_output() local
184 err = skb_cow_data(skb, tfclen + plen + alen, &trailer); in esp6_output()
212 tail = skb_tail_pointer(trailer); in esp6_output()
224 pskb_put(skb, trailer, clen - skb->len + alen); in esp6_output()
326 struct sk_buff *trailer; in esp6_input() local
349 nfrags = skb_cow_data(skb, 0, &trailer); in esp6_input()
Dah6.c340 struct sk_buff *trailer; in ah6_output() local
356 err = skb_cow_data(skb, 0, &trailer); in ah6_output()
521 struct sk_buff *trailer; in ah6_input() local
563 err = skb_cow_data(skb, 0, &trailer); in ah6_input()
/linux-4.1.27/net/ipv4/
Desp4.c124 struct sk_buff *trailer; in esp_output() local
157 err = skb_cow_data(skb, tfclen + plen + alen, &trailer); in esp_output()
185 tail = skb_tail_pointer(trailer); in esp_output()
197 pskb_put(skb, trailer, clen - skb->len + alen); in esp_output()
377 struct sk_buff *trailer; in esp_input() local
396 err = skb_cow_data(skb, 0, &trailer); in esp_input()
Dah4.c151 struct sk_buff *trailer; in ah_output() local
166 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_output()
304 struct sk_buff *trailer; in ah_input() local
348 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_input()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dbmi.c284 u8 trailer[4] = {}; in ath10k_bmi_fast_download() local
299 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download()
306 ret = ath10k_bmi_lz_data(ar, trailer, 4); in ath10k_bmi_fast_download()
Dhtc.c386 u8 *trailer; in ath10k_htc_rx_completion_handler() local
399 trailer = (u8 *)hdr; in ath10k_htc_rx_completion_handler()
400 trailer += sizeof(*hdr); in ath10k_htc_rx_completion_handler()
401 trailer += payload_len; in ath10k_htc_rx_completion_handler()
402 trailer -= trailer_len; in ath10k_htc_rx_completion_handler()
403 status = ath10k_htc_process_trailer(htc, trailer, in ath10k_htc_rx_completion_handler()
Dhtc.h214 struct ath10k_htc_record trailer[0]; member
/linux-4.1.27/fs/cifs/
Drfc1002pdu.h58 } __attribute__((packed)) trailer; member
Dconnect.c2899 ses_init_buf->trailer.session_req.called_len = 32; in ip_rfc1001_connect()
2903 rfc1002mangle(ses_init_buf->trailer. in ip_rfc1001_connect()
2908 rfc1002mangle(ses_init_buf->trailer. in ip_rfc1001_connect()
2913 ses_init_buf->trailer.session_req.calling_len = 32; in ip_rfc1001_connect()
2920 rfc1002mangle(ses_init_buf->trailer. in ip_rfc1001_connect()
2925 rfc1002mangle(ses_init_buf->trailer. in ip_rfc1001_connect()
2930 ses_init_buf->trailer.session_req.scope1 = 0; in ip_rfc1001_connect()
2931 ses_init_buf->trailer.session_req.scope2 = 0; in ip_rfc1001_connect()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_hw4.h3048 uint32_t trailer; member
3051 #define lpfc_trailer_valid_WORD trailer
3054 #define lpfc_trailer_async_WORD trailer
3057 #define lpfc_trailer_hpi_WORD trailer
3060 #define lpfc_trailer_completed_WORD trailer
3063 #define lpfc_trailer_consumed_WORD trailer
3066 #define lpfc_trailer_type_WORD trailer
3069 #define lpfc_trailer_code_WORD trailer
3121 uint32_t trailer; member
3136 uint32_t trailer; member
[all …]
Dlpfc_sli.c4814 mboxq->mcqe.trailer); in lpfc_sli4_read_fcoe_params()
7524 mboxq->mcqe.trailer); in lpfc_sli4_post_sync_mbox()
11635 mcqe->mcqe_tag0, mcqe->mcqe_tag1, mcqe->trailer); in lpfc_sli4_sp_handle_async_event()
/linux-4.1.27/drivers/usb/atm/
Dusbatm.c500 u8 *trailer = target + ATM_CELL_SIZE - ATM_AAL5_TRAILER; in usbatm_write_cells() local
503 trailer[2] = ctrl->len >> 8; in usbatm_write_cells()
504 trailer[3] = ctrl->len; in usbatm_write_cells()
508 trailer[4] = ctrl->crc >> 24; in usbatm_write_cells()
509 trailer[5] = ctrl->crc >> 16; in usbatm_write_cells()
510 trailer[6] = ctrl->crc >> 8; in usbatm_write_cells()
511 trailer[7] = ctrl->crc; in usbatm_write_cells()
/linux-4.1.27/net/rxrpc/
Drxkad.c209 struct sk_buff *trailer; in rxkad_secure_packet_encrypt() local
235 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_secure_packet_encrypt()
336 struct sk_buff *trailer; in rxkad_verify_packet_auth() local
346 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_verify_packet_auth()
411 struct sk_buff *trailer; in rxkad_verify_packet_encrypt() local
421 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_verify_packet_encrypt()
/linux-4.1.27/tools/vm/
Dslabinfo.c225 char trailer = 0; in store_size() local
230 trailer = 'G'; in store_size()
233 trailer = 'M'; in store_size()
236 trailer = 'K'; in store_size()
241 if (trailer) { in store_size()
242 buffer[n] = trailer; in store_size()
/linux-4.1.27/drivers/media/rc/
Dredrat3.c346 unsigned i, trailer = 0; in redrat3_process_ir_data() local
381 trailer = rawir.duration; in redrat3_process_ir_data()
394 if (trailer < US_TO_NS(1000)) in redrat3_process_ir_data()
397 rawir.duration = trailer; in redrat3_process_ir_data()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h129 u_char trailer[6]; /* 0xfe 0xfe 0x00 0x00 0x00 0x00 */ member
Dsym_nvram.c524 memcmp(nvram->trailer, Symbios_trailer, 6) || in sym_read_Symbios_nvram()
/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_cmds.c271 bool is_link_state_evt(u32 trailer) in is_link_state_evt() argument
273 return (((trailer >> ASYNC_TRAILER_EVENT_CODE_SHIFT) & in is_link_state_evt()
278 static bool is_iscsi_evt(u32 trailer) in is_iscsi_evt() argument
280 return ((trailer >> ASYNC_TRAILER_EVENT_CODE_SHIFT) & in is_iscsi_evt()
285 static int iscsi_evt_type(u32 trailer) in iscsi_evt_type() argument
287 return (trailer >> ASYNC_TRAILER_EVENT_TYPE_SHIFT) & in iscsi_evt_type()
Dbe_cmds.h153 struct be_async_event_trailer trailer; member
769 bool is_link_state_evt(u32 trailer);
/linux-4.1.27/arch/s390/kernel/
Dperf_cpum_sf.c158 unsigned long sdb, *trailer; in alloc_sample_data_block() local
164 trailer = trailer_entry_ptr(sdb); in alloc_sample_data_block()
165 *trailer = SDB_TE_ALERT_REQ_MASK; in alloc_sample_data_block()
Dhead.S187 bz .Lagain1 # skip dateset trailer
/linux-4.1.27/drivers/media/pci/meye/
Dmeye.c618 int pt_start, pt_end, trailer; in mchip_comp_read_frame() local
624 trailer = (v >> 1) & 0x3FF; in mchip_comp_read_frame()
628 pt_end * PAGE_SIZE + trailer * 4; in mchip_comp_read_frame()
630 fsize = (pt_end - pt_start) * PAGE_SIZE + trailer * 4; in mchip_comp_read_frame()
/linux-4.1.27/drivers/atm/
Diphase.c1305 struct cpcs_trailer *trailer; local
1327 trailer = (struct cpcs_trailer*)((u_char *)skb->data +
1328 skb->len - sizeof(*trailer));
1329 length = swap_byte_order(trailer->length);
2900 struct cpcs_trailer *trailer; local
2985 trailer = iadev->tx_buf[desc-1].cpcs;
2988 trailer->control = 0;
2990 trailer->length = ((skb->len & 0xff) << 8) | ((skb->len & 0xff00) >> 8);
2991 trailer->crc32 = 0; /* not needed - dummy bytes */
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c956 u8 *netdata, *trailer, hdr_info; in ath6kl_htc_pipe_rx_complete() local
1020 trailer = (u8 *) htc_hdr + HTC_HDR_LENGTH + in ath6kl_htc_pipe_rx_complete()
1022 status = htc_process_trailer(target, trailer, hdr_info, in ath6kl_htc_pipe_rx_complete()
/linux-4.1.27/Documentation/
Dxz.txt49 dictionary. It will also append a four-byte trailer containing the
/linux-4.1.27/Documentation/scsi/
Dsym53c8xx_2.txt796 trailer - 6 bytes
813 64 01 - byte count (lsb/msb excludes header/trailer)
814 8e 0b - checksum (lsb/msb excludes header/trailer)
919 trailer
Dncr53c8xx.txt1549 trailer - 6 bytes
1566 64 01 - byte count (lsb/msb excludes header/trailer)
1567 8e 0b - checksum (lsb/msb excludes header/trailer)
1672 trailer
Dst.txt238 returns -1 and errno is set to ENOSPC. To enable writing a trailer,
/linux-4.1.27/drivers/net/ethernet/via/
Dvia-rhine.c1943 u8 *trailer = (u8 *)skb->data + ((data_size + 3) & ~3) + 2; in rhine_get_vlan_tci() local
1944 return be16_to_cpup((__be16 *)trailer); in rhine_get_vlan_tci()
/linux-4.1.27/net/core/
Dskbuff.c3473 int skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer) in skb_cow_data() argument
3499 *trailer = skb; in skb_cow_data()
3558 *trailer = skb1; in skb_cow_data()
/linux-4.1.27/include/linux/
Dskbuff.h854 int skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer);