Home
last modified time | relevance | path

Searched refs:ntoh24 (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/include/scsi/
Dfc_frame.h26 static inline u32 ntoh24(const u8 *p) in ntoh24() function
170 return ntoh24(__fc_frame_header_get(fp)->fh_s_id); in fc_frame_sid()
178 return ntoh24(__fc_frame_header_get(fp)->fh_d_id); in fc_frame_did()
Discsi_proto.h57 #define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2])) macro
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_erl0.c71 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_within_command_recovery_check()
138 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_unsolicited_sequence()
214 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_sequence()
342 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_datasn()
393 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_pre_datapduinorder_yes()
454 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_pre_datapduinorder_no()
540 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_post_crc_passed()
650 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_post_crc_failed()
Discsi_target_nego.c176 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request()
779 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication()
838 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero()
926 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_one()
1084 payload_length = ntoh24(login_req->dlength); in iscsi_target_locate_portal()
Discsi_target.c1005 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd()
1556 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_dataout_hdr()
1595 ntoh24(hdr->dlength)); in iscsit_get_dataout()
1717 u32 payload_length = ntoh24(hdr->dlength); in iscsit_setup_nop_out()
1849 u32 payload_length = ntoh24(hdr->dlength); in iscsit_handle_nop_out()
2154 u32 payload_length = ntoh24(hdr->dlength); in iscsit_setup_text_cmd()
2255 u32 payload_length = ntoh24(hdr->dlength); in iscsit_handle_text_cmd()
/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_exch.c482 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_send_locked()
1009 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
1010 ep->did = ntoh24(fh->fh_s_id); in fc_exch_resp()
1021 if ((ntoh24(fh->fh_f_ctl) & FC_FC_SEQ_INIT) == 0) in fc_exch_resp()
1051 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_recip()
1179 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_orig()
1308 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_seq_send_ack()
1387 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_exch_send_ba_rjt()
1522 lport = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in fc_exch_recv_req()
1593 if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) { in fc_exch_recv_seq_resp()
[all …]
Dfc_disc.c121 "(%6.6x)\n", ntoh24(pp->rscn_fid)); in fc_disc_recv_rscn_req()
128 dp->port_id = ntoh24(pp->rscn_fid); in fc_disc_recv_rscn_req()
431 ids.port_id = ntoh24(np->fp_fid); in fc_disc_gpn_ft_parse()
Dfc_lport.c1917 (ntoh24(fh->fh_f_ctl) & (FC_FC_LAST_SEQ | FC_FC_END_SEQ)) == in fc_lport_bsg_resp()
2094 did = ntoh24(bsg_request->rqst_data.h_ct.port_id); in fc_lport_bsg_request()
2112 did = ntoh24(bsg_request->rqst_data.h_els.port_id); in fc_lport_bsg_request()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_main.c1088 if (base_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1095 if (tmp_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1101 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit()
1105 "Dropping FCoE frame to %06x.\n", ntoh24(fh->fh_d_id)); in qedf_xmit()
1107 rdata = fc_rport_lookup(lport, ntoh24(fh->fh_d_id)); in qedf_xmit()
1139 fcport = qedf_fcport_lookup(qedf, ntoh24(fh->fh_d_id)); in qedf_xmit()
1229 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, fh->fh_type, in qedf_xmit()
2521 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in qedf_recv_frame()
2536 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in qedf_recv_frame()
2553 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in qedf_recv_frame()
[all …]
Dqedf_fip.c261 ntoh24(vp->fd_fc_id), vp->fd_mac, in qedf_fip_recv()
268 (ntoh24(vp->fd_fc_id) == in qedf_fip_recv()
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
Dtfc_io.c217 if (!(ntoh24(fh->fh_f_ctl) & FC_FC_REL_OFF)) in ft_recv_write_data()
220 f_ctl = ntoh24(fh->fh_f_ctl); in ft_recv_write_data()
Dtfc_cmd.c207 f_ctl = ntoh24(fh->fh_f_ctl); in ft_write_pending()
284 ntoh24(fh->fh_s_id), ntohs(fh->fh_ox_id), status, code); in ft_send_resp_status()
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_fc.c251 if ((port->d_id & range) == (ntoh24(page->rscn_fid) & range)) in _zfcp_fc_incoming_rscn()
367 ct_els->port->d_id = ntoh24(gid_pn_rsp->gid_pn.fp_fid); in zfcp_fc_ns_gid_pn_eval()
536 port->d_id = ntoh24(adisc_resp->adisc_port_id); in zfcp_fc_adisc_handler()
770 d_id = ntoh24(acc->fp_fid); in zfcp_fc_eval_gpn_ft()
1039 d_id = ntoh24(bsg_request->rqst_data.h_els.port_id); in zfcp_fc_exec_els_job()
Dzfcp_dbf.c178 rec->u.uss.d_id = ntoh24(srb->d_id); in zfcp_dbf_hba_fsf_uss()
643 fsf->req_id, ntoh24(srb->d_id), length); in zfcp_dbf_san_in_els()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe_ctlr.c743 if (ntoh24(fh->fh_s_id)) in fcoe_ctlr_els_send()
751 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
756 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
789 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
790 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
796 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
967 fcf->fc_map = ntoh24(fab->fd_map); in fcoe_ctlr_parse_adv()
1427 ntoh24(vp->fd_fc_id)); in fcoe_ctlr_recv_clr_vlink()
1479 ntoh24(vp->fd_fc_id)); in fcoe_ctlr_recv_clr_vlink()
1696 ntoh24(fh->fh_d_id)); in fcoe_ctlr_flogi_send_locked()
[all …]
Dfcoe.c1389 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1405 if (ntoh24(fh->fh_f_ctl) & FC_FC_EX_CTX) in fcoe_rcv()
1633 ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in fcoe_filter_frames()
2641 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_elsct_send()
/kernel/linux/linux-5.10/scripts/coccinelle/tests/
Dunsigned_lesser_than_zero.cocci40 …ap_sg|dma_map_sg_attrs|fls|fls64|gameport_time|get_write_extents|nla_len|ntoh24|of_flat_dt_match|o…
/kernel/linux/linux-5.10/net/smc/
Dsmc.h276 static inline u32 ntoh24(u8 *net) in ntoh24() function
Daf_smc.c515 link->peer_qpn = ntoh24(clc->r0.qpn); in smc_link_save_peer_info()
518 link->peer_psn = ntoh24(clc->r0.psn); in smc_link_save_peer_info()
753 ini->ib_clcqpn = ntoh24(aclc->r0.qpn); in smc_connect_rdma()
773 if (l->peer_qpn == ntoh24(aclc->r0.qpn) && in smc_connect_rdma()
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c318 tgt = bnx2fc_tgt_lookup(port, ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
322 "port_id = 0x%x\n", ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
570 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in bnx2fc_recv_frame()
577 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
604 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in bnx2fc_recv_frame()
624 if (lport->port_id != ntoh24(fh->fh_d_id) && !vn_port) { in bnx2fc_recv_frame()
626 lport->port_id, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_fw.c1042 login_req_pdu_header.hdr_second_dword = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login()
1058 tx_sgl_task_params.total_buffer_size = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login()
1075 task_params.tx_io_size = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login()
1519 tmf_pdu_header.hdr_second_dword = ntoh24(tmf_hdr->dlength); in qedi_send_iscsi_tmf()
1641 text_request_pdu_header.hdr_second_dword = ntoh24(text_hdr->dlength); in qedi_send_iscsi_text()
1667 task_params.tx_io_size = ntoh24(text_hdr->dlength); in qedi_send_iscsi_text()
2100 cmd_pdu_header.hdr_second_dword = ntoh24(hdr->dlength); in qedi_iscsi_send_ioreq()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Diser_initiator.c452 data_seg_len = ntoh24(hdr->dlength); in iser_send_data_out()
517 data_seg_len = ntoh24(task->hdr->dlength); in iser_send_control()
Discsi_iser.c131 datalen = ntoh24(hdr->dlength); in iscsi_iser_recv()
/kernel/linux/linux-5.10/drivers/scsi/
Discsi_tcp.c471 hdr_spec_len = ntoh24(tcp_sw_conn->out.hdr->dlength); in iscsi_sw_tcp_send_data_prep()
496 hdr_spec_len = ntoh24(tcp_sw_conn->out.hdr->dlength); in iscsi_sw_tcp_send_linear_data_prep()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c410 fctl = ntoh24(fh->fh_f_ctl); in ixgbe_fcoe_ddp()

12