Home
last modified time | relevance | path

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

/linux-4.4.14/include/scsi/
Dfc_frame.h38 static inline u32 ntoh24(const u8 *p) in ntoh24() function
182 return ntoh24(__fc_frame_header_get(fp)->fh_s_id); in fc_frame_sid()
190 return ntoh24(__fc_frame_header_get(fp)->fh_d_id); in fc_frame_did()
Discsi_proto.h68 #define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2])) macro
/linux-4.4.14/drivers/scsi/libfc/
Dfc_exch.c484 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_send_locked()
972 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
973 ep->did = ntoh24(fh->fh_s_id); in fc_exch_resp()
984 if ((ntoh24(fh->fh_f_ctl) & FC_FC_SEQ_INIT) == 0) in fc_exch_resp()
1014 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_recip()
1142 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_orig()
1268 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_seq_send_ack()
1342 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_exch_send_ba_rjt()
1472 lport = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in fc_exch_recv_req()
1543 if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) { in fc_exch_recv_seq_resp()
[all …]
Dfc_disc.c134 "(%6.6x)\n", ntoh24(pp->rscn_fid)); in fc_disc_recv_rscn_req()
141 dp->port_id = ntoh24(pp->rscn_fid); in fc_disc_recv_rscn_req()
444 ids.port_id = ntoh24(np->fp_fid); in fc_disc_gpn_ft_parse()
Dfc_lport.c1944 (ntoh24(fh->fh_f_ctl) & (FC_FC_LAST_SEQ | FC_FC_END_SEQ)) == in fc_lport_bsg_resp()
2123 did = ntoh24(job->request->rqst_data.h_ct.port_id); in fc_lport_bsg_request()
2136 did = ntoh24(job->request->rqst_data.h_els.port_id); in fc_lport_bsg_request()
Dfc_rport.c1317 ntoh24(adisc->adisc_port_id) != rdata->ids.port_id || in fc_rport_adisc_resp()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_erl0.c79 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_within_command_recovery_check()
146 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_unsolicited_sequence()
222 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_sequence()
350 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_datasn()
401 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_pre_datapduinorder_yes()
462 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_pre_datapduinorder_no()
548 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_post_crc_passed()
658 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_post_crc_failed()
Discsi_target_nego.c192 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request()
719 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication()
778 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero()
865 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_one()
1029 payload_length = ntoh24(login_req->dlength); in iscsi_target_locate_portal()
Discsi_target.c831 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd()
1260 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_dataout_hdr()
1388 u32 payload_length = ntoh24(hdr->dlength); in iscsit_get_dataout()
1511 u32 payload_length = ntoh24(hdr->dlength); in iscsit_setup_nop_out()
1639 u32 payload_length = ntoh24(hdr->dlength); in iscsit_handle_nop_out()
1957 u32 payload_length = ntoh24(hdr->dlength); in iscsit_setup_text_cmd()
2059 u32 payload_length = ntoh24(hdr->dlength); in iscsit_handle_text_cmd()
Discsi_target_login.c1068 payload_length = ntoh24(login_req->dlength); in iscsit_get_login_rx()
Discsi_target_util.c334 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_unsolicited_dataout()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_io.c230 if (!(ntoh24(fh->fh_f_ctl) & FC_FC_REL_OFF)) in ft_recv_write_data()
233 f_ctl = ntoh24(fh->fh_f_ctl); in ft_recv_write_data()
Dtfc_cmd.c224 f_ctl = ntoh24(fh->fh_f_ctl); in ft_write_pending()
301 ntoh24(fh->fh_s_id), ntohs(fh->fh_ox_id), status, code); in ft_send_resp_status()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe_ctlr.c748 if (ntoh24(fh->fh_s_id)) in fcoe_ctlr_els_send()
756 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
761 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
794 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
795 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
970 fcf->fc_map = ntoh24(fab->fd_map); in fcoe_ctlr_parse_adv()
1400 ntoh24(vp->fd_fc_id)); in fcoe_ctlr_recv_clr_vlink()
1452 ntoh24(vp->fd_fc_id)); in fcoe_ctlr_recv_clr_vlink()
1662 ntoh24(fh->fh_d_id)); in fcoe_ctlr_flogi_send_locked()
2323 rdata->ids.port_id = ntoh24(vn->fd_fc_id); in fcoe_ctlr_vn_parse()
Dfcoe.c1482 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1498 if (ntoh24(fh->fh_f_ctl) & FC_FC_EX_CTX) in fcoe_rcv()
1758 ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in fcoe_filter_frames()
2800 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_elsct_send()
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_fc.c239 if ((port->d_id & range) == (ntoh24(page->rscn_fid) & range)) in _zfcp_fc_incoming_rscn()
341 ct_els->port->d_id = ntoh24(gid_pn_rsp->gid_pn.fp_fid); in zfcp_fc_ns_gid_pn_eval()
689 d_id = ntoh24(acc->fp_fid); in zfcp_fc_eval_gpn_ft()
952 d_id = ntoh24(job->request->rqst_data.h_els.port_id); in zfcp_fc_exec_els_job()
Dzfcp_dbf.c130 rec->u.uss.d_id = ntoh24(srb->d_id); in zfcp_dbf_hba_fsf_uss()
393 fsf->req_id, ntoh24(srb->d_id)); in zfcp_dbf_san_in_els()
Dzfcp_fsf.c98 int d_id = ntoh24(sr_buf->d_id); in zfcp_fsf_status_read_port_closed()
497 fc_host_port_id(shost) = ntoh24(bottom->s_id); in zfcp_fsf_exchange_config_evaluate()
505 adapter->peer_d_id = ntoh24(bottom->peer_d_id); in zfcp_fsf_exchange_config_evaluate()
/linux-4.4.14/drivers/infiniband/ulp/iser/
Diser_initiator.c454 data_seg_len = ntoh24(hdr->dlength); in iser_send_data_out()
520 data_seg_len = ntoh24(task->hdr->dlength); in iser_send_control()
Discsi_iser.c131 datalen = ntoh24(hdr->dlength); in iscsi_iser_recv()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c216 u32 f_ctl = ntoh24(fh->fh_f_ctl); in i40e_fcoe_fc_get_xid()
769 u32 f_ctl = ntoh24(fh->fh_f_ctl); in i40e_fcoe_handle_offload()
1155 f_ctl = ntoh24(fh->fh_f_ctl); in i40e_fcoe_handle_ddp()
/linux-4.4.14/drivers/scsi/
Discsi_tcp.c466 hdr_spec_len = ntoh24(tcp_sw_conn->out.hdr->dlength); in iscsi_sw_tcp_send_data_prep()
491 hdr_spec_len = ntoh24(tcp_sw_conn->out.hdr->dlength); in iscsi_sw_tcp_send_linear_data_prep()
Dlibiscsi_tcp.c652 tcp_conn->in.datalen = ntoh24(hdr->dlength); in iscsi_tcp_hdr_dissect()
Dlibiscsi.c1040 if (ntoh24(reject->dlength) > datalen || in iscsi_handle_reject()
1041 ntoh24(reject->dlength) < sizeof(struct iscsi_hdr)) { in iscsi_handle_reject()
1044 "%u, datalen %d\n", ntoh24(reject->dlength), in iscsi_handle_reject()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c299 tgt = bnx2fc_tgt_lookup(port, ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
303 "port_id = 0x%x\n", ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
544 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
563 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in bnx2fc_recv_frame()
Dbnx2fc_els.c912 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in bnx2fc_elsct_send()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c433 fctl = ntoh24(fh->fh_f_ctl); in ixgbe_fcoe_ddp()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_hwi.c349 login_wqe->data_length = ntoh24(login_hdr->dlength); in bnx2i_send_iscsi_login()
479 text_wqe->data_length = ntoh24(text_hdr->dlength); in bnx2i_send_iscsi_text()
/linux-4.4.14/drivers/infiniband/ulp/isert/
Dib_isert.c1354 u32 unsol_data_len = ntoh24(hdr->dlength); in isert_handle_iscsi_dataout()
1436 u32 payload_length = ntoh24(hdr->dlength); in isert_handle_text_cmd()