Searched refs:fr_len (Results 1 – 13 of 13) sorted by relevance
/drivers/scsi/libfc/ |
D | fc_libfc.c | 166 fill = -fr_len(fp) & 3; in fc_fill_hdr() 174 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */ in fc_fill_hdr()
|
D | fc_frame.c | 31 len = (fr_len(fp) + 3) & ~3; /* round up length to include fill */ in fc_frame_crc_check()
|
D | fc_disc.c | 518 len = fr_len(fp) - sizeof(*fh); in fc_disc_gpn_ft_resp() 524 fr_len(fp)); in fc_disc_gpn_ft_resp() 595 if (fr_len(fp) < sizeof(struct fc_frame_header) + in fc_disc_gpn_id_resp()
|
D | fc_fcp.c | 498 len = fr_len(fp) - sizeof(*fh); in fc_fcp_recv_data() 694 fr_len(fp) += sg_bytes; in fc_fcp_send_data() 837 WARN_ON(fr_len(fp) < sizeof(*fh)); /* len may be 0 */ in fc_fcp_recv() 870 plen = fr_len(fp); in fc_fcp_resp() 974 "snsl %u\n", flags, fr_len(fp), respl, snsl); in fc_fcp_resp()
|
D | fc_exch.c | 285 fill = fr_len(fp) & 3; in fc_exch_setup_hdr() 293 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */ in fc_exch_setup_hdr() 491 sp->cnt += DIV_ROUND_UP((fr_len(fp) - sizeof(*fh)), in fc_seq_send_locked() 2636 skb_trim(fp_skb(fp), fr_len(fp) - FC_FC_FILL(f_ctl)); in fc_exch_recv()
|
D | fc_rport.c | 1987 len = fr_len(rx_fp) - sizeof(struct fc_frame_header); in fc_rport_recv_prli_req() 2101 len = fr_len(rx_fp) - sizeof(struct fc_frame_header); in fc_rport_recv_prlo_req()
|
D | fc_lport.c | 432 len = fr_len(in_fp) - sizeof(struct fc_frame_header); in fc_lport_recv_echo_req() 1977 len = fr_len(fp) - sizeof(*fh); in fc_lport_bsg_resp()
|
/drivers/target/tcm_fc/ |
D | tfc_io.c | 136 fr_len(fp) += tlen; in ft_queue_data_in() 261 frame_len = fr_len(fp); in ft_recv_write_data()
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 1487 WARN_ON((fr_len(fp) % sizeof(u32)) != 0); in fcoe_xmit() 1656 u32 fr_len; in fcoe_recv_frame() local 1700 fr_len = skb->len - sizeof(struct fcoe_crc_eof); in fcoe_recv_frame() 1703 stats->RxWords += fr_len / FCOE_WORD_TO_BYTE; in fcoe_recv_frame() 1711 if (skb_copy_bits(skb, fr_len, &crc_eof, sizeof(crc_eof))) in fcoe_recv_frame() 1715 if (pskb_trim(skb, fr_len)) in fcoe_recv_frame()
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 509 u32 fr_len, fr_crc; in bnx2fc_recv_frame() local 541 fr_len = skb->len - sizeof(struct fcoe_crc_eof); in bnx2fc_recv_frame() 545 stats->RxWords += fr_len / FCOE_WORD_TO_BYTE; in bnx2fc_recv_frame() 552 if (skb_copy_bits(skb, fr_len, &crc_eof, sizeof(crc_eof))) { in bnx2fc_recv_frame() 558 if (pskb_trim(skb, fr_len)) { in bnx2fc_recv_frame() 632 if (unlikely(fr_crc != ~crc32(~0, skb->data, fr_len))) { in bnx2fc_recv_frame()
|
/drivers/net/wireless/ath/wcn36xx/ |
D | dxe.h | 408 u32 fr_len; member
|
D | dxe.c | 791 desc_bd->fr_len = sizeof(struct wcn36xx_tx_bd); in wcn36xx_dxe_tx_frame() 813 desc_skb->fr_len = ctl_skb->skb->len; in wcn36xx_dxe_tx_frame()
|
/drivers/scsi/qedf/ |
D | qedf_main.c | 2463 u32 fr_len; in qedf_recv_frame() local 2491 fr_len = skb->len - sizeof(struct fcoe_crc_eof); in qedf_recv_frame() 2497 if (skb_copy_bits(skb, fr_len, &crc_eof, sizeof(crc_eof))) { in qedf_recv_frame() 2504 if (pskb_trim(skb, fr_len)) { in qedf_recv_frame()
|