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

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

Completed in 1095 milliseconds