Home
last modified time | relevance | path

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

/linux-2.6.39/include/scsi/
Dfc_frame.h38 static inline u32 ntoh24(const u8 *p) in ntoh24() function
183 return ntoh24(__fc_frame_header_get(fp)->fh_s_id); in fc_frame_sid()
191 return ntoh24(__fc_frame_header_get(fp)->fh_d_id); in fc_frame_did()
Discsi_proto.h38 #define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2])) macro
/linux-2.6.39/drivers/scsi/libfc/
Dfc_exch.c477 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_send()
857 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
858 ep->did = ntoh24(fh->fh_s_id); in fc_exch_resp()
869 if ((ntoh24(fh->fh_f_ctl) & FC_FC_SEQ_INIT) == 0) in fc_exch_resp()
899 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_recip()
1003 f_ctl = ntoh24(fh->fh_f_ctl); in fc_seq_lookup_orig()
1129 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_seq_send_ack()
1203 f_ctl = ntoh24(rx_fh->fh_f_ctl); in fc_exch_send_ba_rjt()
1329 lport = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in fc_exch_recv_req()
1404 if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) { in fc_exch_recv_seq_resp()
[all …]
Dfc_disc.c133 "(%6.6x)\n", ntoh24(pp->rscn_fid)); in fc_disc_recv_rscn_req()
140 dp->port_id = ntoh24(pp->rscn_fid); in fc_disc_recv_rscn_req()
435 ids.port_id = ntoh24(np->fp_fid); in fc_disc_gpn_ft_parse()
Dfc_lport.c1693 (ntoh24(fh->fh_f_ctl) & (FC_FC_LAST_SEQ | FC_FC_END_SEQ)) == in fc_lport_bsg_resp()
1872 did = ntoh24(job->request->rqst_data.h_ct.port_id); in fc_lport_bsg_request()
1885 did = ntoh24(job->request->rqst_data.h_els.port_id); in fc_lport_bsg_request()
Dfc_rport.c1294 ntoh24(adisc->adisc_port_id) != rdata->ids.port_id || in fc_rport_adisc_resp()
/linux-2.6.39/drivers/scsi/fcoe/
Dfcoe_ctlr.c636 if (ntoh24(fh->fh_s_id)) in fcoe_ctlr_els_send()
644 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
649 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
682 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
683 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
845 fcf->fc_map = ntoh24(fab->fd_map); in fcoe_ctlr_parse_adv()
1227 ntoh24(vp->fd_fc_id) == lport->port_id) { in fcoe_ctlr_recv_clr_vlink()
1238 (ntoh24(vp->fd_fc_id) == in fcoe_ctlr_recv_clr_vlink()
1461 ntoh24(fh->fh_d_id)); in fcoe_ctlr_flogi_send_locked()
2111 rdata->ids.port_id = ntoh24(vn->fd_fc_id); in fcoe_ctlr_vn_parse()
Dfcoe.c1276 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1292 if (ntoh24(fh->fh_f_ctl) & FC_FC_EX_CTX) in fcoe_rcv()
1544 ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in fcoe_filter_frames()
2402 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_elsct_send()
/linux-2.6.39/drivers/s390/scsi/
Dzfcp_fc.c175 if ((port->d_id & range) == (ntoh24(page->rscn_fid) & range)) in _zfcp_fc_incoming_rscn()
277 ct_els->port->d_id = ntoh24(gid_pn_rsp->gid_pn.fp_fid); in zfcp_fc_ns_gid_pn_eval()
625 d_id = ntoh24(acc->fp_fid); in zfcp_fc_eval_gpn_ft()
885 d_id = ntoh24(job->request->rqst_data.h_els.port_id); in zfcp_fc_exec_els_job()
Dzfcp_dbf.c122 rec->u.uss.d_id = ntoh24(srb->d_id); in zfcp_dbf_hba_fsf_uss()
329 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()
458 fc_host_port_id(shost) = ntoh24(bottom->s_id); in zfcp_fsf_exchange_config_evaluate()
472 adapter->peer_d_id = ntoh24(bottom->peer_d_id); in zfcp_fsf_exchange_config_evaluate()
/linux-2.6.39/drivers/infiniband/ulp/iser/
Diser_initiator.c340 data_seg_len = ntoh24(hdr->dlength); in iser_send_data_out()
404 data_seg_len = ntoh24(task->hdr->dlength); in iser_send_control()
Diser_memory.c411 ntoh24(iser_task->desc.iscsi_header.dlength)); in iser_reg_rdma_mem()
Discsi_iser.c103 datalen = ntoh24(hdr->dlength); in iscsi_iser_recv()
/linux-2.6.39/drivers/scsi/
Discsi_tcp.c433 hdr_spec_len = ntoh24(tcp_sw_conn->out.hdr->dlength); in iscsi_sw_tcp_send_data_prep()
458 hdr_spec_len = ntoh24(tcp_sw_conn->out.hdr->dlength); in iscsi_sw_tcp_send_linear_data_prep()
Dlibiscsi_tcp.c645 tcp_conn->in.datalen = ntoh24(hdr->dlength); in iscsi_tcp_hdr_dissect()
Dlibiscsi.c1016 if (ntoh24(reject->dlength) > datalen || in iscsi_handle_reject()
1017 ntoh24(reject->dlength) < sizeof(struct iscsi_hdr)) { in iscsi_handle_reject()
1020 "%u, datalen %d\n", ntoh24(reject->dlength), in iscsi_handle_reject()
/linux-2.6.39/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c268 tgt = bnx2fc_tgt_lookup(port, ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
272 "port_id = 0x%x\n", ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
511 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
533 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in bnx2fc_recv_frame()
Dbnx2fc_els.c509 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in bnx2fc_elsct_send()
/linux-2.6.39/drivers/net/ixgbe/
Dixgbe_fcoe.c405 fctl = ntoh24(fh->fh_f_ctl); in ixgbe_fcoe_ddp()
/linux-2.6.39/drivers/scsi/bnx2i/
Dbnx2i_hwi.c341 login_wqe->data_length = ntoh24(login_hdr->dlength); in bnx2i_send_iscsi_login()
471 text_wqe->data_length = ntoh24(text_hdr->dlength); in bnx2i_send_iscsi_text()