Searched refs:fr_len (Results 1 – 14 of 14) sorted by relevance
/linux-6.3-rc2/include/scsi/ |
A D | fc_frame.h | 52 #define fr_len(fp) ((fp)->skb.len) macro 161 WARN_ON(fr_len(fp) < sizeof(struct fc_frame_header)); in fc_frame_header_get() 196 if (fr_len(fp) >= sizeof(struct fc_frame_header) + len) in fc_frame_payload_get()
|
/linux-6.3-rc2/drivers/scsi/libfc/ |
A 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()
|
A D | fc_frame.c | 31 len = (fr_len(fp) + 3) & ~3; /* round up length to include fill */ in fc_frame_crc_check()
|
A D | fc_disc.c | 515 len = fr_len(fp) - sizeof(*fh); in fc_disc_gpn_ft_resp() 521 fr_len(fp)); in fc_disc_gpn_ft_resp() 592 if (fr_len(fp) < sizeof(struct fc_frame_header) + in fc_disc_gpn_id_resp()
|
A D | fc_fcp.c | 485 len = fr_len(fp) - sizeof(*fh); in fc_fcp_recv_data() 679 fr_len(fp) += sg_bytes; in fc_fcp_send_data() 822 WARN_ON(fr_len(fp) < sizeof(*fh)); /* len may be 0 */ in fc_fcp_recv() 855 plen = fr_len(fp); in fc_fcp_resp() 959 "snsl %u\n", flags, fr_len(fp), respl, snsl); in fc_fcp_resp()
|
A 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() 2635 skb_trim(fp_skb(fp), fr_len(fp) - FC_FC_FILL(f_ctl)); in fc_exch_recv()
|
A D | fc_lport.c | 426 len = fr_len(in_fp) - sizeof(struct fc_frame_header); in fc_lport_recv_echo_req() 1971 len = fr_len(fp) - sizeof(*fh); in fc_lport_bsg_resp()
|
A 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()
|
/linux-6.3-rc2/drivers/target/tcm_fc/ |
A 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()
|
/linux-6.3-rc2/drivers/scsi/fcoe/ |
A D | fcoe.c | 1487 WARN_ON((fr_len(fp) % sizeof(u32)) != 0); in fcoe_xmit() 1649 u32 fr_len; in fcoe_recv_frame() local 1694 fr_len = skb->len - sizeof(struct fcoe_crc_eof); in fcoe_recv_frame() 1697 this_cpu_add(lport->stats->RxWords, fr_len / FCOE_WORD_TO_BYTE); in fcoe_recv_frame() 1705 if (skb_copy_bits(skb, fr_len, &crc_eof, sizeof(crc_eof))) in fcoe_recv_frame() 1709 if (pskb_trim(skb, fr_len)) in fcoe_recv_frame()
|
/linux-6.3-rc2/drivers/scsi/bnx2fc/ |
A D | bnx2fc_fcoe.c | 509 u32 fr_len, fr_crc; in bnx2fc_recv_frame() local 540 fr_len = skb->len - sizeof(struct fcoe_crc_eof); in bnx2fc_recv_frame() 543 this_cpu_add(lport->stats->RxWords, fr_len / FCOE_WORD_TO_BYTE); in bnx2fc_recv_frame() 549 if (skb_copy_bits(skb, fr_len, &crc_eof, sizeof(crc_eof))) { in bnx2fc_recv_frame() 555 if (pskb_trim(skb, fr_len)) { in bnx2fc_recv_frame() 629 if (unlikely(fr_crc != ~crc32(~0, skb->data, fr_len))) { in bnx2fc_recv_frame()
|
/linux-6.3-rc2/drivers/net/wireless/ath/wcn36xx/ |
A D | dxe.h | 408 u32 fr_len; member
|
A 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()
|
/linux-6.3-rc2/drivers/scsi/qedf/ |
A D | qedf_main.c | 2462 u32 fr_len; in qedf_recv_frame() local 2490 fr_len = skb->len - sizeof(struct fcoe_crc_eof); in qedf_recv_frame() 2496 if (skb_copy_bits(skb, fr_len, &crc_eof, sizeof(crc_eof))) { in qedf_recv_frame() 2503 if (pskb_trim(skb, fr_len)) { in qedf_recv_frame()
|
Completed in 42 milliseconds