/linux-4.1.27/include/scsi/ |
D | fc_frame.h | 38 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()
|
D | iscsi_proto.h | 68 #define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2])) macro
|
/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_exch.c | 484 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 …]
|
D | fc_disc.c | 134 "(%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()
|
D | fc_lport.c | 1944 (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()
|
D | fc_rport.c | 1317 ntoh24(adisc->adisc_port_id) != rdata->ids.port_id || in fc_rport_adisc_resp()
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_erl0.c | 79 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()
|
D | iscsi_target_nego.c | 192 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request() 724 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication() 783 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero() 870 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_one() 1034 payload_length = ntoh24(login_req->dlength); in iscsi_target_locate_portal()
|
D | iscsi_target.c | 839 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd() 1267 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_dataout_hdr() 1395 u32 payload_length = ntoh24(hdr->dlength); in iscsit_get_dataout() 1518 u32 payload_length = ntoh24(hdr->dlength); in iscsit_setup_nop_out() 1646 u32 payload_length = ntoh24(hdr->dlength); in iscsit_handle_nop_out() 1964 u32 payload_length = ntoh24(hdr->dlength); in iscsit_setup_text_cmd() 2066 u32 payload_length = ntoh24(hdr->dlength); in iscsit_handle_text_cmd()
|
D | iscsi_target_login.c | 1126 payload_length = ntoh24(login_req->dlength); in iscsit_get_login_rx()
|
D | iscsi_target_util.c | 334 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_unsolicited_dataout()
|
/linux-4.1.27/drivers/target/tcm_fc/ |
D | tfc_io.c | 236 if (!(ntoh24(fh->fh_f_ctl) & FC_FC_REL_OFF)) in ft_recv_write_data() 239 f_ctl = ntoh24(fh->fh_f_ctl); in ft_recv_write_data()
|
D | tfc_cmd.c | 230 f_ctl = ntoh24(fh->fh_f_ctl); in ft_write_pending() 316 ntoh24(fh->fh_s_id), ntohs(fh->fh_ox_id), status, code); in ft_send_resp_status()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 748 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()
|
D | fcoe.c | 1483 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv() 1499 if (ntoh24(fh->fh_f_ctl) & FC_FC_EX_CTX) in fcoe_rcv() 1759 ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in fcoe_filter_frames() 2802 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_elsct_send()
|
/linux-4.1.27/drivers/s390/scsi/ |
D | zfcp_fc.c | 239 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()
|
D | zfcp_dbf.c | 130 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()
|
D | zfcp_fsf.c | 98 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.1.27/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 461 data_seg_len = ntoh24(hdr->dlength); in iser_send_data_out() 527 data_seg_len = ntoh24(task->hdr->dlength); in iser_send_control()
|
D | iscsi_iser.c | 124 datalen = ntoh24(hdr->dlength); in iscsi_iser_recv()
|
D | iser_memory.c | 558 ntoh24(iser_task->desc.iscsi_header.dlength)); in iser_reg_rdma_mem_fmr()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_fcoe.c | 213 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.1.27/drivers/scsi/ |
D | iscsi_tcp.c | 466 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()
|
D | libiscsi_tcp.c | 652 tcp_conn->in.datalen = ntoh24(hdr->dlength); in iscsi_tcp_hdr_dissect()
|
D | libiscsi.c | 1040 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.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 299 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()
|
D | bnx2fc_els.c | 912 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in bnx2fc_elsct_send()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.c | 433 fctl = ntoh24(fh->fh_f_ctl); in ixgbe_fcoe_ddp()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 349 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.1.27/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1365 u32 unsol_data_len = ntoh24(hdr->dlength); in isert_handle_iscsi_dataout() 1438 u32 payload_length = ntoh24(hdr->dlength); in isert_handle_text_cmd()
|